Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.776/2.776, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001399/0.001399, allocations: 182 kB / 371 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.294/2.294, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009165/0.0009162, allocations: 91.34 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004762, allocations: 12.22 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2293, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003364/0.2327, allocations: 2.05 MB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.2355, allocations: 1.325 MB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.2358, allocations: 7.938 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.2366, allocations: 207.1 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.2371, allocations: 127.4 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.2377, allocations: 126 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000535/0.2383, allocations: 299 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.2385, allocations: 64.66 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.2388, allocations: 123.4 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.239, allocations: 131.4 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.239, allocations: 4 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.2393, allocations: 47.91 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2394, allocations: 107.6 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.2395, allocations: 93.44 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.24, allocations: 379.1 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.24, allocations: 8 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.24, allocations: 3.938 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.24, allocations: 0 / 0.9833 GB, free: 23.27 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.00136/0.2414, allocations: 0.7408 MB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2415, allocations: 16.02 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.2416, allocations: 59.2 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.2423, allocations: 395.2 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.2424, allocations: 12.22 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.2424, allocations: 16 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.2428, allocations: 130.3 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2428, allocations: 0 / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.2429, allocations: 4 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.2429, allocations: 7.953 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.2431, allocations: 84.89 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.2445, allocations: 0.6523 MB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.2451, allocations: 130.7 kB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2452, allocations: 48.88 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.2453, allocations: 0 / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.2456, allocations: 111.3 kB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.2456, allocations: 0 / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006694/0.2463, allocations: 208.9 kB / 0.9858 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2463, allocations: 59.41 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/0.2473, allocations: 0.6513 MB / 0.9865 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.2473, allocations: 33.7 kB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.2476, allocations: 264.3 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.2476, allocations: 31.55 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.2477, allocations: 4 kB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2478, allocations: 366.8 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.248, allocations: 79.91 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.2483, allocations: 116.7 kB / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.2485, allocations: 75.98 kB / 0.9875 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2485, allocations: 0 / 0.9875 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006157/0.2491, allocations: 272.6 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2492, allocations: 4 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2492, allocations: 0 / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.2492, allocations: 4 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.2495, allocations: 40.03 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2496, allocations: 0 / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.2499, allocations: 39.78 kB / 0.9878 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.25, allocations: 7.984 kB / 0.9878 GB, free: 18.43 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.0003118/0.2503, allocations: 205.7 kB / 0.988 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.2504, allocations: 55.34 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.2506, allocations: 52.66 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.2506, allocations: 4 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2506, allocations: 0 / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2506, allocations: 7.969 kB / 0.9881 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.251, allocations: 377.3 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.251, allocations: 3.984 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.2512, allocations: 11.94 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2512, allocations: 0 / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.2512, allocations: 0 / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2512, allocations: 4 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2512, allocations: 4 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.2519, allocations: 260.3 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.252, allocations: 132.4 kB / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.979e-05/0.2521, allocations: 0 / 0.9889 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.2523, allocations: 24.05 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2524, allocations: 27.95 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.2525, allocations: 7.938 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006407/0.2531, allocations: 422.8 kB / 0.9893 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2532, allocations: 0 / 0.9893 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004127/0.2536, allocations: 63.98 kB / 0.9894 GB, free: 16.7 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.001281/0.2549, allocations: 425 kB / 0.9898 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005462/0.2555, allocations: 163.8 kB / 0.99 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.2555, allocations: 0 / 0.99 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.2557, allocations: 47.98 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.2564, allocations: 71.34 kB / 0.9901 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.2582, allocations: 0.9362 MB / 0.991 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.2586, allocations: 0.8613 MB / 0.9918 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.2589, allocations: 42.27 kB / 0.9919 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.259, allocations: 27.42 kB / 0.9919 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.259, allocations: 0 / 0.9919 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.01574/0.2747, allocations: 3.623 MB / 0.9954 GB, free: 10.64 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)