Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.567/1.567, allocations: 287.4 MB / 303.2 MB, free: 8.293 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.0009701/0.0009701, allocations: 180.7 kB / 371.8 MB, free: 10.84 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.338/1.338, allocations: 205.4 MB / 0.6304 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007286/0.0007286, allocations: 97.59 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 12.86 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001192/0.1698, allocations: 1.156 MB / 0.9804 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004646/0.1703, allocations: 348 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.1703, allocations: 0 / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.098e-05/0.1703, allocations: 0 / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.1704, allocations: 3.938 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1707, allocations: 76.84 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.1707, allocations: 27.92 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/0.1708, allocations: 3.984 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.981e-05/0.1708, allocations: 7.938 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.847e-05/0.1709, allocations: 11.98 kB / 0.9809 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1709, allocations: 0 / 0.9809 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.1711, allocations: 271.6 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.779e-06/0.1712, allocations: 7.984 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.431e-05/0.1712, allocations: 33.64 kB / 0.9812 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.1713, allocations: 63.89 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1713, allocations: 0 / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1713, allocations: 3.984 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.1713, allocations: 0 / 0.9812 GB, free: 26.21 MB / 0.6198 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.0003071/0.1716, allocations: 367.6 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1717, allocations: 8.031 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1717, allocations: 4.938 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.018e-05/0.1718, allocations: 176.3 kB / 0.9817 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1718, allocations: 384 / 0.9817 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.1718, allocations: 384 / 0.9817 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1719, allocations: 58.23 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.172, allocations: 192 / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.172, allocations: 3.938 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.172, allocations: 3.938 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1721, allocations: 47.95 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.1724, allocations: 249 kB / 0.9821 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1725, allocations: 50.5 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.1726, allocations: 24.91 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/0.1731, allocations: 469.4 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.1731, allocations: 34.5 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.1731, allocations: 3.984 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003162/0.1734, allocations: 101.6 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.462e-05/0.1735, allocations: 51.41 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.1735, allocations: 105.8 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.1735, allocations: 25.83 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.182e-05/0.1735, allocations: 92.08 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.1736, allocations: 11.84 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.1736, allocations: 0 / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.1736, allocations: 310.8 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.1737, allocations: 23.98 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.1738, allocations: 23.97 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1739, allocations: 52.77 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1739, allocations: 0 / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001805/0.1741, allocations: 89.56 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.1741, allocations: 4 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1741, allocations: 0 / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1741, allocations: 4 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.1742, allocations: 16.02 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1742, allocations: 3.984 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.1743, allocations: 4 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1743, allocations: 4 kB / 0.9835 GB, free: 23.52 MB / 0.6198 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 4.053e-05/0.1743, allocations: 113.8 kB / 0.9836 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1744, allocations: 7.938 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.1746, allocations: 89.12 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1746, allocations: 0 / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1746, allocations: 0 / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.1746, allocations: 81.05 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.1746, allocations: 0 / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.1747, allocations: 16.02 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.1748, allocations: 4 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002016/0.175, allocations: 168.8 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002001/0.1752, allocations: 250.7 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.052e-05/0.1753, allocations: 28.02 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.835e-05/0.1753, allocations: 83.53 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of Backend: time 2.91e-07/0.1753, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004222/0.1757, allocations: 144.4 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002682/0.176, allocations: 0.5682 MB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.002744/0.1788, allocations: 1.299 MB / 0.9863 GB, free: 20.59 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)