Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.029/2.029, allocations: 249.3 MB / 261.8 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001851/0.001851, allocations: 178.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0007851/0.000785, allocations: 99.28 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.355e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1738, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6617/0.8356, allocations: 140.5 MB / 1.029 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.8359, allocations: 87.58 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03799/0.8739, allocations: 14.49 MB / 1.043 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8739, allocations: 0 / 1.043 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.72e-05/0.874, allocations: 20 kB / 1.043 GB, free: 13.87 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001231/0.8752, allocations: 0.8246 MB / 1.044 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.8753, allocations: 8.031 kB / 1.044 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.8754, allocations: 94.64 kB / 1.044 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.8755, allocations: 82.97 kB / 1.044 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007538/0.8763, allocations: 453.5 kB / 1.045 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/0.8764, allocations: 81.81 kB / 1.045 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.8765, allocations: 53.44 kB / 1.045 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.8774, allocations: 0.602 MB / 1.045 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.8774, allocations: 0 / 1.045 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.8775, allocations: 26.92 kB / 1.045 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.8775, allocations: 16 kB / 1.046 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.8781, allocations: 371.1 kB / 1.046 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.8808, allocations: 2.642 MB / 1.048 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.8812, allocations: 260.1 kB / 1.049 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.8814, allocations: 133.3 kB / 1.049 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.8814, allocations: 8 kB / 1.049 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.8818, allocations: 195.5 kB / 1.049 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 2.424e-06/0.8818, allocations: 0 / 1.049 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.0005903/0.8824, allocations: 344.8 kB / 1.049 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.8825, allocations: 85.11 kB / 1.049 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.8832, allocations: 0.5669 MB / 1.05 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.8832, allocations: 47.83 kB / 1.05 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.8835, allocations: 374.4 kB / 1.05 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.8836, allocations: 95.41 kB / 1.05 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.8836, allocations: 14 kB / 1.05 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8838, allocations: 377.8 kB / 1.051 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.884, allocations: 133.3 kB / 1.051 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.8844, allocations: 334.7 kB / 1.051 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.8846, allocations: 146.2 kB / 1.051 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8846, allocations: 0 / 1.051 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007494/0.8854, allocations: 0.5162 MB / 1.052 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.8854, allocations: 8 kB / 1.052 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.8854, allocations: 8.812 kB / 1.052 GB, free: 6.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.8854, allocations: 8 kB / 1.052 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.8857, allocations: 83.02 kB / 1.052 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.8858, allocations: 8 kB / 1.052 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.886, allocations: 47.12 kB / 1.052 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.8861, allocations: 31.05 kB / 1.052 GB, free: 6.023 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.warUpCtr.timer.yAcc,warUpCtr.timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire,$PRE.warUpCtr.timer.reset_internal,warUpCtr.timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0001921/0.8863, allocations: 174 kB / 1.052 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.8863, allocations: 63.25 kB / 1.052 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007498/0.8871, allocations: 407 kB / 1.053 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.8871, allocations: 4 kB / 1.053 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.8871, allocations: 0 / 1.053 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.8872, allocations: 3.984 kB / 1.053 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.8887, allocations: 1.045 MB / 1.054 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8887, allocations: 4 kB / 1.054 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.8889, allocations: 27.3 kB / 1.054 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.8889, allocations: 0 / 1.054 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.8889, allocations: 11.48 kB / 1.054 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.8889, allocations: 0 / 1.054 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8889, allocations: 4 kB / 1.054 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.8896, allocations: 465.2 kB / 1.054 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.8897, allocations: 139.5 kB / 1.054 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.8898, allocations: 18.48 kB / 1.054 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.89, allocations: 14.75 kB / 1.054 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.8901, allocations: 54.3 kB / 1.054 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.8901, allocations: 15.06 kB / 1.054 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004806/0.8906, allocations: 415.6 kB / 1.055 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8906, allocations: 3.938 kB / 1.055 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006256/0.8913, allocations: 127.1 kB / 1.055 GB, free: 3.523 MB / 0.6667 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 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.entryTime,warUpCtr.timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001797/0.8931, allocations: 1.34 MB / 1.056 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006479/0.8937, allocations: 381.7 kB / 1.057 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8937, allocations: 1.625 kB / 1.057 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.894, allocations: 163.4 kB / 1.057 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.8945, allocations: 84.12 kB / 1.057 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.8969, allocations: 0.942 MB / 1.058 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.8976, allocations: 0.949 MB / 1.059 GB, free: 76 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003797/0.898, allocations: 76.42 kB / 1.059 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.8984, allocations: 247.6 kB / 1.059 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/0.8984, allocations: 0 / 1.059 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.945, allocations: 12.24 MB / 1.071 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003373/0.9454, allocations: 206.8 kB / 1.071 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/3.151, allocations: 3.938 kB / 1.071 GB, free: 3.582 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)