Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.AssertPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",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.689/1.689, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.001402/0.001402, allocations: 190 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.719/1.719, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007596/0.0007596, allocations: 92.53 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004529, allocations: 16.14 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002909/0.2452, allocations: 2.042 MB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.2471, allocations: 1.325 MB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.2472, allocations: 7.938 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005565/0.2478, allocations: 207.1 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.2481, allocations: 131.4 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.2484, allocations: 123.8 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.2487, allocations: 306.9 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.2489, allocations: 64.7 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.249, allocations: 111.4 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2492, allocations: 127.4 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.2492, allocations: 8 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.2493, allocations: 47.91 kB / 0.984 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.605e-05/0.2494, allocations: 107.6 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.2495, allocations: 93.45 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.2498, allocations: 383 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2498, allocations: 4 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.806e-06/0.2498, allocations: 0 / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.2498, allocations: 0 / 0.9846 GB, free: 22.51 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001089/0.2509, allocations: 0.7389 MB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.251, allocations: 12.02 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.2511, allocations: 42.56 kB / 0.9854 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.2512, allocations: 63.2 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.2516, allocations: 399.2 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.2517, allocations: 12.23 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.2517, allocations: 12 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.252, allocations: 136.2 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2521, allocations: 11.86 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.2521, allocations: 8 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2521, allocations: 4 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.2523, allocations: 87.86 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.2533, allocations: 0.6408 MB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.2538, allocations: 138.6 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2539, allocations: 48.84 kB / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.254, allocations: 3.984 kB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.2542, allocations: 99.36 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.2542, allocations: 0 / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004837/0.2547, allocations: 220.8 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2547, allocations: 59.39 kB / 0.9872 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.2554, allocations: 0.6436 MB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.2555, allocations: 33.7 kB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.2557, allocations: 252.4 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.2557, allocations: 39.55 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.2557, allocations: 4 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2559, allocations: 366.8 kB / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.2561, allocations: 79.97 kB / 0.9886 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.2562, allocations: 116.3 kB / 0.9887 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.2564, allocations: 71.03 kB / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2564, allocations: 0 / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003382/0.2567, allocations: 268.8 kB / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2568, allocations: 8 kB / 0.989 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2568, allocations: 4.062 kB / 0.989 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2568, allocations: 0 / 0.989 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.257, allocations: 39.92 kB / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.257, allocations: 0 / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2572, allocations: 39.81 kB / 0.9891 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.2572, allocations: 11.95 kB / 0.9891 GB, free: 17.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001867/0.2574, allocations: 201.8 kB / 0.9893 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.2574, allocations: 55.28 kB / 0.9894 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.2575, allocations: 60.66 kB / 0.9894 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2575, allocations: 3.938 kB / 0.9894 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2575, allocations: 4 kB / 0.9894 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2576, allocations: 0 / 0.9894 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.2578, allocations: 369.4 kB / 0.9898 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2578, allocations: 0 / 0.9898 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/0.2579, allocations: 8 kB / 0.9898 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2579, allocations: 8 kB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.258, allocations: 11.92 kB / 0.9898 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.258, allocations: 3.984 kB / 0.9898 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.258, allocations: 0 / 0.9898 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.2583, allocations: 262 kB / 0.9901 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.2584, allocations: 128.4 kB / 0.9902 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.2585, allocations: 11.94 kB / 0.9902 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2586, allocations: 20.05 kB / 0.9902 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.2587, allocations: 23.95 kB / 0.9902 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2587, allocations: 8 kB / 0.9903 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003694/0.2591, allocations: 430.8 kB / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2591, allocations: 0 / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002558/0.2594, allocations: 56 kB / 0.9907 GB, free: 15.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001389/0.2607, allocations: 1.13 MB / 0.9918 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000293/0.2611, allocations: 151.9 kB / 0.992 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2611, allocations: 0 / 0.992 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.2612, allocations: 55.92 kB / 0.992 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.2616, allocations: 70.61 kB / 0.9921 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.2648, allocations: 2.912 MB / 0.9949 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.2651, allocations: 0.857 MB / 0.9958 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.2653, allocations: 46.27 kB / 0.9958 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.2655, allocations: 163.4 kB / 0.996 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2655, allocations: 0 / 0.996 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.2851, allocations: 8.933 MB / 1.005 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.2853, allocations: 236.2 kB / 1.005 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.587, allocations: 4 kB / 1.005 GB, free: 1.488 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)