Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009686/0.0009688, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009681/0.0009682, allocations: 191.9 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 251.7 MB / 0.5088 GB, free: 3.285 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.91 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.37, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002392/0.3724, allocations: 1.507 MB / 0.7253 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006248/0.373, allocations: 419.5 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.3731, allocations: 0 / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.3731, allocations: 0 / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.25e-05/0.3731, allocations: 3.938 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.3734, allocations: 71.84 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.618e-05/0.3735, allocations: 27.92 kB / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.266e-05/0.3735, allocations: 0 / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.3736, allocations: 15.94 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.991e-05/0.3736, allocations: 15.92 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.3736, allocations: 4 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.3739, allocations: 271.6 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.374, allocations: 4 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.374, allocations: 11.92 kB / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.3741, allocations: 103.8 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3742, allocations: 0 / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3742, allocations: 0 / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.3742, allocations: 0 / 0.7262 GB, free: 10.71 MB / 0.545 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.0004117/0.3746, allocations: 369.4 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.3746, allocations: 8.031 kB / 0.7265 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.3747, allocations: 4.938 kB / 0.7265 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.3748, allocations: 172.3 kB / 0.7267 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.3748, allocations: 384 / 0.7267 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.3748, allocations: 4.375 kB / 0.7267 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.375, allocations: 54.17 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.375, allocations: 4.172 kB / 0.7268 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.375, allocations: 7.938 kB / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.375, allocations: 0 / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.3752, allocations: 31.97 kB / 0.7268 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.3754, allocations: 248.9 kB / 0.727 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3756, allocations: 46.44 kB / 0.7271 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.3756, allocations: 28.89 kB / 0.7271 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.3762, allocations: 457.5 kB / 0.7276 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3763, allocations: 38.5 kB / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3763, allocations: 0 / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003191/0.3766, allocations: 81.64 kB / 0.7277 GB, free: 8.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.3766, allocations: 51.41 kB / 0.7277 GB, free: 8.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.678e-05/0.3767, allocations: 106 kB / 0.7278 GB, free: 8.754 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.3767, allocations: 29.7 kB / 0.7278 GB, free: 8.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.3768, allocations: 80.14 kB / 0.7279 GB, free: 8.637 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.3768, allocations: 15.84 kB / 0.7279 GB, free: 8.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.3768, allocations: 13.66 kB / 0.728 GB, free: 8.602 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.3769, allocations: 318.8 kB / 0.7283 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.377, allocations: 15.98 kB / 0.7283 GB, free: 8.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.3771, allocations: 15.98 kB / 0.7283 GB, free: 8.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3772, allocations: 44.81 kB / 0.7283 GB, free: 8.203 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3772, allocations: 0 / 0.7283 GB, free: 8.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001831/0.3774, allocations: 65.61 kB / 0.7284 GB, free: 8.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.3774, allocations: 8 kB / 0.7284 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3774, allocations: 3.984 kB / 0.7284 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.3774, allocations: 4.094 kB / 0.7284 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.3775, allocations: 4 kB / 0.7284 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.3775, allocations: 3.938 kB / 0.7284 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.3776, allocations: 8.234 kB / 0.7284 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3776, allocations: 8 kB / 0.7284 GB, free: 8.094 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/0.3777, allocations: 113.8 kB / 0.7285 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3777, allocations: 3.906 kB / 0.7285 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.3779, allocations: 73.19 kB / 0.7286 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3779, allocations: 3.984 kB / 0.7286 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3779, allocations: 4 kB / 0.7286 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3779, allocations: 0 / 0.7286 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3781, allocations: 165.6 kB / 0.7288 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3781, allocations: 0 / 0.7288 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.3781, allocations: 11.98 kB / 0.7288 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3781, allocations: 0 / 0.7288 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.3781, allocations: 0 / 0.7288 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3781, allocations: 4.031 kB / 0.7288 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3782, allocations: 3.938 kB / 0.7288 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.3784, allocations: 163.5 kB / 0.729 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.3784, allocations: 85.05 kB / 0.729 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.3784, allocations: 0 / 0.729 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.3785, allocations: 12.02 kB / 0.729 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.3785, allocations: 0 / 0.729 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.3785, allocations: 0 / 0.729 GB, free: 7.363 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.3786, allocations: 87.27 kB / 0.7291 GB, free: 7.277 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3786, allocations: 0 / 0.7291 GB, free: 7.277 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002077/0.3788, allocations: 15.94 kB / 0.7291 GB, free: 7.262 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.3789, allocations: 111.2 kB / 0.7293 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.3791, allocations: 39.91 kB / 0.7293 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.3791, allocations: 0 / 0.7293 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.446e-05/0.3792, allocations: 19.98 kB / 0.7293 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.3794, allocations: 15.86 kB / 0.7293 GB, free: 7.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.3796, allocations: 107.2 kB / 0.7294 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.3798, allocations: 0.6811 MB / 0.7301 GB, free: 6.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.3799, allocations: 4 kB / 0.7301 GB, free: 6.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.3799, allocations: 7.438 kB / 0.7301 GB, free: 6.223 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.3799, allocations: 0 / 0.7301 GB, free: 6.223 MB / 0.545 GB Notification: Performance of Templates: time 0.002096/0.382, allocations: 0.6499 MB / 0.7307 GB, free: 5.578 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)