Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.721/2.721, allocations: 287.9 MB / 302.9 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 183.7 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 95.2 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 12.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1581, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.003319/0.1615, allocations: 2.675 MB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.1643, allocations: 1.601 MB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.1648, allocations: 11.94 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000853/0.1657, allocations: 262.8 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004749/0.1662, allocations: 179.4 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/0.1671, allocations: 289.1 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.1678, allocations: 0.5005 MB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/0.1683, allocations: 434.1 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.1686, allocations: 231 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.1688, allocations: 238.7 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.68e-05/0.1689, allocations: 28 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1691, allocations: 67.89 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1693, allocations: 155.4 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1694, allocations: 141.3 kB / 0.9854 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.17, allocations: 0.6082 MB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.462e-06/0.1701, allocations: 0 / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.213e-06/0.1701, allocations: 0 / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.1701, allocations: 0 / 0.986 GB, free: 20.75 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001428/0.1715, allocations: 0.9619 MB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1716, allocations: 8.031 kB / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1717, allocations: 98.83 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008392/0.1726, allocations: 0.5075 MB / 0.9875 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-05/0.1727, allocations: 75.02 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.1728, allocations: 60 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.174, allocations: 0.6533 MB / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.174, allocations: 0 / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.1741, allocations: 31.94 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.1741, allocations: 16 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000909/0.175, allocations: 407.5 kB / 0.9887 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.1779, allocations: 2.693 MB / 0.9913 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.1786, allocations: 263.1 kB / 0.9916 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.1786, allocations: 7.984 kB / 0.9916 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.1791, allocations: 195.4 kB / 0.9918 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 4.281e-06/0.1791, allocations: 3.938 kB / 0.9918 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.001019/0.1801, allocations: 421.1 kB / 0.9922 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1802, allocations: 93 kB / 0.9923 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007805/0.181, allocations: 0.6561 MB / 0.9929 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.1811, allocations: 49.69 kB / 0.993 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.1813, allocations: 392.1 kB / 0.9933 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.1814, allocations: 98.81 kB / 0.9934 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1815, allocations: 16 kB / 0.9934 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1816, allocations: 378.8 kB / 0.9938 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.182, allocations: 137.2 kB / 0.9939 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.1824, allocations: 357 kB / 0.9943 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1829, allocations: 151.9 kB / 0.9944 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.1829, allocations: 7.938 kB / 0.9944 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001945/0.1849, allocations: 0.539 MB / 0.995 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.1849, allocations: 8.781 kB / 0.995 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.185, allocations: 7.984 kB / 0.995 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.971e-05/0.185, allocations: 16 kB / 0.995 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.1856, allocations: 71.78 kB / 0.9951 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.973e-05/0.1857, allocations: 15.98 kB / 0.9951 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/0.1865, allocations: 63.39 kB / 0.9951 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.1866, allocations: 39.92 kB / 0.9952 GB, free: 10.87 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.active,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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 0.0007135/0.1874, allocations: 262.8 kB / 0.9954 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.1875, allocations: 63.16 kB / 0.9955 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.1889, allocations: 388.1 kB / 0.9958 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.856e-06/0.1889, allocations: 4 kB / 0.9959 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-06/0.1889, allocations: 0 / 0.9959 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.189, allocations: 3.984 kB / 0.9959 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.1917, allocations: 1.01 MB / 0.9968 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.166e-06/0.1918, allocations: 3.938 kB / 0.9968 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.192, allocations: 23.98 kB / 0.9969 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.1921, allocations: 4 kB / 0.9969 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.1921, allocations: 11.94 kB / 0.9969 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.1922, allocations: 7.938 kB / 0.9969 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.122e-06/0.1922, allocations: 0 / 0.9969 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.1935, allocations: 454.8 kB / 0.9973 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.1937, allocations: 144.1 kB / 0.9975 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.1939, allocations: 12 kB / 0.9975 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.1943, allocations: 19.98 kB / 0.9975 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/0.1946, allocations: 63.84 kB / 0.9976 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/0.1947, allocations: 12 kB / 0.9976 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009489/0.1957, allocations: 431 kB / 0.998 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.034e-06/0.1957, allocations: 0 / 0.998 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001258/0.197, allocations: 143.5 kB / 0.9981 GB, free: 7.738 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001778/0.1988, allocations: 441 kB / 0.9985 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009639/0.1998, allocations: 396.1 kB / 0.9989 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1998, allocations: 0 / 0.9989 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.2001, allocations: 155.8 kB / 0.9991 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.2007, allocations: 91.7 kB / 0.9991 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.2029, allocations: 1.327 MB / 1 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.2033, allocations: 0.9613 MB / 1.001 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004013/0.2037, allocations: 84.66 kB / 1.001 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.2039, allocations: 51.41 kB / 1.002 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of SimCode: time 1.841e-06/0.2039, allocations: 0 / 1.002 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of Templates: time 0.01625/0.2202, allocations: 5.277 MB / 1.007 GB, free: 15.12 MB / 0.6355 GB