Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.0009688/0.0009688, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002801/0.002801, allocations: 297.7 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9103/0.9103, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 91.86 kB / 0.6822 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3674, allocations: 86.97 MB / 0.7671 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001598/0.3691, allocations: 0.5818 MB / 0.7677 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006105/0.3697, allocations: 330.8 kB / 0.768 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.3697, allocations: 0 / 0.768 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.3697, allocations: 0 / 0.768 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-06/0.3697, allocations: 0 / 0.768 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.3701, allocations: 107.7 kB / 0.7681 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.323e-05/0.3702, allocations: 0 / 0.7681 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.3702, allocations: 0 / 0.7681 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.144e-05/0.3702, allocations: 4 kB / 0.7681 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.841e-05/0.3703, allocations: 3.938 kB / 0.7681 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-06/0.3703, allocations: 0 / 0.7681 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.3706, allocations: 275.6 kB / 0.7684 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-06/0.3707, allocations: 0 / 0.7684 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.251e-05/0.3707, allocations: 0 / 0.7684 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3708, allocations: 95.84 kB / 0.7684 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3708, allocations: 0 / 0.7684 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3708, allocations: 0 / 0.7684 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.3709, allocations: 0 / 0.7684 GB, free: 2.402 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002775/0.3711, allocations: 331.5 kB / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.3712, allocations: 8.031 kB / 0.7688 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.3712, allocations: 4.938 kB / 0.7688 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.207e-05/0.3713, allocations: 164.4 kB / 0.7689 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.3713, allocations: 384 / 0.7689 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.3713, allocations: 4.375 kB / 0.7689 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.73e-05/0.3714, allocations: 34.27 kB / 0.769 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.3714, allocations: 8.109 kB / 0.769 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.3714, allocations: 3.938 kB / 0.769 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.3714, allocations: 0 / 0.769 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.3715, allocations: 0 / 0.769 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.3716, allocations: 145.4 kB / 0.7691 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.051e-05/0.3716, allocations: 26.5 kB / 0.7691 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.3716, allocations: 16.8 kB / 0.7692 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004312/0.3721, allocations: 421.6 kB / 0.7696 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3721, allocations: 34.56 kB / 0.7696 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3721, allocations: 0 / 0.7696 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.3722, allocations: 45.64 kB / 0.7696 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.3723, allocations: 55.34 kB / 0.7697 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.768e-05/0.3723, allocations: 89.86 kB / 0.7698 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.3723, allocations: 25.7 kB / 0.7698 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.3724, allocations: 80.14 kB / 0.7699 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3724, allocations: 7.891 kB / 0.7699 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.3724, allocations: 13.72 kB / 0.7699 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.3725, allocations: 314.8 kB / 0.7702 GB, free: 308 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-06/0.3725, allocations: 4.125 kB / 0.7702 GB, free: 304 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.3725, allocations: 4 kB / 0.7702 GB, free: 300 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.911e-05/0.3726, allocations: 4.859 kB / 0.7702 GB, free: 292 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3726, allocations: 0 / 0.7702 GB, free: 292 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.858e-05/0.3726, allocations: 33.7 kB / 0.7702 GB, free: 252 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3727, allocations: 4 kB / 0.7702 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3727, allocations: 7.922 kB / 0.7703 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3727, allocations: 3.938 kB / 0.7703 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.743e-05/0.3727, allocations: 4.094 kB / 0.7703 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.3727, allocations: 4 kB / 0.7703 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-06/0.3727, allocations: 0 / 0.7703 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3728, allocations: 0 / 0.7703 GB, free: 228 kB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.414e-05/0.3728, allocations: 112.2 kB / 0.7704 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.3728, allocations: 4 kB / 0.7704 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/0.3729, allocations: 36.81 kB / 0.7704 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3729, allocations: 3.938 kB / 0.7704 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3729, allocations: 4.031 kB / 0.7704 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.373, allocations: 77.11 kB / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.373, allocations: 0 / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.373, allocations: 4 kB / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.373, allocations: 0 / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.765e-05/0.3731, allocations: 116.9 kB / 0.7706 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001085/0.3732, allocations: 206.8 kB / 0.7708 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.602e-05/0.3732, allocations: 8 kB / 0.7708 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.604e-05/0.3733, allocations: 79.22 kB / 0.7709 GB, free: 15.53 MB / 0.545 GB Notification: Performance of Backend: time 2.31e-07/0.3733, allocations: 3.938 kB / 0.7709 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.3737, allocations: 122.9 kB / 0.771 GB, free: 15.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.0002694/0.374, allocations: 0.5215 MB / 0.7715 GB, free: 14.83 MB / 0.545 GB Notification: Performance of Templates: time 0.002714/0.3767, allocations: 1.071 MB / 0.7726 GB, free: 13.76 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)