Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.573/4.573, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002674/0.002674, allocations: 358.1 kB / 0.6446 GB, free: 21.5 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.27/4.27, allocations: 410.8 MB / 1.113 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001885/0.001884, allocations: 181.3 kB / 1.226 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006707/0.0006709, allocations: 15.66 kB / 1.349 GB, free: 320.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2311, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.4404, allocations: 144.3 MB / 1.602 GB, free: 76.3 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.4407, allocations: 95.94 kB / 1.602 GB, free: 76.21 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.05027/0.491, allocations: 12.54 MB / 1.615 GB, free: 63.69 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4911, allocations: 0 / 1.615 GB, free: 63.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.819e-05/0.4911, allocations: 8.188 kB / 1.615 GB, free: 63.68 MB / 0.8073 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.001397/0.4925, allocations: 0.7756 MB / 1.615 GB, free: 62.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4926, allocations: 16.73 kB / 1.615 GB, free: 62.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.4927, allocations: 55.25 kB / 1.615 GB, free: 62.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008927/0.4936, allocations: 435.1 kB / 1.616 GB, free: 62.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.4937, allocations: 10.95 kB / 1.616 GB, free: 62.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.4937, allocations: 16 kB / 1.616 GB, free: 62.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.4941, allocations: 125.1 kB / 1.616 GB, free: 62.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4942, allocations: 0 / 1.616 GB, free: 62.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.4942, allocations: 11.94 kB / 1.616 GB, free: 62.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4942, allocations: 0 / 1.616 GB, free: 62.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.4945, allocations: 94.53 kB / 1.616 GB, free: 62.08 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.496, allocations: 0.6592 MB / 1.617 GB, free: 61.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.4965, allocations: 140.8 kB / 1.617 GB, free: 61.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.4967, allocations: 48.84 kB / 1.617 GB, free: 61.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.4967, allocations: 0.7812 kB / 1.617 GB, free: 61.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.497, allocations: 107 kB / 1.617 GB, free: 61.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 2.615e-06/0.497, allocations: 0 / 1.617 GB, free: 61.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0006442/0.4977, allocations: 208.9 kB / 1.617 GB, free: 60.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.4977, allocations: 59.39 kB / 1.617 GB, free: 60.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.4988, allocations: 0.6436 MB / 1.618 GB, free: 60.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.4988, allocations: 33.7 kB / 1.618 GB, free: 60.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.4991, allocations: 257.8 kB / 1.618 GB, free: 59.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.4991, allocations: 40.88 kB / 1.618 GB, free: 59.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.4992, allocations: 4 kB / 1.618 GB, free: 59.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4993, allocations: 370.7 kB / 1.619 GB, free: 59.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.4995, allocations: 88.92 kB / 1.619 GB, free: 59.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.4998, allocations: 133.2 kB / 1.619 GB, free: 59.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.5001, allocations: 83.44 kB / 1.619 GB, free: 59.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5001, allocations: 0 / 1.619 GB, free: 59.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000684/0.5008, allocations: 298.5 kB / 1.619 GB, free: 58.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5008, allocations: 8 kB / 1.619 GB, free: 58.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5008, allocations: 0 / 1.619 GB, free: 58.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.5009, allocations: 0 / 1.619 GB, free: 58.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.5012, allocations: 50.72 kB / 1.619 GB, free: 58.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5012, allocations: 4 kB / 1.619 GB, free: 58.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.5016, allocations: 27.89 kB / 1.619 GB, free: 58.74 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.5016, allocations: 8 kB / 1.619 GB, free: 58.73 MB / 0.8073 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,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,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.0003748/0.502, allocations: 216.8 kB / 1.619 GB, free: 58.52 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.5021, allocations: 51.34 kB / 1.619 GB, free: 58.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.5026, allocations: 192.5 kB / 1.62 GB, free: 58.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.5026, allocations: 0 / 1.62 GB, free: 58.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5026, allocations: 0 / 1.62 GB, free: 58.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.5026, allocations: 3.984 kB / 1.62 GB, free: 58.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.5031, allocations: 378.3 kB / 1.62 GB, free: 57.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5031, allocations: 0 / 1.62 GB, free: 57.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.5032, allocations: 17.25 kB / 1.62 GB, free: 57.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.5032, allocations: 4 kB / 1.62 GB, free: 57.83 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.5032, allocations: 3.984 kB / 1.62 GB, free: 57.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5033, allocations: 0 / 1.62 GB, free: 57.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5033, allocations: 0.625 kB / 1.62 GB, free: 57.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.5039, allocations: 266.1 kB / 1.62 GB, free: 57.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.504, allocations: 132.4 kB / 1.62 GB, free: 57.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.5041, allocations: 7.688 kB / 1.62 GB, free: 57.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.5043, allocations: 19.98 kB / 1.62 GB, free: 57.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.5044, allocations: 19.97 kB / 1.62 GB, free: 57.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.5045, allocations: 7.984 kB / 1.62 GB, free: 57.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0006443/0.5051, allocations: 430.8 kB / 1.621 GB, free: 56.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5051, allocations: 0 / 1.621 GB, free: 56.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004644/0.5056, allocations: 75.92 kB / 1.621 GB, free: 56.86 MB / 0.8073 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.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001277/0.5069, allocations: 473.4 kB / 1.621 GB, free: 56.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.5074, allocations: 152.7 kB / 1.622 GB, free: 56.42 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5074, allocations: 4 kB / 1.622 GB, free: 56.42 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.5076, allocations: 59.98 kB / 1.622 GB, free: 56.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.5083, allocations: 70.91 kB / 1.622 GB, free: 56.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.51, allocations: 0.9399 MB / 1.623 GB, free: 55.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.5104, allocations: 0.8684 MB / 1.623 GB, free: 54.43 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002351/0.5107, allocations: 46.27 kB / 1.623 GB, free: 54.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.5108, allocations: 27.42 kB / 1.623 GB, free: 54.36 MB / 0.8073 GB Notification: Performance of SimCode: time 1.443e-06/0.5108, allocations: 3.938 kB / 1.624 GB, free: 54.36 MB / 0.8073 GB Notification: Performance of Templates: time 0.01344/0.5243, allocations: 4.083 MB / 1.627 GB, free: 50.31 MB / 0.8073 GB