Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 108.3 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 193.7 kB / 16.91 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.2 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.36 kB / 0.8127 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2618, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004332/0.2662, allocations: 2.472 MB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.2688, allocations: 1.483 MB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.2691, allocations: 4 kB / 0.9536 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007586/0.2699, allocations: 223.8 kB / 0.9538 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004961/0.2704, allocations: 139.4 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.2709, allocations: 167.6 kB / 0.9541 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.2714, allocations: 350.9 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.2717, allocations: 91.09 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.272, allocations: 143.3 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.2722, allocations: 163.3 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.2723, allocations: 23.98 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2725, allocations: 63.92 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.2726, allocations: 127.6 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.2728, allocations: 194.5 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.2732, allocations: 391.2 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2733, allocations: 0 / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2733, allocations: 0 / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.2733, allocations: 4 kB / 0.9556 GB, free: 3.168 MB / 0.7325 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.001375/0.2747, allocations: 0.8006 MB / 0.9564 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2747, allocations: 8.031 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.2749, allocations: 60.19 kB / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000562/0.2754, allocations: 431.8 kB / 0.9569 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2755, allocations: 12.36 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.2755, allocations: 15.94 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.2758, allocations: 131.3 kB / 0.957 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2758, allocations: 0 / 0.957 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.2758, allocations: 11.98 kB / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2759, allocations: 3.938 kB / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.276, allocations: 83.95 kB / 0.9571 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2771, allocations: 0.6406 MB / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.2775, allocations: 142.5 kB / 0.9579 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/0.2776, allocations: 48.84 kB / 0.9579 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.2777, allocations: 0 / 0.9579 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.2779, allocations: 103.4 kB / 0.958 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.2779, allocations: 0 / 0.958 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0004776/0.2784, allocations: 212.9 kB / 0.9582 GB, free: 316 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2784, allocations: 51.41 kB / 0.9583 GB, free: 252 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/0.2792, allocations: 0.6553 MB / 0.9589 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.2792, allocations: 33.7 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.2794, allocations: 252.4 kB / 0.9592 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.2795, allocations: 39.53 kB / 0.9592 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/0.2795, allocations: 53.61 kB / 0.9593 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2797, allocations: 370.8 kB / 0.9596 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2799, allocations: 79.97 kB / 0.9597 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.28, allocations: 118.9 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.2803, allocations: 132.4 kB / 0.96 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2803, allocations: 4 kB / 0.96 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004253/0.2807, allocations: 266.9 kB / 0.9602 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2807, allocations: 4 kB / 0.9602 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2807, allocations: 0 / 0.9602 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2808, allocations: 8.062 kB / 0.9602 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.281, allocations: 35.92 kB / 0.9603 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.281, allocations: 0 / 0.9603 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.2812, allocations: 35.81 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.2812, allocations: 8 kB / 0.9603 GB, free: 14.13 MB / 0.7481 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002294/0.2814, allocations: 209.7 kB / 0.9605 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.2815, allocations: 51.34 kB / 0.9606 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.49e-05/0.2816, allocations: 60.66 kB / 0.9606 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2816, allocations: 3.938 kB / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.2816, allocations: 4 kB / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2816, allocations: 0 / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.282, allocations: 377.2 kB / 0.961 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.282, allocations: 0 / 0.961 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.2821, allocations: 8 kB / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2821, allocations: 4 kB / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2821, allocations: 3.984 kB / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2821, allocations: 0 / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2821, allocations: 0 / 0.961 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.2826, allocations: 260.3 kB / 0.9612 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.2827, allocations: 132.4 kB / 0.9614 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.2828, allocations: 0 / 0.9614 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.2829, allocations: 15.98 kB / 0.9614 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.283, allocations: 23.91 kB / 0.9614 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.283, allocations: 11.97 kB / 0.9614 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004574/0.2835, allocations: 434.8 kB / 0.9618 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2835, allocations: 0 / 0.9618 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002954/0.2838, allocations: 63.84 kB / 0.9619 GB, free: 12.4 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009661/0.2848, allocations: 419.3 kB / 0.9623 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.2852, allocations: 171.6 kB / 0.9625 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2852, allocations: 0 / 0.9625 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2853, allocations: 60.03 kB / 0.9625 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.2858, allocations: 76.44 kB / 0.9626 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.2873, allocations: 0.995 MB / 0.9636 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.2877, allocations: 0.8609 MB / 0.9644 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.2878, allocations: 31.42 kB / 0.9644 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.2878, allocations: 0 / 0.9644 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of Templates: time 0.009176/0.297, allocations: 5.425 MB / 0.9697 GB, free: 4.512 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)