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.69/2.69, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001601/0.001601, allocations: 186.8 kB / 370.8 MB, free: 10.85 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.337/2.337, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.00116/0.00116, allocations: 89.66 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006551, allocations: 13.19 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2389, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.005658/0.2447, allocations: 2.386 MB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00474/0.2495, allocations: 1.488 MB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.25, allocations: 11.94 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.2515, allocations: 278.9 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008248/0.2524, allocations: 159.6 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.2541, allocations: 278.3 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.2554, allocations: 452.5 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/0.2563, allocations: 382.4 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/0.2567, allocations: 215.2 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.2572, allocations: 222.9 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.2573, allocations: 24 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.2577, allocations: 51.97 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.2579, allocations: 151.5 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.2582, allocations: 141.3 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.2592, allocations: 0.5416 MB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2592, allocations: 0 / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2593, allocations: 0 / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.2593, allocations: 0 / 0.9849 GB, free: 21.52 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.002182/0.2615, allocations: 0.879 MB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.2616, allocations: 16.02 kB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00019/0.2618, allocations: 94.52 kB / 0.9858 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.262, allocations: 94.91 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.2633, allocations: 456 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.469e-05/0.2634, allocations: 53.19 kB / 0.9864 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.2635, allocations: 52 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.2653, allocations: 0.6013 MB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.2654, allocations: 3.938 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/0.2655, allocations: 28 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.2656, allocations: 12 kB / 0.9871 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.267, allocations: 383.5 kB / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/0.2715, allocations: 2.58 MB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.2728, allocations: 279 kB / 0.9902 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.2729, allocations: 8.531 kB / 0.9902 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007497/0.2737, allocations: 201.9 kB / 0.9904 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 5.39e-06/0.2737, allocations: 0 / 0.9904 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.00179/0.2755, allocations: 458.5 kB / 0.9909 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.2756, allocations: 89.11 kB / 0.991 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.2769, allocations: 0.6207 MB / 0.9916 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/0.277, allocations: 53.62 kB / 0.9916 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.2775, allocations: 352.4 kB / 0.9919 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.2776, allocations: 106.7 kB / 0.9921 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.2777, allocations: 12 kB / 0.9921 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2779, allocations: 378.8 kB / 0.9924 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.2785, allocations: 125.2 kB / 0.9925 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007334/0.2792, allocations: 331.7 kB / 0.9929 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.2799, allocations: 144.7 kB / 0.993 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.2799, allocations: 4 kB / 0.993 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001873/0.2818, allocations: 0.5145 MB / 0.9935 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.2819, allocations: 6.031 kB / 0.9935 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.2819, allocations: 8 kB / 0.9935 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-05/0.282, allocations: 11.95 kB / 0.9935 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.2826, allocations: 75.83 kB / 0.9936 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.61e-05/0.2826, allocations: 12.5 kB / 0.9936 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.2833, allocations: 59.44 kB / 0.9937 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.93e-05/0.2834, allocations: 31.98 kB / 0.9937 GB, free: 12.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.0006268/0.284, allocations: 258.8 kB / 0.9939 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.2842, allocations: 67.25 kB / 0.994 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.2857, allocations: 403.4 kB / 0.9944 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.2857, allocations: 7.953 kB / 0.9944 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2857, allocations: 0 / 0.9944 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.2857, allocations: 4 kB / 0.9944 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.2885, allocations: 1.051 MB / 0.9954 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.2886, allocations: 3.953 kB / 0.9954 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.2889, allocations: 31.92 kB / 0.9955 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.289, allocations: 0 / 0.9955 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.289, allocations: 15.92 kB / 0.9955 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.2891, allocations: 0 / 0.9955 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2891, allocations: 4 kB / 0.9955 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.2904, allocations: 474.9 kB / 0.9959 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.2906, allocations: 144.2 kB / 0.9961 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.2908, allocations: 11.98 kB / 0.9961 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.2912, allocations: 12 kB / 0.9961 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.2914, allocations: 51.86 kB / 0.9962 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.2915, allocations: 19.98 kB / 0.9962 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008387/0.2923, allocations: 407 kB / 0.9966 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.132e-06/0.2924, allocations: 0 / 0.9966 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001051/0.2934, allocations: 131.7 kB / 0.9967 GB, free: 8.863 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.003041/0.2965, allocations: 1.349 MB / 0.998 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.2978, allocations: 383.8 kB / 0.9984 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.2979, allocations: 4 kB / 0.9984 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005514/0.2984, allocations: 175.7 kB / 0.9985 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.2994, allocations: 77.58 kB / 0.9986 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.3096, allocations: 7.209 MB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.3106, allocations: 0.9418 MB / 1.007 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005927/0.3113, allocations: 80.33 kB / 1.007 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/0.312, allocations: 247.3 kB / 1.007 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of SimCode: time 1.523e-06/0.312, allocations: 0 / 1.007 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.3645, allocations: 11.34 MB / 1.018 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003436/0.3649, allocations: 228.4 kB / 1.018 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.936/3.301, allocations: 7.938 kB / 1.018 GB, free: 2.938 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)