Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.444/2.444, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.00151/0.00151, allocations: 172.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001116/0.001115, allocations: 90.8 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.977e-05, allocations: 8 kB / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8577/0.8578, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2605/1.118, allocations: 144.6 MB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.119, allocations: 83.95 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07554/1.194, allocations: 16.98 MB / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.024e-06/1.194, allocations: 0 / 1.121 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001034/1.195, allocations: 16 kB / 1.121 GB, free: 10.75 MB / 0.7292 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.002655/1.197, allocations: 0.9037 MB / 1.122 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/1.197, allocations: 11.97 kB / 1.122 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/1.198, allocations: 94.88 kB / 1.122 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/1.2, allocations: 0.4968 MB / 1.123 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/1.2, allocations: 51.02 kB / 1.123 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.2, allocations: 35.98 kB / 1.123 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001266/1.201, allocations: 294.6 kB / 1.123 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/1.203, allocations: 477.6 kB / 1.124 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/1.203, allocations: 7.891 kB / 1.124 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/1.203, allocations: 0 / 1.124 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/1.203, allocations: 16 kB / 1.124 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/1.208, allocations: 1.988 MB / 1.126 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/1.208, allocations: 255.6 kB / 1.126 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/1.209, allocations: 130.2 kB / 1.126 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/1.209, allocations: 11.98 kB / 1.126 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006772/1.21, allocations: 192.5 kB / 1.126 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 5.1e-06/1.21, allocations: 0 / 1.126 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.001335/1.211, allocations: 328.5 kB / 1.126 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.211, allocations: 118.7 kB / 1.127 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/1.213, allocations: 0.6166 MB / 1.127 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/1.213, allocations: 37.69 kB / 1.127 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006205/1.214, allocations: 380.6 kB / 1.128 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/1.214, allocations: 94.8 kB / 1.128 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/1.214, allocations: 0 / 1.128 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002152/1.214, allocations: 337.9 kB / 1.128 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/1.215, allocations: 117.5 kB / 1.128 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/1.216, allocations: 288 kB / 1.128 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/1.216, allocations: 124.7 kB / 1.128 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/1.216, allocations: 0 / 1.128 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001667/1.218, allocations: 438.8 kB / 1.129 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/1.218, allocations: 8 kB / 1.129 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.218, allocations: 4.562 kB / 1.129 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.636e-05/1.218, allocations: 12 kB / 1.129 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/1.219, allocations: 75.83 kB / 1.129 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/1.219, allocations: 11.94 kB / 1.129 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007511/1.219, allocations: 35.73 kB / 1.129 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/1.22, allocations: 27.98 kB / 1.129 GB, free: 2.422 MB / 0.7292 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.0003/1.22, allocations: 150.8 kB / 1.129 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001198/1.221, allocations: 333.8 kB / 1.129 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/1.221, allocations: 67.16 kB / 1.13 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/1.223, allocations: 399.8 kB / 1.13 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.223, allocations: 8 kB / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/1.223, allocations: 0 / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.223, allocations: 1.219 kB / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/1.227, allocations: 1.003 MB / 1.131 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.227, allocations: 0 / 1.131 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/1.227, allocations: 27.92 kB / 1.131 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/1.227, allocations: 0 / 1.131 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.037e-05/1.227, allocations: 11.98 kB / 1.131 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/1.227, allocations: 4 kB / 1.131 GB, free: 388 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.227, allocations: 7.891 kB / 1.131 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/1.229, allocations: 463.3 kB / 1.131 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/1.229, allocations: 160.1 kB / 1.132 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/1.229, allocations: 0 / 1.132 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/1.23, allocations: 15.98 kB / 1.132 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/1.23, allocations: 52.31 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.171e-05/1.23, allocations: 19 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00127/1.231, allocations: 471.1 kB / 1.132 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.11e-07/1.231, allocations: 0 / 1.132 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001251/1.233, allocations: 103.9 kB / 1.132 GB, free: 15.08 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.003368/1.236, allocations: 1.308 MB / 1.133 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.237, allocations: 355.2 kB / 1.134 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.237, allocations: 0 / 1.134 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003933/1.238, allocations: 165.6 kB / 1.134 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009873/1.239, allocations: 96.33 kB / 1.134 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/1.242, allocations: 1.022 MB / 1.135 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/1.242, allocations: 0.9773 MB / 1.136 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005342/1.243, allocations: 102.4 kB / 1.136 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/1.244, allocations: 267.3 kB / 1.136 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/1.244, allocations: 0 / 1.136 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06501/1.309, allocations: 12.93 MB / 1.149 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000329/1.309, allocations: 168.7 kB / 1.149 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/4.255, allocations: 3.938 kB / 1.149 GB, free: 14.02 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)