Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.637/1.637, allocations: 287.4 MB / 302.6 MB, free: 8.203 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.001025/0.001025, allocations: 174.3 kB / 371.1 MB, free: 10.82 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.515/1.515, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006678/0.0006679, allocations: 97.36 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 12.88 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1911, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.00259/0.1937, allocations: 2.417 MB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1955, allocations: 1.511 MB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1957, allocations: 11.94 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.1964, allocations: 288.1 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1967, allocations: 147.3 kB / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.1973, allocations: 270.2 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.1978, allocations: 0.6441 MB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.1982, allocations: 411 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1983, allocations: 211.1 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1985, allocations: 234.8 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.1986, allocations: 20 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.1988, allocations: 67.92 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1989, allocations: 159.4 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.199, allocations: 129.3 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.1994, allocations: 0.5262 MB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1994, allocations: 0 / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1994, allocations: 4 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1994, allocations: 0 / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0009722/0.2004, allocations: 0.881 MB / 0.9864 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2004, allocations: 12.03 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.159e-05/0.2005, allocations: 98.58 kB / 0.9865 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.2006, allocations: 83.91 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.2011, allocations: 492.8 kB / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.2012, allocations: 49.69 kB / 0.9871 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.2012, allocations: 63.94 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.202, allocations: 0.6051 MB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.202, allocations: 0 / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.202, allocations: 27.98 kB / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2021, allocations: 12 kB / 0.9878 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.2026, allocations: 383.5 kB / 0.9882 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.2043, allocations: 2.572 MB / 0.9907 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.2048, allocations: 286.8 kB / 0.991 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.205, allocations: 144.5 kB / 0.9911 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.2051, allocations: 4 kB / 0.9911 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.2054, allocations: 213.8 kB / 0.9913 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.823e-06/0.2054, allocations: 0 / 0.9913 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0006942/0.2061, allocations: 458.5 kB / 0.9918 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2062, allocations: 89.09 kB / 0.9919 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/0.2067, allocations: 0.6246 MB / 0.9925 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.2068, allocations: 45.7 kB / 0.9925 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.207, allocations: 364.3 kB / 0.9929 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.2071, allocations: 98.73 kB / 0.993 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.2071, allocations: 12 kB / 0.993 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.2072, allocations: 378.8 kB / 0.9933 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2074, allocations: 129.2 kB / 0.9934 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.2076, allocations: 339.6 kB / 0.9938 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.208, allocations: 401 kB / 0.9942 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.208, allocations: 0 / 0.9942 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0005963/0.2086, allocations: 0.5104 MB / 0.9947 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2087, allocations: 8 kB / 0.9947 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2087, allocations: 8.719 kB / 0.9947 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2087, allocations: 12 kB / 0.9947 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.2089, allocations: 79.78 kB / 0.9948 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2089, allocations: 11.98 kB / 0.9948 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.2091, allocations: 51.53 kB / 0.9948 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.2092, allocations: 28 kB / 0.9948 GB, free: 11.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,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,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002664/0.2095, allocations: 270.7 kB / 0.9951 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.2095, allocations: 67.16 kB / 0.9952 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.2101, allocations: 403.4 kB / 0.9955 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2102, allocations: 4 kB / 0.9956 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2102, allocations: 4 kB / 0.9956 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2102, allocations: 3.984 kB / 0.9956 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.2113, allocations: 1.052 MB / 0.9966 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2113, allocations: 0 / 0.9966 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.2114, allocations: 23.92 kB / 0.9966 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.2114, allocations: 0 / 0.9966 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2114, allocations: 15.98 kB / 0.9966 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2114, allocations: 7.938 kB / 0.9966 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2114, allocations: 0 / 0.9966 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.2119, allocations: 482.7 kB / 0.9971 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.212, allocations: 140.3 kB / 0.9972 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.212, allocations: 12 kB / 0.9972 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2122, allocations: 11.98 kB / 0.9973 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.2123, allocations: 47.92 kB / 0.9973 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.2123, allocations: 16 kB / 0.9973 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003084/0.2126, allocations: 411 kB / 0.9977 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2126, allocations: 3.938 kB / 0.9977 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003902/0.213, allocations: 131.5 kB / 0.9978 GB, free: 7.855 MB / 0.6198 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 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,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.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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.001404/0.2144, allocations: 1.354 MB / 0.9992 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.215, allocations: 379 kB / 0.9995 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.215, allocations: 0 / 0.9995 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.2152, allocations: 175.7 kB / 0.9997 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.2157, allocations: 90.95 kB / 0.9998 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.2194, allocations: 3.508 MB / 1.003 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.2198, allocations: 0.9302 MB / 1.004 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.22, allocations: 84.33 kB / 1.004 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.2202, allocations: 247.4 kB / 1.004 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.2202, allocations: 0 / 1.004 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3683/0.5886, allocations: 11.35 MB / 1.016 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003456/0.589, allocations: 243.8 kB / 1.016 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/2.967, allocations: 0 / 1.016 GB, free: 5.656 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)