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.386/1.386, allocations: 251.5 MB / 267.4 MB, free: 11 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.001095/0.001095, allocations: 172.2 kB / 326.5 MB, free: 2.633 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.608/1.608, allocations: 205 MB / 0.5766 GB, free: 20.55 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.0007833/0.0007832, allocations: 97.09 kB / 0.6804 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.000436, allocations: 10 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2268, allocations: 105.4 MB / 0.8967 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.003085/0.2299, allocations: 2.734 MB / 0.8994 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.2323, allocations: 1.709 MB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.2326, allocations: 15.88 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009787/0.2336, allocations: 397.5 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.234, allocations: 231.1 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.2349, allocations: 392.6 kB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.2355, allocations: 0.7719 MB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.2359, allocations: 420.4 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.2362, allocations: 242.8 kB / 0.9035 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.2364, allocations: 274.6 kB / 0.9037 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.2365, allocations: 20 kB / 0.9037 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.2367, allocations: 79.95 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.2368, allocations: 183.2 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.237, allocations: 305.8 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.2374, allocations: 0.5846 MB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2375, allocations: 0 / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2375, allocations: 0 / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.2375, allocations: 4 kB / 0.9048 GB, free: 59.29 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.001215/0.2387, allocations: 0.9642 MB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2388, allocations: 11.97 kB / 0.9058 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.2389, allocations: 91.81 kB / 0.9059 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.2395, allocations: 0.5166 MB / 0.9064 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.595e-05/0.2396, allocations: 71.27 kB / 0.9065 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.2396, allocations: 59.92 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/0.2403, allocations: 0.5424 MB / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2404, allocations: 0 / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.2404, allocations: 20 kB / 0.9071 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2404, allocations: 12 kB / 0.9071 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/0.2409, allocations: 347.7 kB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.2427, allocations: 2.064 MB / 0.9094 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.2432, allocations: 313.6 kB / 0.9097 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.2434, allocations: 149.5 kB / 0.9099 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.2434, allocations: 4.328 kB / 0.9099 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.2438, allocations: 212 kB / 0.9101 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.793e-06/0.2438, allocations: 0 / 0.9101 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0007512/0.2445, allocations: 476 kB / 0.9105 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.2446, allocations: 118.7 kB / 0.9106 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.2452, allocations: 0.7423 MB / 0.9114 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.2453, allocations: 49.64 kB / 0.9114 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.2455, allocations: 388.5 kB / 0.9118 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.07e-05/0.2456, allocations: 106.6 kB / 0.9119 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.2456, allocations: 89.66 kB / 0.912 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.2457, allocations: 390.7 kB / 0.9123 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.246, allocations: 137.2 kB / 0.9125 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.2462, allocations: 316.4 kB / 0.9128 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.2467, allocations: 401.9 kB / 0.9132 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2467, allocations: 4 kB / 0.9132 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006673/0.2474, allocations: 0.5182 MB / 0.9137 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2474, allocations: 8 kB / 0.9137 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2474, allocations: 4 kB / 0.9137 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.2475, allocations: 8.625 kB / 0.9137 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.2477, allocations: 71.83 kB / 0.9138 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2477, allocations: 15.94 kB / 0.9138 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.248, allocations: 63.45 kB / 0.9138 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.248, allocations: 24 kB / 0.9139 GB, free: 49.57 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,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,pumOn.outPort[2].reset,transition3.localCondition,transition4.enableFire,transition3.t_start,$PRE.transition3.t_start,transition3.fire,transition3.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,pumOn.oldActive,$PRE.pumOn.oldActive,pumOn.newActive,$PRE.pumOn.newActive,pumOn.outPort[2].available,pumOn.localActive,$PRE.pumOn.localActive,pumOn.active,staBy.oldActive,$PRE.staBy.oldActive,staBy.newActive,$PRE.staBy.newActive,staBy.outPort[2].available,staBy.localActive,$PRE.staBy.localActive,staBy.active,transition2.enableFire,transition2.condition,transition1.enableFire,transition1.condition,actMod,$whenCondition3) * 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.0002581/0.2483, allocations: 274.9 kB / 0.9141 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.2483, allocations: 79.06 kB / 0.9142 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/0.249, allocations: 431.5 kB / 0.9146 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.249, allocations: 4 kB / 0.9146 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.249, allocations: 4 kB / 0.9146 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.249, allocations: 3.984 kB / 0.9146 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.2502, allocations: 1.06 MB / 0.9157 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2502, allocations: 4 kB / 0.9157 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/0.2503, allocations: 31.91 kB / 0.9157 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2503, allocations: 4 kB / 0.9157 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.2504, allocations: 12 kB / 0.9157 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2504, allocations: 0 / 0.9157 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2504, allocations: 3.938 kB / 0.9157 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.2509, allocations: 495.2 kB / 0.9162 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.251, allocations: 148.1 kB / 0.9163 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.2511, allocations: 19.92 kB / 0.9163 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2513, allocations: 19.98 kB / 0.9164 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.2514, allocations: 44.33 kB / 0.9164 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.2514, allocations: 19.98 kB / 0.9164 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004349/0.2519, allocations: 0.499 MB / 0.9169 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2519, allocations: 0 / 0.9169 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004263/0.2523, allocations: 139.6 kB / 0.917 GB, free: 46.2 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.001003/0.2533, allocations: 461.6 kB / 0.9175 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.2539, allocations: 386 kB / 0.9178 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2539, allocations: 4.062 kB / 0.9179 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.2541, allocations: 174.4 kB / 0.918 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.2548, allocations: 121.4 kB / 0.9181 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.2564, allocations: 1.456 MB / 0.9196 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.2567, allocations: 0.9536 MB / 0.9205 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.2568, allocations: 59.42 kB / 0.9205 GB, free: 42.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2568, allocations: 0 / 0.9205 GB, free: 42.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.01013/0.267, allocations: 8.846 MB / 0.9292 GB, free: 33.88 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)