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 2.626/2.626, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.001386/0.001385, allocations: 178.5 kB / 371 MB, free: 10.88 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.268/2.268, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0009644/0.0009642, allocations: 98.66 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000724/0.0007243, allocations: 15.38 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2556, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003654/0.2593, allocations: 2.413 MB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.2624, allocations: 1.515 MB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003789/0.2628, allocations: 11.94 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.2639, allocations: 286.8 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.2645, allocations: 151.3 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2655, allocations: 273.6 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009929/0.2665, allocations: 0.6403 MB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006386/0.2672, allocations: 378.4 kB / 0.984 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.2675, allocations: 207.1 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.2679, allocations: 238.8 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.96e-05/0.268, allocations: 20 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.2683, allocations: 67.97 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.2685, allocations: 155.4 kB / 0.9846 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.2686, allocations: 133.3 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000704/0.2693, allocations: 0.5299 MB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2694, allocations: 4 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2694, allocations: 4 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.2694, allocations: 3.938 kB / 0.9853 GB, free: 21.24 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.001587/0.271, allocations: 0.8769 MB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2711, allocations: 16.02 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.2712, allocations: 90.52 kB / 0.9862 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.2714, allocations: 86.92 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007636/0.2722, allocations: 460 kB / 0.9868 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.2722, allocations: 53.3 kB / 0.9868 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/0.2724, allocations: 56 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.2736, allocations: 0.6129 MB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.2736, allocations: 3.938 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/0.2737, allocations: 27.98 kB / 0.9875 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.2737, allocations: 12 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009463/0.2747, allocations: 371.6 kB / 0.9879 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.2777, allocations: 2.572 MB / 0.9904 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008624/0.2786, allocations: 286.9 kB / 0.9907 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.2789, allocations: 144.5 kB / 0.9908 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.279, allocations: 8 kB / 0.9908 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004904/0.2795, allocations: 209.8 kB / 0.991 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 3.577e-06/0.2795, allocations: 0 / 0.991 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.001172/0.2807, allocations: 458.5 kB / 0.9914 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2808, allocations: 85.11 kB / 0.9915 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.2816, allocations: 0.6323 MB / 0.9921 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.2817, allocations: 45.7 kB / 0.9922 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.2821, allocations: 360.4 kB / 0.9925 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.2822, allocations: 98.73 kB / 0.9926 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.2822, allocations: 16 kB / 0.9926 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2824, allocations: 374.8 kB / 0.993 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.2827, allocations: 133.2 kB / 0.9931 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.2832, allocations: 331.6 kB / 0.9934 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.2836, allocations: 144.8 kB / 0.9936 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.2836, allocations: 3.938 kB / 0.9936 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001143/0.2848, allocations: 0.5069 MB / 0.9941 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.2848, allocations: 8 kB / 0.9941 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.2849, allocations: 7.953 kB / 0.9941 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.2849, allocations: 12 kB / 0.9941 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.2853, allocations: 79.77 kB / 0.9942 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.2853, allocations: 8 kB / 0.9942 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.2857, allocations: 59.8 kB / 0.9942 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.2858, allocations: 32 kB / 0.9943 GB, free: 11.59 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.0004664/0.2863, allocations: 262.8 kB / 0.9945 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.2864, allocations: 63.23 kB / 0.9946 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.2874, allocations: 399.4 kB / 0.995 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.2875, allocations: 7.953 kB / 0.995 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2875, allocations: 4 kB / 0.995 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.2875, allocations: 3.984 kB / 0.995 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.2896, allocations: 1.055 MB / 0.996 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.2897, allocations: 0 / 0.996 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.2898, allocations: 23.92 kB / 0.996 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/0.2899, allocations: 4 kB / 0.996 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.2899, allocations: 12 kB / 0.996 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.2899, allocations: 7.984 kB / 0.996 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.29, allocations: 0 / 0.996 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.2908, allocations: 470.9 kB / 0.9965 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.291, allocations: 148.1 kB / 0.9966 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2911, allocations: 12 kB / 0.9966 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.2914, allocations: 19.98 kB / 0.9967 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.2916, allocations: 43.94 kB / 0.9967 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.2916, allocations: 23.92 kB / 0.9967 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000608/0.2922, allocations: 407 kB / 0.9971 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2923, allocations: 0 / 0.9971 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007531/0.293, allocations: 127.7 kB / 0.9972 GB, free: 8.43 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.002338/0.2954, allocations: 1.36 MB / 0.9986 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.2965, allocations: 372.3 kB / 0.9989 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2965, allocations: 4.125 kB / 0.9989 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.2969, allocations: 179.7 kB / 0.9991 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008447/0.2978, allocations: 90.86 kB / 0.9992 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/0.3046, allocations: 3.504 MB / 1.003 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3052, allocations: 0.9341 MB / 1.004 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004238/0.3056, allocations: 76.34 kB / 1.004 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.3061, allocations: 251.3 kB / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of SimCode: time 1.362e-06/0.3061, allocations: 0 / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04362/0.3497, allocations: 11.36 MB / 1.015 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.35, allocations: 242.4 kB / 1.015 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/3.53, allocations: 0 / 1.015 GB, free: 6.215 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)