Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.747/2.747, allocations: 287.9 MB / 302.9 MB, free: 8.211 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.001459/0.001459, allocations: 190.1 kB / 371.4 MB, free: 10.69 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.998/1.998, allocations: 205.4 MB / 0.6301 GB, free: 10.34 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.001018/0.001018, allocations: 93.48 kB / 0.7434 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004753, allocations: 20.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.159, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003134/0.1622, allocations: 2.585 MB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.1651, allocations: 1.597 MB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.1655, allocations: 11.94 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.1666, allocations: 382.7 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006768/0.1673, allocations: 228.5 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1685, allocations: 358.1 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007459/0.1693, allocations: 0.4956 MB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.1698, allocations: 394.7 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.1701, allocations: 247 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.1703, allocations: 258.7 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.1704, allocations: 24 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.1707, allocations: 71.89 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.1708, allocations: 167.4 kB / 0.9854 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.171, allocations: 145.2 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.1716, allocations: 0.5887 MB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.029e-06/0.1716, allocations: 0 / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.661e-06/0.1716, allocations: 0 / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.1716, allocations: 0 / 0.9861 GB, free: 20.66 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001329/0.173, allocations: 0.9951 MB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.173, allocations: 12.02 kB / 0.9871 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.1732, allocations: 94.83 kB / 0.9872 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007199/0.1739, allocations: 496.3 kB / 0.9876 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.174, allocations: 78.62 kB / 0.9877 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.1741, allocations: 56 kB / 0.9878 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/0.1751, allocations: 0.5307 MB / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1751, allocations: 0 / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.1752, allocations: 23.98 kB / 0.9883 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.1752, allocations: 12 kB / 0.9883 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/0.176, allocations: 343.6 kB / 0.9886 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.1784, allocations: 2.067 MB / 0.9907 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.1791, allocations: 287.6 kB / 0.9909 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.1792, allocations: 7.984 kB / 0.9909 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.1796, allocations: 203 kB / 0.9911 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.805e-06/0.1796, allocations: 0 / 0.9911 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001042/0.1807, allocations: 468.7 kB / 0.9916 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1808, allocations: 114.8 kB / 0.9917 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009102/0.1817, allocations: 0.7423 MB / 0.9924 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.1817, allocations: 49.69 kB / 0.9925 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.182, allocations: 376.7 kB / 0.9928 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/0.1821, allocations: 102.6 kB / 0.9929 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.1822, allocations: 12 kB / 0.9929 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.1822, allocations: 333.9 kB / 0.9932 GB, free: 13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.1826, allocations: 133.2 kB / 0.9934 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.183, allocations: 307.5 kB / 0.9937 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.1834, allocations: 140.7 kB / 0.9938 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.1834, allocations: 8 kB / 0.9938 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009934/0.1844, allocations: 0.4991 MB / 0.9943 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1844, allocations: 12.12 kB / 0.9943 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1844, allocations: 4 kB / 0.9943 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.1845, allocations: 8 kB / 0.9943 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.1848, allocations: 71.83 kB / 0.9944 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.1848, allocations: 8 kB / 0.9944 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.1852, allocations: 63.45 kB / 0.9945 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.1853, allocations: 23.98 kB / 0.9945 GB, free: 11.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,pumOn.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition3.localCondition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0004055/0.1857, allocations: 286.8 kB / 0.9948 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/0.1858, allocations: 75.06 kB / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008813/0.1867, allocations: 412.2 kB / 0.9952 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.1868, allocations: 4 kB / 0.9952 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.573e-06/0.1868, allocations: 0 / 0.9952 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.1868, allocations: 3.984 kB / 0.9952 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.1886, allocations: 1.06 MB / 0.9963 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.287e-06/0.1886, allocations: 0 / 0.9963 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.1888, allocations: 31.92 kB / 0.9963 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.1888, allocations: 4 kB / 0.9963 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.1888, allocations: 7.984 kB / 0.9963 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.1889, allocations: 4 kB / 0.9963 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.158e-06/0.1889, allocations: 0 / 0.9963 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/0.1897, allocations: 0.4899 MB / 0.9968 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.1898, allocations: 148.2 kB / 0.9969 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.1899, allocations: 8 kB / 0.9969 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.1902, allocations: 23.98 kB / 0.997 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.1904, allocations: 43.94 kB / 0.997 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.1904, allocations: 19.98 kB / 0.997 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006486/0.1911, allocations: 0.499 MB / 0.9975 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.4e-07/0.1911, allocations: 0 / 0.9975 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006739/0.1918, allocations: 139.5 kB / 0.9976 GB, free: 8.309 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: 36 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001509/0.1933, allocations: 454.7 kB / 0.9981 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009173/0.1942, allocations: 382.4 kB / 0.9984 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.968e-06/0.1943, allocations: 3.938 kB / 0.9984 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.1946, allocations: 167.8 kB / 0.9986 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.1953, allocations: 111.5 kB / 0.9987 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.1973, allocations: 1.375 MB / 1 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.1978, allocations: 0.9773 MB / 1.001 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004157/0.1983, allocations: 96.77 kB / 1.001 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.1984, allocations: 55.42 kB / 1.001 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of SimCode: time 1.661e-06/0.1984, allocations: 0 / 1.001 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of Templates: time 0.0181/0.2166, allocations: 6.08 MB / 1.007 GB, free: 14.78 MB / 0.6355 GB