Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",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.805/2.805, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001505/0.001504, allocations: 183 kB / 370.8 MB, free: 10.86 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.326/2.326, 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.001271/0.001271, allocations: 92.23 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006422/0.0006424, allocations: 11.56 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2396, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004218/0.2439, allocations: 2.585 MB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003535/0.2475, allocations: 1.601 MB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/0.248, allocations: 11.94 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.2494, allocations: 379.7 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000826/0.2502, allocations: 236.5 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.2517, allocations: 360.5 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009883/0.2527, allocations: 0.4917 MB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007585/0.2535, allocations: 395 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.2539, allocations: 239 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.2543, allocations: 254.8 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.2544, allocations: 20 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.2547, allocations: 79.83 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.2549, allocations: 167.4 kB / 0.9849 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2551, allocations: 149.2 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007958/0.2559, allocations: 0.5923 MB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2559, allocations: 0 / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2559, allocations: 0 / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.2559, allocations: 0 / 0.9856 GB, free: 20.74 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002099/0.258, allocations: 0.9932 MB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.2581, allocations: 12.02 kB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.2583, allocations: 94.52 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.2585, allocations: 98.77 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.2596, allocations: 492.4 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.2597, allocations: 74.69 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.2598, allocations: 55.94 kB / 0.9874 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.2611, allocations: 0.5307 MB / 0.9879 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.2612, allocations: 11.94 kB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.2612, allocations: 16 kB / 0.9879 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.2613, allocations: 19.94 kB / 0.9879 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000917/0.2622, allocations: 331.7 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003011/0.2652, allocations: 2.071 MB / 0.9903 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/0.2661, allocations: 283.6 kB / 0.9906 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.2662, allocations: 11.98 kB / 0.9906 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005293/0.2667, allocations: 206.9 kB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 4.028e-06/0.2667, allocations: 3.984 kB / 0.9908 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001332/0.2681, allocations: 460.7 kB / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.2682, allocations: 114.8 kB / 0.9913 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.2693, allocations: 0.7423 MB / 0.992 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-05/0.2694, allocations: 49.69 kB / 0.9921 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.2697, allocations: 380.5 kB / 0.9925 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2699, allocations: 106.7 kB / 0.9926 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.2699, allocations: 8 kB / 0.9926 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/0.27, allocations: 337.9 kB / 0.9929 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.2704, allocations: 125.2 kB / 0.993 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.2709, allocations: 311.5 kB / 0.9933 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.2714, allocations: 144.7 kB / 0.9934 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-06/0.2714, allocations: 0 / 0.9934 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001232/0.2726, allocations: 0.5025 MB / 0.9939 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.2727, allocations: 4.594 kB / 0.9939 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.2727, allocations: 4 kB / 0.9939 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.2727, allocations: 16 kB / 0.994 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.2732, allocations: 71.83 kB / 0.994 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.2732, allocations: 11.94 kB / 0.994 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/0.2737, allocations: 59.52 kB / 0.9941 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.2738, allocations: 27.98 kB / 0.9941 GB, free: 11.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,pumOn.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition3.localCondition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.000496/0.2743, allocations: 278.7 kB / 0.9944 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.2744, allocations: 71.06 kB / 0.9944 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.2756, allocations: 412.2 kB / 0.9948 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.2757, allocations: 8 kB / 0.9948 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.2757, allocations: 3.938 kB / 0.9949 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.2757, allocations: 3.984 kB / 0.9949 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.2782, allocations: 1.06 MB / 0.9959 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.2782, allocations: 0 / 0.9959 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.2784, allocations: 31.86 kB / 0.9959 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.2785, allocations: 0 / 0.9959 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.2785, allocations: 15.98 kB / 0.9959 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.2785, allocations: 4 kB / 0.9959 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2785, allocations: 0 / 0.9959 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2796, allocations: 489.7 kB / 0.9964 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.2798, allocations: 152.2 kB / 0.9966 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.2799, allocations: 15.98 kB / 0.9966 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.2803, allocations: 15.98 kB / 0.9966 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.2805, allocations: 43.94 kB / 0.9966 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.2805, allocations: 19.98 kB / 0.9966 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008496/0.2814, allocations: 0.5068 MB / 0.9971 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2814, allocations: 0 / 0.9971 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008161/0.2822, allocations: 135.5 kB / 0.9973 GB, free: 8.285 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: 36 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002491/0.2848, allocations: 1.379 MB / 0.9986 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.286, allocations: 366 kB / 0.999 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.286, allocations: 0 / 0.999 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.2865, allocations: 169.1 kB / 0.9991 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009226/0.2874, allocations: 114.8 kB / 0.9992 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008707/0.2962, allocations: 6.728 MB / 1.006 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.297, allocations: 0.9695 MB / 1.007 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006101/0.2977, allocations: 92.78 kB / 1.007 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000609/0.2983, allocations: 279.3 kB / 1.007 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.2983, allocations: 3.938 kB / 1.007 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06436/0.3627, allocations: 13.2 MB / 1.02 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003467/0.3631, allocations: 228.5 kB / 1.02 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/3.577, allocations: 4 kB / 1.02 GB, free: 0.9023 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)