Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",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 1.388/1.388, allocations: 249.5 MB / 257 MB, free: 6.938 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.0009572/0.000957, allocations: 172.6 kB / 316.3 MB, free: 3.277 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.429/1.429, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.000858/0.0008579, allocations: 106.1 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.226e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5991/0.7687, allocations: 139.8 MB / 1.022 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.769, allocations: 88.61 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03397/0.803, allocations: 14.17 MB / 1.036 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.325e-06/0.803, allocations: 3.938 kB / 1.036 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.798e-05/0.8031, allocations: 19.94 kB / 1.036 GB, free: 1.664 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001009/0.8041, allocations: 0.8308 MB / 1.037 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.8041, allocations: 8.031 kB / 1.037 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.8043, allocations: 86.97 kB / 1.037 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.8049, allocations: 443.2 kB / 1.037 GB, free: 320 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-05/0.805, allocations: 58.95 kB / 1.037 GB, free: 256 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.8051, allocations: 36 kB / 1.037 GB, free: 220 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000503/0.8056, allocations: 315.4 kB / 1.038 GB, free: 24 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.8063, allocations: 0.5243 MB / 1.038 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.8063, allocations: 7.891 kB / 1.038 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.8064, allocations: 4 kB / 1.038 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.8064, allocations: 12 kB / 1.038 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.8085, allocations: 2.46 MB / 1.04 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.8089, allocations: 251.3 kB / 1.041 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.8091, allocations: 124.5 kB / 1.041 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.8091, allocations: 19.92 kB / 1.041 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.8094, allocations: 187.8 kB / 1.041 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.8094, allocations: 0 / 1.041 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.0004972/0.8099, allocations: 315.5 kB / 1.041 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.81, allocations: 84.42 kB / 1.041 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/0.8105, allocations: 0.5454 MB / 1.042 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.8106, allocations: 32.89 kB / 1.042 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.8109, allocations: 373.4 kB / 1.042 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.8109, allocations: 89.36 kB / 1.042 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.811, allocations: 0 / 1.042 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8111, allocations: 385.9 kB / 1.043 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.8113, allocations: 111.3 kB / 1.043 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.8116, allocations: 322.6 kB / 1.043 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.8118, allocations: 132.5 kB / 1.043 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.8118, allocations: 0 / 1.043 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000605/0.8124, allocations: 463.9 kB / 1.044 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.8124, allocations: 11.95 kB / 1.044 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8124, allocations: 4 kB / 1.044 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.8125, allocations: 12 kB / 1.044 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.8127, allocations: 75.34 kB / 1.044 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.8127, allocations: 19.92 kB / 1.044 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.8129, allocations: 27.69 kB / 1.044 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.813, allocations: 35.36 kB / 1.044 GB, free: 10.27 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: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,timeDel.y,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0001359/0.8131, allocations: 148.5 kB / 1.044 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004046/0.8135, allocations: 310.3 kB / 1.044 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.8136, allocations: 74.2 kB / 1.044 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/0.8142, allocations: 360.2 kB / 1.045 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8142, allocations: 4 kB / 1.045 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.8142, allocations: 4 kB / 1.045 GB, free: 9.516 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.8142, allocations: 3.984 kB / 1.045 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.8154, allocations: 0.9431 MB / 1.046 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8154, allocations: 0 / 1.046 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.8155, allocations: 27.42 kB / 1.046 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.8156, allocations: 3.984 kB / 1.046 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.8156, allocations: 7.984 kB / 1.046 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8156, allocations: 4 kB / 1.046 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8156, allocations: 0 / 1.046 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.8161, allocations: 460.2 kB / 1.046 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.8162, allocations: 131.8 kB / 1.046 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.8163, allocations: 7.984 kB / 1.046 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.8165, allocations: 8 kB / 1.046 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.8166, allocations: 49.73 kB / 1.046 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.8166, allocations: 23.73 kB / 1.046 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003709/0.817, allocations: 385.4 kB / 1.047 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.817, allocations: 0 / 1.047 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004624/0.8175, allocations: 103.2 kB / 1.047 GB, free: 7.676 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: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc,timeDel.y) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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.001495/0.819, allocations: 1.277 MB / 1.048 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004788/0.8195, allocations: 345.9 kB / 1.048 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8195, allocations: 4 kB / 1.048 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.8197, allocations: 158.1 kB / 1.049 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.8201, allocations: 70.94 kB / 1.049 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.8216, allocations: 0.921 MB / 1.05 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.8221, allocations: 0.9517 MB / 1.051 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.8223, allocations: 76.33 kB / 1.051 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.8226, allocations: 255.3 kB / 1.051 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of SimCode: time 5.01e-07/0.8226, allocations: 0 / 1.051 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.8514, allocations: 11.3 MB / 1.062 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.8517, allocations: 183.2 kB / 1.062 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.969, allocations: 0 / 1.062 GB, free: 8.691 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)