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.001188/0.001188, allocations: 103.8 kB / 16.41 MB, free: 6.508 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.001361/0.001362, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 293.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8997/0.8997, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 95.86 kB / 0.6821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4474, allocations: 86.99 MB / 0.7671 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001652/0.4491, allocations: 0.5707 MB / 0.7677 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006185/0.4497, allocations: 322.8 kB / 0.768 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.4498, allocations: 4 kB / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.4498, allocations: 0 / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.4498, allocations: 0 / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.4503, allocations: 107.6 kB / 0.7681 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.421e-05/0.4503, allocations: 4 kB / 0.7681 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.4504, allocations: 4 kB / 0.7681 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.682e-05/0.4504, allocations: 3.984 kB / 0.7681 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.449e-05/0.4504, allocations: 0 / 0.7681 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.4505, allocations: 7.938 kB / 0.7681 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.4509, allocations: 275.6 kB / 0.7684 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.4509, allocations: 0 / 0.7684 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.4509, allocations: 0 / 0.7684 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.4511, allocations: 83.86 kB / 0.7684 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4511, allocations: 4 kB / 0.7684 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4511, allocations: 0 / 0.7684 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4511, allocations: 0 / 0.7684 GB, free: 2.492 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.0003195/0.4515, allocations: 331.6 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4515, allocations: 8.031 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.4516, allocations: 4.938 kB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.4517, allocations: 164.4 kB / 0.7689 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.4517, allocations: 384 / 0.7689 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4517, allocations: 4.375 kB / 0.7689 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.4518, allocations: 26.27 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4518, allocations: 192 / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4518, allocations: 11.88 kB / 0.769 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4518, allocations: 0 / 0.769 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.143e-05/0.4519, allocations: 4 kB / 0.769 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.452, allocations: 153.3 kB / 0.7691 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.619e-05/0.452, allocations: 18.56 kB / 0.7691 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.4521, allocations: 8.953 kB / 0.7691 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005118/0.4526, allocations: 433.4 kB / 0.7696 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4526, allocations: 38.5 kB / 0.7696 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.4526, allocations: 0 / 0.7696 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.4528, allocations: 41.58 kB / 0.7696 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.4528, allocations: 51.41 kB / 0.7697 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.79e-05/0.4529, allocations: 89.86 kB / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.4529, allocations: 29.7 kB / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/0.4529, allocations: 80.14 kB / 0.7699 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.453, allocations: 8.016 kB / 0.7699 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.453, allocations: 13.72 kB / 0.7699 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4531, allocations: 310.8 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.4531, allocations: 4 kB / 0.7702 GB, free: 400 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.4531, allocations: 0 / 0.7702 GB, free: 400 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.871e-05/0.4532, allocations: 16.8 kB / 0.7702 GB, free: 380 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4532, allocations: 0 / 0.7702 GB, free: 380 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.912e-05/0.4533, allocations: 29.7 kB / 0.7702 GB, free: 344 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4533, allocations: 8.094 kB / 0.7702 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4533, allocations: 7.984 kB / 0.7702 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4533, allocations: 3.938 kB / 0.7703 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.4534, allocations: 0 / 0.7703 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4534, allocations: 0 / 0.7703 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.4534, allocations: 0 / 0.7703 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4534, allocations: 4 kB / 0.7703 GB, free: 320 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 7.454e-05/0.4535, allocations: 108.2 kB / 0.7704 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.4535, allocations: 0 / 0.7704 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.691e-05/0.4536, allocations: 52.69 kB / 0.7704 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4536, allocations: 0 / 0.7704 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4536, allocations: 4 kB / 0.7704 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4536, allocations: 0 / 0.7704 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.4537, allocations: 141.7 kB / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4538, allocations: 0 / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.4538, allocations: 4 kB / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4538, allocations: 0 / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4538, allocations: 7.922 kB / 0.7706 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4538, allocations: 7.969 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4538, allocations: 0 / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.4539, allocations: 57.14 kB / 0.7706 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.4539, allocations: 81.05 kB / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.454, allocations: 3.938 kB / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.454, allocations: 7.984 kB / 0.7707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.454, allocations: 3.984 kB / 0.7707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-06/0.454, allocations: 0 / 0.7707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.415e-05/0.454, allocations: 79.31 kB / 0.7708 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.454, allocations: 7.938 kB / 0.7708 GB, free: 15.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001936/0.4542, allocations: 12 kB / 0.7708 GB, free: 15.65 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 (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 Backend phase and start with SimCode phase: time 0.0001657/0.4544, allocations: 107.2 kB / 0.7709 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.98e-05/0.4545, allocations: 11.98 kB / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4545, allocations: 0 / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.59e-06/0.4545, allocations: 0 / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.4546, allocations: 11.5 kB / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.4548, allocations: 102.7 kB / 0.771 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.455, allocations: 0.669 MB / 0.7717 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.4551, allocations: 11.44 kB / 0.7717 GB, free: 14.67 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.4551, allocations: 0 / 0.7717 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Templates: time 0.001868/0.4569, allocations: 467.3 kB / 0.7721 GB, free: 14.22 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)