Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.515/2.515, allocations: 252.6 MB / 265.2 MB, free: 5.668 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 181.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.5754 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 98.12 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.677e-05, allocations: 8 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.212, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8732/1.085, allocations: 137.3 MB / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/1.086, allocations: 89.06 kB / 1.029 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0537/1.139, allocations: 11.98 MB / 1.041 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.245e-06/1.139, allocations: 0 / 1.041 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.79e-05/1.14, allocations: 8 kB / 1.041 GB, free: 2.969 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.00124/1.141, allocations: 0.6419 MB / 1.041 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.141, allocations: 8.031 kB / 1.041 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/1.141, allocations: 63.2 kB / 1.041 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/1.142, allocations: 394.9 kB / 1.042 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/1.142, allocations: 11.44 kB / 1.042 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/1.142, allocations: 11.88 kB / 1.042 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/1.143, allocations: 135.1 kB / 1.042 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.143, allocations: 3.938 kB / 1.042 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/1.143, allocations: 3.875 kB / 1.042 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.143, allocations: 4 kB / 1.042 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/1.143, allocations: 83.62 kB / 1.042 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/1.144, allocations: 0.6256 MB / 1.043 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/1.145, allocations: 128.5 kB / 1.043 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/1.145, allocations: 41.58 kB / 1.043 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/1.145, allocations: 0 / 1.043 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/1.145, allocations: 94.75 kB / 1.043 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.645e-06/1.145, allocations: 4 kB / 1.043 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.00052/1.146, allocations: 165 kB / 1.043 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/1.146, allocations: 51.41 kB / 1.043 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/1.147, allocations: 0.5583 MB / 1.044 GB, free: 236 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/1.147, allocations: 32.45 kB / 1.044 GB, free: 200 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/1.147, allocations: 255.6 kB / 1.044 GB, free: 48 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/1.148, allocations: 34.67 kB / 1.044 GB, free: 20 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/1.148, allocations: 3.312 kB / 1.044 GB, free: 20 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002146/1.148, allocations: 376.6 kB / 1.044 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/1.148, allocations: 80.11 kB / 1.044 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/1.148, allocations: 115.8 kB / 1.045 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/1.149, allocations: 87.69 kB / 1.045 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.149, allocations: 0 / 1.045 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007115/1.149, allocations: 282.3 kB / 1.045 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.149, allocations: 4 kB / 1.045 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.149, allocations: 4.062 kB / 1.045 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.149, allocations: 7.984 kB / 1.045 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/1.15, allocations: 35.17 kB / 1.045 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.15, allocations: 3.984 kB / 1.045 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/1.15, allocations: 30.7 kB / 1.045 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/1.15, allocations: 15.67 kB / 1.045 GB, free: 15.15 MB / 0.6667 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 () * 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.000136/1.15, allocations: 120.4 kB / 1.045 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/1.15, allocations: 47.34 kB / 1.045 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005477/1.151, allocations: 180.3 kB / 1.045 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.151, allocations: 4 kB / 1.045 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.151, allocations: 0 / 1.045 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/1.151, allocations: 3.984 kB / 1.045 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/1.152, allocations: 369.6 kB / 1.046 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.152, allocations: 0 / 1.046 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/1.152, allocations: 11.98 kB / 1.046 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/1.152, allocations: 7.938 kB / 1.046 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/1.152, allocations: 4 kB / 1.046 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.152, allocations: 0 / 1.046 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.152, allocations: 0 / 1.046 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/1.152, allocations: 246.5 kB / 1.046 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.153, allocations: 128.4 kB / 1.046 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/1.153, allocations: 7.812 kB / 1.046 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/1.153, allocations: 23.11 kB / 1.046 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.153, allocations: 23.39 kB / 1.046 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/1.153, allocations: 4 kB / 1.046 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007572/1.154, allocations: 412.7 kB / 1.047 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.3e-07/1.154, allocations: 0 / 1.047 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004992/1.154, allocations: 67.12 kB / 1.047 GB, free: 13.7 MB / 0.6667 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) * 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.001245/1.156, allocations: 419.7 kB / 1.047 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00048/1.156, allocations: 146.9 kB / 1.047 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.156, allocations: 0 / 1.047 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/1.156, allocations: 49.55 kB / 1.047 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/1.157, allocations: 62 kB / 1.047 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/1.158, allocations: 0.5783 MB / 1.048 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/1.159, allocations: 0.8632 MB / 1.049 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000237/1.159, allocations: 42.05 kB / 1.049 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.159, allocations: 27.42 kB / 1.049 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of SimCode: time 1.233e-06/1.159, allocations: 0 / 1.049 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of Templates: time 0.01462/1.174, allocations: 3.791 MB / 1.052 GB, free: 7.992 MB / 0.6667 GB