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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001057/0.001057, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 178.9 kB / 16.92 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 11.98 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7016/0.7019, allocations: 142.4 MB / 0.9557 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002623/0.7046, allocations: 2.112 MB / 0.9578 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.7068, allocations: 1.467 MB / 0.9592 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.7071, allocations: 3.688 kB / 0.9592 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000668/0.7078, allocations: 215.5 kB / 0.9594 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004326/0.7082, allocations: 139.3 kB / 0.9595 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.7088, allocations: 173.5 kB / 0.9597 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.7092, allocations: 319 kB / 0.96 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.7095, allocations: 88.58 kB / 0.9601 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.7097, allocations: 119.4 kB / 0.9602 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.7099, allocations: 138.4 kB / 0.9603 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.71, allocations: 5.5 kB / 0.9603 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.7101, allocations: 48.8 kB / 0.9604 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.7103, allocations: 108.8 kB / 0.9605 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.7104, allocations: 196.5 kB / 0.9607 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.7108, allocations: 385 kB / 0.9611 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7109, allocations: 4 kB / 0.9611 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7109, allocations: 0 / 0.9611 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.7109, allocations: 1.031 kB / 0.9611 GB, free: 3.957 MB / 0.7169 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.001211/0.7121, allocations: 0.7344 MB / 0.9618 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.7121, allocations: 9.188 kB / 0.9618 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.7123, allocations: 60 kB / 0.9618 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.7128, allocations: 421.7 kB / 0.9622 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.7129, allocations: 13.39 kB / 0.9623 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.7129, allocations: 18.12 kB / 0.9623 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.7132, allocations: 129.4 kB / 0.9624 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7132, allocations: 1.156 kB / 0.9624 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.7133, allocations: 5.219 kB / 0.9624 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.7133, allocations: 6.594 kB / 0.9624 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.7135, allocations: 87.33 kB / 0.9625 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.7146, allocations: 0.6467 MB / 0.9631 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.715, allocations: 136.3 kB / 0.9633 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.7151, allocations: 45.69 kB / 0.9633 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.7152, allocations: 10.42 kB / 0.9633 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.7154, allocations: 101 kB / 0.9634 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.7154, allocations: 0 / 0.9634 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004694/0.7158, allocations: 213.1 kB / 0.9636 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.7159, allocations: 65.59 kB / 0.9637 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.7166, allocations: 0.6491 MB / 0.9643 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.7167, allocations: 32.48 kB / 0.9643 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.7169, allocations: 259.6 kB / 0.9646 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.7169, allocations: 36.52 kB / 0.9646 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.717, allocations: 35.48 kB / 0.9646 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.7171, allocations: 371.4 kB / 0.965 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.7172, allocations: 77.97 kB / 0.9651 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.7174, allocations: 120.6 kB / 0.9652 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.7176, allocations: 129 kB / 0.9653 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7176, allocations: 0 / 0.9653 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004349/0.7181, allocations: 269.9 kB / 0.9656 GB, free: 476 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.7181, allocations: 5.031 kB / 0.9656 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.7181, allocations: 1.031 kB / 0.9656 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7181, allocations: 5.031 kB / 0.9656 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.7183, allocations: 37.48 kB / 0.9656 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.7183, allocations: 2.281 kB / 0.9656 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.7185, allocations: 37.81 kB / 0.9657 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.7186, allocations: 5.312 kB / 0.9657 GB, free: 444 kB / 0.7169 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.0001959/0.7188, allocations: 215.5 kB / 0.9659 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.7189, allocations: 50.12 kB / 0.9659 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.719, allocations: 56 kB / 0.966 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.719, allocations: 6.109 kB / 0.966 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.719, allocations: 4 kB / 0.966 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.719, allocations: 1 kB / 0.966 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.7194, allocations: 375.5 kB / 0.9663 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7194, allocations: 0 / 0.9663 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.156e-05/0.7195, allocations: 7.906 kB / 0.9663 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.7195, allocations: 1.438 kB / 0.9663 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.7195, allocations: 13.33 kB / 0.9664 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7195, allocations: 5.219 kB / 0.9664 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7195, allocations: 0 / 0.9664 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.72, allocations: 257 kB / 0.9666 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.7201, allocations: 124.9 kB / 0.9667 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/0.7202, allocations: 6.219 kB / 0.9667 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.7203, allocations: 24.56 kB / 0.9668 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.7204, allocations: 20.81 kB / 0.9668 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.7204, allocations: 4.812 kB / 0.9668 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005233/0.721, allocations: 427.8 kB / 0.9672 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.721, allocations: 0 / 0.9672 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000327/0.7213, allocations: 63.84 kB / 0.9673 GB, free: 15.27 MB / 0.7325 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.001025/0.7223, allocations: 424.3 kB / 0.9677 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.7227, allocations: 158.6 kB / 0.9678 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7227, allocations: 0 / 0.9678 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.7229, allocations: 59.77 kB / 0.9679 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.7234, allocations: 70.84 kB / 0.9679 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.725, allocations: 1.036 MB / 0.9689 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.7255, allocations: 0.8577 MB / 0.9698 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.7256, allocations: 27.89 kB / 0.9698 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7256, allocations: 1.156 kB / 0.9698 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.01014/0.7358, allocations: 5.42 MB / 0.9751 GB, free: 10.59 MB / 0.7325 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)