Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.6 MB / 307.5 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 191.9 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 0.6367 GB, free: 8.613 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008075/0.0008074, allocations: 89.22 kB / 0.751 GB, free: 62.81 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 12 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7858/1.07, allocations: 139.6 MB / 1.125 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.07, allocations: 74.64 kB / 1.125 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01128/1.082, allocations: 4.325 MB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.615e-06/1.082, allocations: 0 / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.082, allocations: 0 / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003793/1.082, allocations: 374.7 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.082, allocations: 12.02 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/1.082, allocations: 13.94 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.663e-05/1.082, allocations: 170.8 kB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/1.082, allocations: 4 kB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/1.082, allocations: 0 / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/1.083, allocations: 59.73 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.083, allocations: 0 / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/1.083, allocations: 0 / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/1.083, allocations: 0 / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/1.083, allocations: 54.12 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/1.083, allocations: 267.2 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/1.083, allocations: 42.38 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/1.084, allocations: 463.8 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/1.084, allocations: 34.56 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.084, allocations: 0 / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003413/1.084, allocations: 110.3 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/1.084, allocations: 51.41 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/1.084, allocations: 97.94 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/1.084, allocations: 25.7 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/1.084, allocations: 84.14 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/1.084, allocations: 15.97 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/1.084, allocations: 0 / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/1.084, allocations: 322.2 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/1.085, allocations: 15.42 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/1.085, allocations: 30.8 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/1.085, allocations: 19.42 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.085, allocations: 0 / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001772/1.085, allocations: 80.64 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.085, allocations: 4 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.085, allocations: 4 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.085, allocations: 3.938 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/1.085, allocations: 12.14 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.085, allocations: 0 / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/1.085, allocations: 12.36 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/1.085, allocations: 4.031 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/1.085, allocations: 113.7 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/1.085, allocations: 4 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/1.085, allocations: 86.92 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.085, allocations: 4.031 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.085, allocations: 0.875 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/1.085, allocations: 0 / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/1.086, allocations: 164.7 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.086, allocations: 0.8438 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/1.086, allocations: 19.41 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.086, allocations: 1.359 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/1.086, allocations: 0.9375 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.086, allocations: 0 / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.086, allocations: 4 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/1.086, allocations: 166.1 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/1.086, allocations: 84.72 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/1.086, allocations: 8.031 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/1.086, allocations: 9.875 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/1.086, allocations: 3.469 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/1.086, allocations: 0 / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.475e-05/1.086, allocations: 84.16 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.086, allocations: 0 / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002118/1.086, allocations: 23.42 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/1.086, allocations: 115.2 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001974/1.087, allocations: 50.34 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.087, allocations: 0 / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/1.087, allocations: 27.62 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/1.087, allocations: 8.359 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/1.087, allocations: 113.2 kB / 1.132 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/1.087, allocations: 0.6767 MB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.602e-05/1.087, allocations: 8.062 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/1.087, allocations: 7.438 kB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.087, allocations: 0 / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of Templates: time 0.002466/1.09, allocations: 0.6015 MB / 1.134 GB, free: 27.38 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)