Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009052/0.0009051, allocations: 177.7 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000821/0.000821, allocations: 90.84 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 12.56 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003277/0.2304, allocations: 2.583 MB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.233, allocations: 1.624 MB / 0.9049 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.2335, allocations: 11.94 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.2346, allocations: 385.2 kB / 0.9053 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.2353, allocations: 215.1 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.2364, allocations: 360.5 kB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008862/0.2373, allocations: 0.7173 MB / 0.9066 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006424/0.2379, allocations: 398 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.2383, allocations: 243 kB / 0.9072 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.2387, allocations: 266.7 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.2388, allocations: 20 kB / 0.9075 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.239, allocations: 83.89 kB / 0.9075 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.2392, allocations: 171.4 kB / 0.9077 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.2394, allocations: 137.3 kB / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.2399, allocations: 0.5926 MB / 0.9084 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2399, allocations: 0 / 0.9084 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2399, allocations: 0 / 0.9084 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.77e-05/0.24, allocations: 0 / 0.9084 GB, free: 56.07 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001504/0.2415, allocations: 0.9764 MB / 0.9094 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2415, allocations: 12.03 kB / 0.9094 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.2417, allocations: 94.83 kB / 0.9095 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006711/0.2424, allocations: 0.4924 MB / 0.9099 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.2425, allocations: 70.7 kB / 0.91 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.22e-05/0.2426, allocations: 52 kB / 0.9101 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/0.2434, allocations: 0.5385 MB / 0.9106 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.2434, allocations: 3.938 kB / 0.9106 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.2435, allocations: 20 kB / 0.9106 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2435, allocations: 12 kB / 0.9106 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005887/0.2441, allocations: 347.6 kB / 0.911 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.2461, allocations: 2.064 MB / 0.913 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.2466, allocations: 300.5 kB / 0.9133 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.2468, allocations: 145.5 kB / 0.9134 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.2468, allocations: 8.312 kB / 0.9134 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.2472, allocations: 219.1 kB / 0.9136 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.2472, allocations: 0 / 0.9136 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.000801/0.248, allocations: 460.2 kB / 0.914 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.2481, allocations: 114.8 kB / 0.9142 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.2487, allocations: 0.7461 MB / 0.9149 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.2488, allocations: 45.7 kB / 0.9149 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.249, allocations: 376.7 kB / 0.9153 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.2491, allocations: 110.6 kB / 0.9154 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.2491, allocations: 15.94 kB / 0.9154 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2493, allocations: 390.7 kB / 0.9158 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.2495, allocations: 133.2 kB / 0.9159 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.2498, allocations: 332.2 kB / 0.9162 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.2501, allocations: 148.7 kB / 0.9164 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2501, allocations: 0 / 0.9164 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007325/0.2509, allocations: 0.5144 MB / 0.9169 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2509, allocations: 4 kB / 0.9169 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.2509, allocations: 4 kB / 0.9169 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2509, allocations: 12 kB / 0.9169 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.2512, allocations: 75.78 kB / 0.917 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.2512, allocations: 12.55 kB / 0.917 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.2515, allocations: 67.42 kB / 0.917 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.2516, allocations: 24 kB / 0.9171 GB, free: 46.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 54 ($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,pumOn.outPort[2].reset,$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,pumOn.outPort[2].available,$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 (75): * Single equations (assignments): 75 * 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.0002812/0.2518, allocations: 278.7 kB / 0.9173 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.2519, allocations: 71.16 kB / 0.9174 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/0.2525, allocations: 423.6 kB / 0.9178 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2526, allocations: 4 kB / 0.9178 GB, free: 46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2526, allocations: 4 kB / 0.9178 GB, free: 46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2526, allocations: 4.031 kB / 0.9178 GB, free: 46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.2538, allocations: 1.064 MB / 0.9188 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2538, allocations: 0 / 0.9188 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.254, allocations: 31.92 kB / 0.9189 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.254, allocations: 0 / 0.9189 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.254, allocations: 19.98 kB / 0.9189 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.254, allocations: 0 / 0.9189 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.254, allocations: 0 / 0.9189 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.2546, allocations: 0.4913 MB / 0.9194 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2547, allocations: 156 kB / 0.9195 GB, free: 44.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/0.2548, allocations: 12 kB / 0.9195 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.2549, allocations: 19.98 kB / 0.9196 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2551, allocations: 52.36 kB / 0.9196 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.2551, allocations: 12 kB / 0.9196 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004578/0.2556, allocations: 0.4951 MB / 0.9201 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2556, allocations: 0 / 0.9201 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004604/0.256, allocations: 135.6 kB / 0.9202 GB, free: 43.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (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.outPort[2].available,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 (47): * Single equations (assignments): 39 * 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.0009629/0.257, allocations: 465.7 kB / 0.9207 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006485/0.2577, allocations: 381.7 kB / 0.921 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2577, allocations: 0 / 0.921 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.2579, allocations: 182.7 kB / 0.9212 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.2586, allocations: 115.1 kB / 0.9213 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.2603, allocations: 1.411 MB / 0.9227 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.2606, allocations: 0.95 MB / 0.9236 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2608, allocations: 55.42 kB / 0.9237 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2608, allocations: 7.875 kB / 0.9237 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.009972/0.2707, allocations: 8.855 MB / 0.9323 GB, free: 31.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)