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.352/1.352, allocations: 252 MB / 268 MB, free: 10.86 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.0009777/0.0009778, allocations: 175.5 kB / 327.6 MB, free: 2.098 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.648/1.648, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0007234/0.0007234, allocations: 89.98 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 12.12 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 106.3 MB / 0.9015 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003237/0.204, allocations: 2.675 MB / 0.9041 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2065, allocations: 1.682 MB / 0.9057 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.2067, allocations: 11.94 kB / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008893/0.2076, allocations: 397 kB / 0.9061 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.208, allocations: 227.1 kB / 0.9063 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00085/0.2089, allocations: 399.8 kB / 0.9067 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006033/0.2095, allocations: 0.7719 MB / 0.9075 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004206/0.2099, allocations: 426.6 kB / 0.9079 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.2101, allocations: 242.9 kB / 0.9081 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.2104, allocations: 274.5 kB / 0.9084 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.2104, allocations: 20 kB / 0.9084 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.2106, allocations: 83.97 kB / 0.9085 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.2108, allocations: 183.2 kB / 0.9086 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.211, allocations: 323.5 kB / 0.9089 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.2114, allocations: 0.581 MB / 0.9095 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2114, allocations: 4 kB / 0.9095 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2114, allocations: 0 / 0.9095 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.2114, allocations: 0 / 0.9095 GB, free: 55.08 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.001136/0.2126, allocations: 0.978 MB / 0.9105 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2126, allocations: 16.02 kB / 0.9105 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.2127, allocations: 95.81 kB / 0.9106 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.2132, allocations: 0.5049 MB / 0.9111 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/0.2133, allocations: 75.27 kB / 0.9111 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.2134, allocations: 51.94 kB / 0.9112 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.2141, allocations: 0.5463 MB / 0.9117 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2141, allocations: 4 kB / 0.9117 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.2142, allocations: 16 kB / 0.9117 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2142, allocations: 12 kB / 0.9117 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.2147, allocations: 351.7 kB / 0.9121 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.2163, allocations: 2.072 MB / 0.9141 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.2168, allocations: 302.6 kB / 0.9144 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.217, allocations: 154.5 kB / 0.9145 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.2171, allocations: 12.31 kB / 0.9146 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.2174, allocations: 212 kB / 0.9148 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.863e-06/0.2174, allocations: 0 / 0.9148 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0007684/0.2183, allocations: 472 kB / 0.9152 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.2183, allocations: 110.8 kB / 0.9153 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.2189, allocations: 0.7578 MB / 0.9161 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.219, allocations: 49.69 kB / 0.9161 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.2192, allocations: 372.6 kB / 0.9165 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.2192, allocations: 110.6 kB / 0.9166 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.2193, allocations: 12 kB / 0.9166 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.2194, allocations: 386.8 kB / 0.9169 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.2196, allocations: 133.2 kB / 0.9171 GB, free: 47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.2199, allocations: 324.4 kB / 0.9174 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.2203, allocations: 397.9 kB / 0.9178 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2203, allocations: 0 / 0.9178 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006486/0.221, allocations: 0.5221 MB / 0.9183 GB, free: 45.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.221, allocations: 4.625 kB / 0.9183 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.221, allocations: 12 kB / 0.9183 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.221, allocations: 12 kB / 0.9183 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.2213, allocations: 67.84 kB / 0.9184 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2213, allocations: 15.92 kB / 0.9184 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.2216, allocations: 63.42 kB / 0.9184 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.2216, allocations: 24 kB / 0.9185 GB, free: 45.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002473/0.2219, allocations: 278.9 kB / 0.9187 GB, free: 45.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.2219, allocations: 67.16 kB / 0.9188 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006055/0.2225, allocations: 431.5 kB / 0.9192 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2226, allocations: 7.938 kB / 0.9192 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2226, allocations: 0 / 0.9192 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2226, allocations: 0 / 0.9192 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.2237, allocations: 1.072 MB / 0.9203 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2237, allocations: 0 / 0.9203 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2238, allocations: 31.92 kB / 0.9203 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2239, allocations: 4 kB / 0.9203 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.2239, allocations: 7.984 kB / 0.9203 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2239, allocations: 4 kB / 0.9203 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2239, allocations: 7.875 kB / 0.9203 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.2244, allocations: 0.4914 MB / 0.9208 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-05/0.2245, allocations: 152.1 kB / 0.9209 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.2246, allocations: 8 kB / 0.9209 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.2248, allocations: 23.98 kB / 0.921 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2249, allocations: 52.25 kB / 0.921 GB, free: 42.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.2249, allocations: 12 kB / 0.921 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004154/0.2253, allocations: 0.5029 MB / 0.9215 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2254, allocations: 4 kB / 0.9215 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000455/0.2258, allocations: 131.6 kB / 0.9216 GB, free: 42.06 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 (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.0009009/0.2267, allocations: 451.6 kB / 0.9221 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005519/0.2273, allocations: 389.4 kB / 0.9224 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2273, allocations: 0 / 0.9224 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.2275, allocations: 174.4 kB / 0.9226 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.2281, allocations: 127.6 kB / 0.9227 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.2296, allocations: 1.486 MB / 0.9242 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.2299, allocations: 0.9575 MB / 0.9251 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.2301, allocations: 51.42 kB / 0.9252 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.2301, allocations: 0 / 0.9252 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.01003/0.2401, allocations: 8.843 MB / 0.9338 GB, free: 29.71 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)