Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001586/0.001586, allocations: 110.8 kB / 15.99 MB, free: 6.348 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.001658/0.001658, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.324/1.324, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 64 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3283, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004196/0.3325, allocations: 2.474 MB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002276/0.3348, allocations: 1.475 MB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.335, allocations: 3.938 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.3357, allocations: 227.8 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.3361, allocations: 131.4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3365, allocations: 170.7 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.3369, allocations: 350.9 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.3371, allocations: 92.69 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.3373, allocations: 139.4 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.3375, allocations: 167.2 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.3375, allocations: 20 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.3377, allocations: 59.98 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3378, allocations: 131.5 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.338, allocations: 186.6 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.3384, allocations: 395.2 kB / 1.07 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3384, allocations: 0 / 1.07 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3384, allocations: 3.938 kB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3384, allocations: 0 / 1.07 GB, free: 9.359 MB / 0.8419 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.00116/0.3396, allocations: 0.8007 MB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3396, allocations: 8.625 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3397, allocations: 64.12 kB / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.3402, allocations: 427.8 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3403, allocations: 16.36 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.3403, allocations: 15.94 kB / 1.071 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.3406, allocations: 141.6 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3406, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3406, allocations: 0 / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3406, allocations: 4 kB / 1.071 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.3408, allocations: 83.95 kB / 1.071 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/0.3418, allocations: 0.6407 MB / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.3422, allocations: 134.7 kB / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.3423, allocations: 48.84 kB / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3423, allocations: 3.938 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.3425, allocations: 103.4 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.3425, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0004461/0.343, allocations: 212.9 kB / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.343, allocations: 55.41 kB / 1.072 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.3437, allocations: 0.6514 MB / 1.073 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3438, allocations: 29.7 kB / 1.073 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.3439, allocations: 264.4 kB / 1.073 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.344, allocations: 39.45 kB / 1.073 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.3441, allocations: 53.64 kB / 1.073 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3442, allocations: 370.8 kB / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3444, allocations: 79.97 kB / 1.074 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3446, allocations: 115.3 kB / 1.074 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3448, allocations: 131.6 kB / 1.074 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3448, allocations: 0 / 1.074 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003993/0.3452, allocations: 278.6 kB / 1.074 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3452, allocations: 6.031 kB / 1.074 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3452, allocations: 4.062 kB / 1.074 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3453, allocations: 4 kB / 1.074 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3454, allocations: 35.92 kB / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3454, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3456, allocations: 31.81 kB / 1.074 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.3457, allocations: 8 kB / 1.074 GB, free: 4.309 MB / 0.8419 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.0002112/0.3459, allocations: 209.7 kB / 1.074 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.3459, allocations: 55.34 kB / 1.075 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.589e-05/0.346, allocations: 56.66 kB / 1.075 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.346, allocations: 0 / 1.075 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.346, allocations: 0 / 1.075 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3461, allocations: 0 / 1.075 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.3464, allocations: 381.3 kB / 1.075 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3464, allocations: 0 / 1.075 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.945e-05/0.3465, allocations: 12 kB / 1.075 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3465, allocations: 0 / 1.075 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.3465, allocations: 11.98 kB / 1.075 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3465, allocations: 0 / 1.075 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3465, allocations: 4 kB / 1.075 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.347, allocations: 260.1 kB / 1.075 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3471, allocations: 132.5 kB / 1.075 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.3471, allocations: 8 kB / 1.075 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3473, allocations: 11.98 kB / 1.075 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.3474, allocations: 19.97 kB / 1.075 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.3474, allocations: 8.062 kB / 1.075 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004646/0.3479, allocations: 430.8 kB / 1.076 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3479, allocations: 0 / 1.076 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002962/0.3482, allocations: 67.92 kB / 1.076 GB, free: 2.582 MB / 0.8419 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.001007/0.3492, allocations: 414.1 kB / 1.076 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.3495, allocations: 155.9 kB / 1.076 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3495, allocations: 4.062 kB / 1.076 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.3497, allocations: 59.86 kB / 1.076 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.3501, allocations: 81.47 kB / 1.077 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.3516, allocations: 1.01 MB / 1.078 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.3521, allocations: 0.861 MB / 1.078 GB, free: 104 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/0.3522, allocations: 27.42 kB / 1.078 GB, free: 76 kB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.3522, allocations: 0 / 1.078 GB, free: 76 kB / 0.8419 GB Notification: Performance of Templates: time 0.4634/0.8156, allocations: 5.413 MB / 1.084 GB, free: 21.05 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)