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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 303.6 MB, free: 8.145 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.001471/0.001471, allocations: 176.5 kB / 372.3 MB, free: 10.13 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.644/1.644, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0007839/0.0007839, allocations: 90.31 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004367, allocations: 12.38 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2489, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002717/0.2516, allocations: 2.046 MB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2535, allocations: 1.321 MB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.2537, allocations: 4 kB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006005/0.2543, allocations: 211.1 kB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.2547, allocations: 131.4 kB / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.255, allocations: 131 kB / 0.9839 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.2553, allocations: 298.9 kB / 0.9842 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2556, allocations: 96.86 kB / 0.9843 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2557, allocations: 119.4 kB / 0.9844 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.2559, allocations: 131.4 kB / 0.9845 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.2559, allocations: 8 kB / 0.9845 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.256, allocations: 39.92 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.2561, allocations: 107.6 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.2563, allocations: 180.5 kB / 0.9848 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2566, allocations: 383.1 kB / 0.9852 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2566, allocations: 0 / 0.9852 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2566, allocations: 3.938 kB / 0.9852 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2566, allocations: 0 / 0.9852 GB, free: 22.15 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.0009438/0.2576, allocations: 0.7351 MB / 0.9859 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.2576, allocations: 8.031 kB / 0.9859 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.2577, allocations: 60.19 kB / 0.986 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.2582, allocations: 424.2 kB / 0.9864 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.2582, allocations: 8.609 kB / 0.9864 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.2583, allocations: 15.94 kB / 0.9864 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.2585, allocations: 139.9 kB / 0.9865 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2585, allocations: 0 / 0.9865 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.2585, allocations: 7.938 kB / 0.9865 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2586, allocations: 4 kB / 0.9865 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.2587, allocations: 83.95 kB / 0.9866 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.2596, allocations: 0.6562 MB / 0.9873 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.26, allocations: 134.6 kB / 0.9874 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.2601, allocations: 48.84 kB / 0.9874 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.2601, allocations: 4 kB / 0.9874 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.2603, allocations: 103.3 kB / 0.9875 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.2603, allocations: 0 / 0.9875 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0003761/0.2607, allocations: 217.2 kB / 0.9877 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.2607, allocations: 55.41 kB / 0.9878 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.2613, allocations: 0.6436 MB / 0.9884 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2613, allocations: 37.7 kB / 0.9885 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.2614, allocations: 252.4 kB / 0.9887 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.2615, allocations: 35.55 kB / 0.9887 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.2615, allocations: 7.984 kB / 0.9887 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.2616, allocations: 366.8 kB / 0.9891 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2617, allocations: 71.97 kB / 0.9892 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.2618, allocations: 116.9 kB / 0.9893 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.262, allocations: 140.6 kB / 0.9894 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2621, allocations: 4 kB / 0.9894 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003256/0.2624, allocations: 264.8 kB / 0.9897 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2624, allocations: 4 kB / 0.9897 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2624, allocations: 0 / 0.9897 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2624, allocations: 0 / 0.9897 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2626, allocations: 43.92 kB / 0.9897 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2626, allocations: 8.016 kB / 0.9897 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.2628, allocations: 31.86 kB / 0.9897 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.2628, allocations: 8 kB / 0.9898 GB, free: 17.23 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.0001666/0.263, allocations: 205.7 kB / 0.9899 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.263, allocations: 59.28 kB / 0.99 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.2631, allocations: 60.66 kB / 0.9901 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2631, allocations: 4 kB / 0.9901 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2632, allocations: 0 / 0.9901 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.2632, allocations: 0 / 0.9901 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.2634, allocations: 373.2 kB / 0.9904 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2634, allocations: 4 kB / 0.9904 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.2635, allocations: 15.98 kB / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2635, allocations: 0 / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2635, allocations: 0 / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2635, allocations: 0 / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2635, allocations: 0 / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.2639, allocations: 272.3 kB / 0.9907 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.264, allocations: 124.5 kB / 0.9908 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.264, allocations: 11.98 kB / 0.9908 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2642, allocations: 15.98 kB / 0.9908 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.2642, allocations: 19.97 kB / 0.9909 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2643, allocations: 16.05 kB / 0.9909 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003525/0.2646, allocations: 426.8 kB / 0.9913 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2646, allocations: 0 / 0.9913 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002597/0.2649, allocations: 63.84 kB / 0.9913 GB, free: 15.5 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.0009186/0.2658, allocations: 420.9 kB / 0.9918 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.2661, allocations: 158.7 kB / 0.9919 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2661, allocations: 4.062 kB / 0.9919 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.2662, allocations: 59.91 kB / 0.992 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.2667, allocations: 74.34 kB / 0.992 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.2677, allocations: 0.9323 MB / 0.9929 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.268, allocations: 0.8535 MB / 0.9938 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.2681, allocations: 38.28 kB / 0.9938 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.2682, allocations: 27.42 kB / 0.9938 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.2682, allocations: 4 kB / 0.9938 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.00719/0.2754, allocations: 3.655 MB / 0.9974 GB, free: 9.398 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)