Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.152/2.152, allocations: 248.5 MB / 261.1 MB, free: 5.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001445, allocations: 184.1 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.2 MB / 0.571 GB, free: 11.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001136, allocations: 96.67 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.651e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.214, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8682/1.082, allocations: 137.3 MB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/1.083, allocations: 90.19 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05426/1.137, allocations: 11.98 MB / 1.037 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.424e-06/1.137, allocations: 0 / 1.037 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.715e-05/1.137, allocations: 8 kB / 1.037 GB, free: 3.672 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.001439/1.139, allocations: 0.6498 MB / 1.037 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/1.139, allocations: 12.03 kB / 1.037 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.556e-05/1.139, allocations: 45.55 kB / 1.037 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/1.139, allocations: 59.2 kB / 1.037 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/1.14, allocations: 395 kB / 1.038 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/1.14, allocations: 6.75 kB / 1.038 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/1.14, allocations: 17.12 kB / 1.038 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/1.141, allocations: 133.8 kB / 1.038 GB, free: 2.379 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.141, allocations: 0 / 1.038 GB, free: 2.379 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/1.141, allocations: 7.25 kB / 1.038 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/1.141, allocations: 7.984 kB / 1.038 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/1.141, allocations: 86 kB / 1.038 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/1.143, allocations: 0.623 MB / 1.039 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/1.143, allocations: 124.3 kB / 1.039 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/1.143, allocations: 38.8 kB / 1.039 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/1.143, allocations: 0 / 1.039 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/1.144, allocations: 108.4 kB / 1.039 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/1.144, allocations: 0 / 1.039 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0004975/1.144, allocations: 160.4 kB / 1.039 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/1.144, allocations: 51.41 kB / 1.039 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.145, allocations: 0.5578 MB / 1.04 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/1.145, allocations: 29.14 kB / 1.04 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/1.146, allocations: 252.7 kB / 1.04 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/1.146, allocations: 33.66 kB / 1.04 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/1.146, allocations: 3.312 kB / 1.04 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.146, allocations: 373 kB / 1.04 GB, free: 332 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/1.146, allocations: 82.36 kB / 1.04 GB, free: 280 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/1.147, allocations: 119.8 kB / 1.04 GB, free: 184 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/1.147, allocations: 85.62 kB / 1.04 GB, free: 124 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.147, allocations: 0 / 1.04 GB, free: 124 kB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007124/1.148, allocations: 287.9 kB / 1.041 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.148, allocations: 12.06 kB / 1.041 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.148, allocations: 0 / 1.041 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.148, allocations: 0 / 1.041 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/1.148, allocations: 35.67 kB / 1.041 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/1.148, allocations: 0 / 1.041 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/1.148, allocations: 35.81 kB / 1.041 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/1.148, allocations: 11.75 kB / 1.041 GB, free: 15.8 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.0001287/1.148, allocations: 119.1 kB / 1.041 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.222e-05/1.149, allocations: 51.34 kB / 1.041 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004875/1.149, allocations: 174.7 kB / 1.041 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.149, allocations: 0 / 1.041 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.149, allocations: 3.984 kB / 1.041 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.149, allocations: 0 / 1.041 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/1.15, allocations: 363.5 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.15, allocations: 0 / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/1.15, allocations: 19.92 kB / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/1.15, allocations: 4 kB / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/1.15, allocations: 2.812 kB / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.15, allocations: 0 / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.15, allocations: 0 / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/1.15, allocations: 254 kB / 1.042 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/1.151, allocations: 127.8 kB / 1.042 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/1.151, allocations: 3.312 kB / 1.042 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/1.151, allocations: 20.05 kB / 1.042 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.754e-05/1.151, allocations: 23.08 kB / 1.042 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/1.151, allocations: 7.375 kB / 1.042 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007233/1.152, allocations: 412.1 kB / 1.042 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.81e-07/1.152, allocations: 0 / 1.042 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004617/1.152, allocations: 66.94 kB / 1.042 GB, free: 14.37 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.002018/1.154, allocations: 1.098 MB / 1.044 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000459/1.155, allocations: 140.7 kB / 1.044 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.155, allocations: 4 kB / 1.044 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/1.155, allocations: 51.88 kB / 1.044 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/1.156, allocations: 55.08 kB / 1.044 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/1.158, allocations: 0.6984 MB / 1.044 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/1.158, allocations: 0.8632 MB / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002388/1.158, allocations: 34.05 kB / 1.045 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/1.159, allocations: 151.9 kB / 1.045 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of SimCode: time 3.226e-06/1.159, allocations: 0 / 1.045 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/1.197, allocations: 8.927 MB / 1.054 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003305/1.197, allocations: 203.9 kB / 1.054 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/3.924, allocations: 0 / 1.054 GB, free: 2.613 MB / 0.6667 GB