Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 91.14 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002525/0.002526, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6753/0.6753, allocations: 95.64 MB / 366 MB, free: 10.31 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007056/0.0007061, allocations: 24 kB / 446.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4635, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002018/0.4656, allocations: 1.122 MB / 0.5062 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008144/0.4664, allocations: 327.7 kB / 0.5065 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.4665, allocations: 0 / 0.5065 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.4665, allocations: 0 / 0.5065 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.4666, allocations: 0 / 0.5065 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.4671, allocations: 79.66 kB / 0.5066 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.165e-05/0.4672, allocations: 27.92 kB / 0.5066 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.471e-05/0.4673, allocations: 4 kB / 0.5066 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.4674, allocations: 7.984 kB / 0.5066 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.4674, allocations: 11.94 kB / 0.5066 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.4674, allocations: 0 / 0.5066 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.4678, allocations: 227.7 kB / 0.5068 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.4679, allocations: 8 kB / 0.5068 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.4679, allocations: 25.7 kB / 0.5069 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.4681, allocations: 67.89 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4681, allocations: 0 / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4681, allocations: 4 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.4681, allocations: 3.938 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB 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.0004501/0.4686, allocations: 373.1 kB / 0.5073 GB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4686, allocations: 11.98 kB / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.4687, allocations: 7.906 kB / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.4688, allocations: 163.1 kB / 0.5075 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4689, allocations: 0 / 0.5075 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.4689, allocations: 8 kB / 0.5075 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.4691, allocations: 57.62 kB / 0.5075 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4691, allocations: 0 / 0.5075 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4691, allocations: 3.938 kB / 0.5075 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4691, allocations: 0 / 0.5075 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.4694, allocations: 47.95 kB / 0.5076 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.4697, allocations: 260.9 kB / 0.5078 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.4699, allocations: 42.56 kB / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.47, allocations: 24.91 kB / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006522/0.4707, allocations: 465.5 kB / 0.5083 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.4707, allocations: 30.56 kB / 0.5084 GB, free: 12.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.4707, allocations: 4 kB / 0.5084 GB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.00045/0.4712, allocations: 101.6 kB / 0.5085 GB, free: 12.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.4712, allocations: 51.41 kB / 0.5085 GB, free: 12.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.464e-05/0.4713, allocations: 101.9 kB / 0.5086 GB, free: 12.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.4713, allocations: 25.7 kB / 0.5086 GB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.4713, allocations: 92.12 kB / 0.5087 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.4714, allocations: 4.031 kB / 0.5087 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.4714, allocations: 4 kB / 0.5087 GB, free: 12.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.4714, allocations: 310.8 kB / 0.509 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.4716, allocations: 23.98 kB / 0.509 GB, free: 12.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.828e-05/0.4717, allocations: 19.97 kB / 0.5091 GB, free: 12.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.622e-05/0.4718, allocations: 28.05 kB / 0.5091 GB, free: 12.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4718, allocations: 0 / 0.5091 GB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002646/0.4721, allocations: 93.45 kB / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4721, allocations: 4 kB / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4721, allocations: 0 / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4721, allocations: 0 / 0.5092 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4722, allocations: 8.25 kB / 0.5092 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4722, allocations: 0 / 0.5092 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.4723, allocations: 15.98 kB / 0.5092 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.4723, allocations: 0 / 0.5092 GB, free: 11.93 MB / 382.1 MB 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 6.803e-05/0.4724, allocations: 117.9 kB / 0.5093 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.4725, allocations: 3.953 kB / 0.5093 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.4728, allocations: 89.12 kB / 0.5094 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4728, allocations: 4.031 kB / 0.5094 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4728, allocations: 3.938 kB / 0.5094 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4728, allocations: 7.938 kB / 0.5094 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.473, allocations: 161.5 kB / 0.5096 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.473, allocations: 0 / 0.5096 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.4731, allocations: 11.98 kB / 0.5096 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4731, allocations: 3.953 kB / 0.5096 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.4731, allocations: 0 / 0.5096 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4731, allocations: 4 kB / 0.5096 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4731, allocations: 0 / 0.5096 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.4734, allocations: 179.4 kB / 0.5098 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.4735, allocations: 81.11 kB / 0.5098 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.4735, allocations: 7.969 kB / 0.5098 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.4736, allocations: 8 kB / 0.5099 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.4737, allocations: 7.984 kB / 0.5099 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.4737, allocations: 0 / 0.5099 GB, free: 11.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.206e-05/0.4737, allocations: 83.28 kB / 0.5099 GB, free: 11.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4737, allocations: 0 / 0.5099 GB, free: 11.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.4741, allocations: 16 kB / 0.51 GB, free: 11.05 MB / 382.1 MB 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.0001711/0.4743, allocations: 115.2 kB / 0.5101 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.4745, allocations: 43.97 kB / 0.5101 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4746, allocations: 0 / 0.5101 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4747, allocations: 28.05 kB / 0.5101 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.4751, allocations: 6.172 kB / 0.5101 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.4754, allocations: 108.7 kB / 0.5102 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4755, allocations: 0.677 MB / 0.5109 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.142e-05/0.4756, allocations: 0 / 0.5109 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.4756, allocations: 19.38 kB / 0.5109 GB, free: 9.996 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4756, allocations: 4 kB / 0.5109 GB, free: 9.992 MB / 382.1 MB Notification: Performance of Templates: time 0.003503/0.4791, allocations: 0.6169 MB / 0.5115 GB, free: 9.375 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: