Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 289.7 MB / 302.2 MB, free: 2.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001075, allocations: 182.5 kB / 371.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.2 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008926/0.0008927, allocations: 90 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.038e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2639, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7883/1.052, allocations: 146.4 MB / 1.123 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.052, allocations: 90.17 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03905/1.092, allocations: 17.16 MB / 1.14 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/1.092, allocations: 0 / 1.14 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.142e-05/1.092, allocations: 24 kB / 1.14 GB, free: 29.53 MB / 0.7448 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.001093/1.093, allocations: 0.9005 MB / 1.141 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.093, allocations: 12.03 kB / 1.141 GB, free: 28.69 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.788e-05/1.093, allocations: 91.17 kB / 1.141 GB, free: 28.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/1.093, allocations: 101.7 kB / 1.141 GB, free: 28.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/1.094, allocations: 0.4991 MB / 1.141 GB, free: 28.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/1.094, allocations: 69.17 kB / 1.141 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/1.094, allocations: 56.5 kB / 1.141 GB, free: 28.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/1.095, allocations: 0.528 MB / 1.142 GB, free: 27.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.095, allocations: 0 / 1.142 GB, free: 27.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/1.095, allocations: 25.03 kB / 1.142 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/1.095, allocations: 12 kB / 1.142 GB, free: 27.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/1.095, allocations: 335 kB / 1.142 GB, free: 27.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/1.097, allocations: 2.081 MB / 1.144 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/1.098, allocations: 283.1 kB / 1.145 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/1.098, allocations: 140.8 kB / 1.145 GB, free: 25.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/1.098, allocations: 12.5 kB / 1.145 GB, free: 25.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/1.098, allocations: 196.4 kB / 1.145 GB, free: 25.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=41): time 1.783e-06/1.098, allocations: 4 kB / 1.145 GB, free: 25.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=41): time 0.0005259/1.099, allocations: 355.9 kB / 1.145 GB, free: 25.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.099, allocations: 111.7 kB / 1.145 GB, free: 25.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/1.1, allocations: 0.6808 MB / 1.146 GB, free: 24.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/1.1, allocations: 40.42 kB / 1.146 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/1.1, allocations: 375 kB / 1.146 GB, free: 24.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/1.1, allocations: 113.1 kB / 1.147 GB, free: 24.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/1.1, allocations: 9.75 kB / 1.147 GB, free: 24.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/1.1, allocations: 334 kB / 1.147 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.1, allocations: 120.7 kB / 1.147 GB, free: 23.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/1.101, allocations: 299.9 kB / 1.147 GB, free: 23.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/1.101, allocations: 139.8 kB / 1.147 GB, free: 23.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.101, allocations: 0 / 1.147 GB, free: 23.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006355/1.101, allocations: 0.4925 MB / 1.148 GB, free: 23.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.101, allocations: 8 kB / 1.148 GB, free: 23.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.101, allocations: 5.734 kB / 1.148 GB, free: 23.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.101, allocations: 12.59 kB / 1.148 GB, free: 23.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/1.102, allocations: 73.52 kB / 1.148 GB, free: 23.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/1.102, allocations: 13.11 kB / 1.148 GB, free: 23.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/1.102, allocations: 50.64 kB / 1.148 GB, free: 23.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/1.102, allocations: 25.7 kB / 1.148 GB, free: 23.01 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.0001126/1.102, allocations: 165.9 kB / 1.148 GB, free: 22.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/1.102, allocations: 67.86 kB / 1.148 GB, free: 22.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/1.103, allocations: 422.3 kB / 1.149 GB, free: 22.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.103, allocations: 8.75 kB / 1.149 GB, free: 22.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.103, allocations: 1.031 kB / 1.149 GB, free: 22.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.103, allocations: 6.625 kB / 1.149 GB, free: 22.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/1.104, allocations: 1.094 MB / 1.15 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.104, allocations: 0 / 1.15 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/1.105, allocations: 32.09 kB / 1.15 GB, free: 21.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.105, allocations: 4.594 kB / 1.15 GB, free: 21.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/1.105, allocations: 10.72 kB / 1.15 GB, free: 21.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/1.105, allocations: 4.516 kB / 1.15 GB, free: 21.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.105, allocations: 8.828 kB / 1.15 GB, free: 21.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/1.105, allocations: 496.5 kB / 1.15 GB, free: 21.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.105, allocations: 158.5 kB / 1.15 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/1.105, allocations: 12.94 kB / 1.15 GB, free: 21.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/1.106, allocations: 22.39 kB / 1.15 GB, free: 21.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.106, allocations: 50.06 kB / 1.151 GB, free: 21.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/1.106, allocations: 16.89 kB / 1.151 GB, free: 21.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005308/1.106, allocations: 0.5013 MB / 1.151 GB, free: 20.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/1.106, allocations: 4 kB / 1.151 GB, free: 20.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004646/1.107, allocations: 132.5 kB / 1.151 GB, free: 20.71 MB / 0.7448 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,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.newActive,pumOn.oldActive,pumOn.active,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * 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.001609/1.108, allocations: 1.358 MB / 1.152 GB, free: 19.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005082/1.109, allocations: 371.4 kB / 1.153 GB, free: 19.35 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.109, allocations: 0 / 1.153 GB, free: 19.35 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/1.109, allocations: 178.7 kB / 1.153 GB, free: 19.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/1.11, allocations: 112.5 kB / 1.153 GB, free: 19.17 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/1.111, allocations: 1.053 MB / 1.154 GB, free: 18.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/1.112, allocations: 0.9698 MB / 1.155 GB, free: 17.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002753/1.112, allocations: 105.1 kB / 1.155 GB, free: 17.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/1.112, allocations: 278.3 kB / 1.155 GB, free: 17.35 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/1.112, allocations: 0 / 1.155 GB, free: 17.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/1.139, allocations: 14.11 MB / 1.169 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/1.139, allocations: 183.6 kB / 1.169 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.554, allocations: 0 / 1.169 GB, free: 7.695 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)