Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000543/0.000543, allocations: 15.47 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2492, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.003351/0.2526, allocations: 2.39 MB / 0.7896 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.255, allocations: 1.495 MB / 0.791 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.2553, allocations: 11.94 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008279/0.2561, allocations: 278.9 kB / 0.7913 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.2565, allocations: 156.9 kB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.2572, allocations: 285 kB / 0.7917 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.2578, allocations: 460.4 kB / 0.7922 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005621/0.2583, allocations: 374.4 kB / 0.7925 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.2586, allocations: 211.2 kB / 0.7927 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.2589, allocations: 226.9 kB / 0.7929 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.2589, allocations: 24 kB / 0.793 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.2591, allocations: 55.97 kB / 0.793 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.2593, allocations: 151.4 kB / 0.7932 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.2595, allocations: 133.3 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.26, allocations: 0.5377 MB / 0.7938 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2601, allocations: 0 / 0.7938 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2601, allocations: 0 / 0.7938 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.2601, allocations: 0 / 0.7938 GB, free: 5.094 MB / 0.6075 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.001494/0.2616, allocations: 0.8886 MB / 0.7947 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.2616, allocations: 8.031 kB / 0.7947 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.2618, allocations: 94.52 kB / 0.7948 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.2619, allocations: 86.92 kB / 0.7949 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.2626, allocations: 460 kB / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.2627, allocations: 49.3 kB / 0.7953 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.2627, allocations: 56 kB / 0.7954 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008866/0.2636, allocations: 0.6079 MB / 0.796 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2637, allocations: 4 kB / 0.796 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.2637, allocations: 16 kB / 0.796 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.2637, allocations: 19.94 kB / 0.796 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.2644, allocations: 375.5 kB / 0.7964 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.2669, allocations: 2.572 MB / 0.7989 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.2676, allocations: 293.7 kB / 0.7992 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.2676, allocations: 4.594 kB / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.2681, allocations: 209.9 kB / 0.7994 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.795e-06/0.2681, allocations: 0 / 0.7994 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.0008595/0.2689, allocations: 461.8 kB / 0.7998 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.269, allocations: 85.09 kB / 0.7999 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006961/0.2697, allocations: 0.6246 MB / 0.8005 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.2698, allocations: 45.7 kB / 0.8006 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.2701, allocations: 356.4 kB / 0.8009 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.2702, allocations: 102.7 kB / 0.801 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.2702, allocations: 8 kB / 0.801 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2704, allocations: 378.8 kB / 0.8014 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.2706, allocations: 137.2 kB / 0.8015 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.271, allocations: 331.6 kB / 0.8018 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.2712, allocations: 140.8 kB / 0.8019 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2712, allocations: 3.938 kB / 0.8019 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007613/0.272, allocations: 0.5104 MB / 0.8024 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.272, allocations: 8 kB / 0.8025 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2721, allocations: 8.766 kB / 0.8025 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.2721, allocations: 12 kB / 0.8025 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.2723, allocations: 79.73 kB / 0.8026 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.2723, allocations: 8 kB / 0.8026 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.2726, allocations: 59.42 kB / 0.8026 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.2727, allocations: 32 kB / 0.8026 GB, free: 11.59 MB / 0.6231 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.0003514/0.273, allocations: 270.8 kB / 0.8029 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.2731, allocations: 59.25 kB / 0.803 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.2738, allocations: 403.3 kB / 0.8033 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.2738, allocations: 4 kB / 0.8033 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2738, allocations: 7.891 kB / 0.8034 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.2738, allocations: 7.969 kB / 0.8034 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.2753, allocations: 1.047 MB / 0.8044 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2753, allocations: 0 / 0.8044 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.2754, allocations: 27.92 kB / 0.8044 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2755, allocations: 7.953 kB / 0.8044 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.2755, allocations: 7.984 kB / 0.8044 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2755, allocations: 4 kB / 0.8044 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2755, allocations: 3.938 kB / 0.8044 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.2761, allocations: 475.3 kB / 0.8049 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.2763, allocations: 144.2 kB / 0.805 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.2763, allocations: 11.95 kB / 0.805 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.2765, allocations: 19.98 kB / 0.8051 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.2766, allocations: 43.92 kB / 0.8051 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.2766, allocations: 16 kB / 0.8051 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004429/0.2771, allocations: 407 kB / 0.8055 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2771, allocations: 0 / 0.8055 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005629/0.2777, allocations: 131.7 kB / 0.8056 GB, free: 8.422 MB / 0.6231 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.002108/0.2798, allocations: 1.352 MB / 0.8069 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007674/0.2806, allocations: 378.5 kB / 0.8073 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2806, allocations: 0 / 0.8073 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.2809, allocations: 175.8 kB / 0.8075 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.2814, allocations: 83.23 kB / 0.8076 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.2879, allocations: 7.197 MB / 0.8146 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.2885, allocations: 0.9458 MB / 0.8155 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002976/0.2888, allocations: 84.31 kB / 0.8156 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.2891, allocations: 251.3 kB / 0.8158 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of SimCode: time 1.623e-06/0.2891, allocations: 0 / 0.8158 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.3144, allocations: 11.36 MB / 0.8269 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.3147, allocations: 221.8 kB / 0.8271 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/2.581, allocations: 3.938 kB / 0.8271 GB, free: 2.516 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) Environment - environmentSimulation: