Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.4 MB / 303.3 MB, free: 8.211 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.001191/0.001191, allocations: 190.2 kB / 372 MB, free: 10.28 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.623/1.623, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007031/0.0007032, allocations: 81.38 kB / 0.744 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005103/0.0005104, allocations: 16.62 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003556/0.2252, allocations: 2.41 MB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002525/0.2278, allocations: 1.534 MB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.2281, allocations: 11.94 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009393/0.229, allocations: 278.8 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.2295, allocations: 147.3 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.2304, allocations: 283.8 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.2311, allocations: 0.6364 MB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005421/0.2317, allocations: 370.4 kB / 0.9852 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.2319, allocations: 219.1 kB / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.2322, allocations: 226.9 kB / 0.9856 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.2323, allocations: 23.94 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.2325, allocations: 71.95 kB / 0.9857 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2326, allocations: 155.4 kB / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.2328, allocations: 129.3 kB / 0.9859 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005317/0.2333, allocations: 0.5261 MB / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.2333, allocations: 4 kB / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2333, allocations: 7.875 kB / 0.9865 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2334, allocations: 4 kB / 0.9865 GB, free: 20.56 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.001339/0.2347, allocations: 0.8769 MB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2348, allocations: 16.02 kB / 0.9873 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.2349, allocations: 94.5 kB / 0.9874 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.235, allocations: 86.92 kB / 0.9875 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.2357, allocations: 464 kB / 0.988 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.2358, allocations: 49.25 kB / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/0.2359, allocations: 67.98 kB / 0.9881 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.237, allocations: 0.6051 MB / 0.9887 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.237, allocations: 0 / 0.9887 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.2371, allocations: 27.94 kB / 0.9887 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2371, allocations: 12 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/0.238, allocations: 371.6 kB / 0.9891 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.2406, allocations: 2.58 MB / 0.9916 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.2411, allocations: 288.4 kB / 0.9919 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.2413, allocations: 136.7 kB / 0.992 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.2414, allocations: 8 kB / 0.992 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.2417, allocations: 205.9 kB / 0.9922 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.973e-06/0.2417, allocations: 3.938 kB / 0.9922 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0006632/0.2424, allocations: 458.5 kB / 0.9926 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2424, allocations: 85.05 kB / 0.9927 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.2431, allocations: 0.6246 MB / 0.9933 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.2432, allocations: 49.69 kB / 0.9934 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.2435, allocations: 360.4 kB / 0.9937 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/0.2436, allocations: 98.73 kB / 0.9938 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.2436, allocations: 12 kB / 0.9938 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2437, allocations: 378.8 kB / 0.9942 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.244, allocations: 129.2 kB / 0.9943 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.2445, allocations: 341.5 kB / 0.9946 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.2448, allocations: 136.8 kB / 0.9948 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.2448, allocations: 4 kB / 0.9948 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009655/0.2458, allocations: 0.5148 MB / 0.9953 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2458, allocations: 8 kB / 0.9953 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.2458, allocations: 4 kB / 0.9953 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.2459, allocations: 15.95 kB / 0.9953 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.2462, allocations: 71.78 kB / 0.9954 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.2462, allocations: 11.98 kB / 0.9954 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.2466, allocations: 59.44 kB / 0.9954 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.2466, allocations: 32.23 kB / 0.9955 GB, free: 10.91 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.0003587/0.247, allocations: 266.8 kB / 0.9957 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.2471, allocations: 63.23 kB / 0.9958 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.248, allocations: 403.4 kB / 0.9962 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.248, allocations: 4 kB / 0.9962 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.248, allocations: 3.953 kB / 0.9962 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.248, allocations: 7.984 kB / 0.9962 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.2497, allocations: 1.039 MB / 0.9972 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2497, allocations: 3.938 kB / 0.9972 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.2498, allocations: 27.94 kB / 0.9972 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.2499, allocations: 7.938 kB / 0.9972 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.2499, allocations: 11.98 kB / 0.9972 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2499, allocations: 7.938 kB / 0.9972 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2499, allocations: 0 / 0.9972 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.2507, allocations: 475.2 kB / 0.9977 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2508, allocations: 140.2 kB / 0.9978 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.2509, allocations: 15.94 kB / 0.9978 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.2512, allocations: 16 kB / 0.9979 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.2514, allocations: 51.86 kB / 0.9979 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.2514, allocations: 19.98 kB / 0.9979 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005847/0.252, allocations: 403 kB / 0.9983 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.252, allocations: 0 / 0.9983 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007206/0.2528, allocations: 131.7 kB / 0.9984 GB, free: 7.742 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.002309/0.2551, allocations: 1.353 MB / 0.9998 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009736/0.2561, allocations: 376.3 kB / 1 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2561, allocations: 64 / 1 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.2565, allocations: 183.7 kB / 1 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/0.2573, allocations: 86.89 kB / 1 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/0.2631, allocations: 3.504 MB / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.2636, allocations: 0.938 MB / 1.005 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003808/0.264, allocations: 72.34 kB / 1.005 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.2644, allocations: 251.3 kB / 1.005 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.2644, allocations: 0 / 1.005 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.2985, allocations: 11.37 MB / 1.016 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/0.2988, allocations: 237.3 kB / 1.016 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/2.576, allocations: 0 / 1.016 GB, free: 5.492 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)