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.654/1.654, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001286/0.001286, allocations: 178.9 kB / 371.8 MB, free: 10.27 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.676/1.676, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.0009921/0.000992, allocations: 101 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 13.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2509, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002479/0.2534, allocations: 2.031 MB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2551, allocations: 1.301 MB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.2552, allocations: 3.938 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.2557, allocations: 207.2 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.256, allocations: 135.6 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.2563, allocations: 132.7 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000254/0.2566, allocations: 223.5 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.2568, allocations: 64.7 kB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2569, allocations: 123.5 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.257, allocations: 123.4 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.2571, allocations: 8 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.2572, allocations: 47.84 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.2573, allocations: 115.6 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.2573, allocations: 93.39 kB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.2576, allocations: 375.1 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2576, allocations: 0 / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2576, allocations: 0 / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2577, allocations: 4 kB / 0.9843 GB, free: 22.62 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.0008982/0.2586, allocations: 0.7349 MB / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2586, allocations: 12.02 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.2587, allocations: 46.55 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.2587, allocations: 63.2 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.2592, allocations: 399.2 kB / 0.9855 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2592, allocations: 8.234 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.2593, allocations: 16 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.2595, allocations: 132.2 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2595, allocations: 0 / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2595, allocations: 4 kB / 0.9857 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2595, allocations: 4 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.2597, allocations: 91.84 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.2606, allocations: 0.6485 MB / 0.9864 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.2609, allocations: 130.6 kB / 0.9865 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.261, allocations: 8.031 kB / 0.9865 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.2612, allocations: 107.5 kB / 0.9866 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.2612, allocations: 0 / 0.9866 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0003639/0.2615, allocations: 212.8 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.2616, allocations: 51.41 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.2621, allocations: 0.6437 MB / 0.9875 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2621, allocations: 29.7 kB / 0.9876 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.2623, allocations: 264.3 kB / 0.9878 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.2623, allocations: 39.55 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.2623, allocations: 8 kB / 0.9878 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.2624, allocations: 366.7 kB / 0.9882 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2625, allocations: 79.91 kB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2627, allocations: 112.3 kB / 0.9884 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.2628, allocations: 75.06 kB / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2628, allocations: 4 kB / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003131/0.2631, allocations: 268.8 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2631, allocations: 4 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2632, allocations: 0 / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2632, allocations: 4 kB / 0.9887 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2633, allocations: 43.84 kB / 0.9888 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.2634, allocations: 0 / 0.9888 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.2635, allocations: 39.86 kB / 0.9888 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.2636, allocations: 8 kB / 0.9888 GB, free: 17.78 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.0001543/0.2637, allocations: 209.7 kB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.2638, allocations: 51.34 kB / 0.9891 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.811e-05/0.2638, allocations: 60.66 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2639, allocations: 0 / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2639, allocations: 0 / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2639, allocations: 4 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.2641, allocations: 373.4 kB / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2641, allocations: 0 / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-05/0.2642, allocations: 11.98 kB / 0.9895 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2642, allocations: 0 / 0.9895 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.2642, allocations: 4 kB / 0.9895 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2642, allocations: 8 kB / 0.9895 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2642, allocations: 0 / 0.9895 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.2646, allocations: 268.1 kB / 0.9898 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.2647, allocations: 132.4 kB / 0.9899 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.2647, allocations: 4 kB / 0.9899 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.2649, allocations: 15.98 kB / 0.9899 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.2649, allocations: 27.95 kB / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.265, allocations: 4 kB / 0.9899 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003376/0.2653, allocations: 426.8 kB / 0.9903 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2653, allocations: 4.062 kB / 0.9903 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002562/0.2656, allocations: 59.98 kB / 0.9904 GB, free: 16.05 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.001288/0.2669, allocations: 1.125 MB / 0.9915 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.2672, allocations: 159.8 kB / 0.9916 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2672, allocations: 0 / 0.9916 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.789e-05/0.2673, allocations: 51.97 kB / 0.9917 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.2676, allocations: 67.39 kB / 0.9918 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.269, allocations: 1.412 MB / 0.9931 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2692, allocations: 0.8651 MB / 0.994 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.2694, allocations: 42.27 kB / 0.994 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.2695, allocations: 167.4 kB / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.2695, allocations: 0 / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.2884, allocations: 8.753 MB / 1.003 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.2886, allocations: 240.5 kB / 1.003 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/2.546, allocations: 0 / 1.003 GB, free: 3.34 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)