Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001188/0.001188, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7482/0.7482, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.28 kB / 0.5679 GB, free: 29.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1186, allocations: 77.93 MB / 0.644 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005414/0.124, allocations: 4.308 MB / 0.6482 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.1271, allocations: 1.589 MB / 0.6498 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/0.1278, allocations: 35.81 kB / 0.6498 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.1282, allocations: 170.2 kB / 0.65 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007131/0.129, allocations: 234.1 kB / 0.6502 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1303, allocations: 0.6753 MB / 0.6509 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.1316, allocations: 1.222 MB / 0.6521 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.1323, allocations: 0.5082 MB / 0.6526 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.1329, allocations: 473.9 kB / 0.653 GB, free: 340 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.1334, allocations: 465.4 kB / 0.6534 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.1335, allocations: 104 kB / 0.6535 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1336, allocations: 100 kB / 0.6536 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.1338, allocations: 235.1 kB / 0.6539 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.1342, allocations: 493 kB / 0.6543 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.1353, allocations: 1.17 MB / 0.6555 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1353, allocations: 0 / 0.6555 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1353, allocations: 0 / 0.6555 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.1353, allocations: 0 / 0.6555 GB, free: 13.79 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002402/0.1377, allocations: 1.433 MB / 0.6569 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1378, allocations: 16.62 kB / 0.6569 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.1379, allocations: 106.7 kB / 0.657 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.1381, allocations: 128.1 kB / 0.6571 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.1394, allocations: 0.7712 MB / 0.6579 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/0.1395, allocations: 80.27 kB / 0.658 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1396, allocations: 72.38 kB / 0.658 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1409, allocations: 0.7366 MB / 0.6587 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.141, allocations: 0 / 0.6587 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/0.141, allocations: 28 kB / 0.6588 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.141, allocations: 16 kB / 0.6588 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1422, allocations: 0.5165 MB / 0.6593 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.1455, allocations: 2.256 MB / 0.6615 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.147, allocations: 0.6191 MB / 0.6621 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/0.1476, allocations: 271.3 kB / 0.6624 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.1477, allocations: 8.562 kB / 0.6624 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006921/0.1484, allocations: 327.2 kB / 0.6627 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.494e-06/0.1484, allocations: 0 / 0.6627 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001756/0.1501, allocations: 0.76 MB / 0.6634 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.1502, allocations: 85.61 kB / 0.6635 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009346/0.1512, allocations: 0.7556 MB / 0.6642 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.1512, allocations: 37.7 kB / 0.6643 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.1516, allocations: 441 kB / 0.6647 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.1517, allocations: 226 kB / 0.6649 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.1519, allocations: 118.3 kB / 0.665 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.152, allocations: 326 kB / 0.6653 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.1525, allocations: 211.3 kB / 0.6655 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.1531, allocations: 308.4 kB / 0.6658 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009673/0.154, allocations: 0.5074 MB / 0.6663 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.154, allocations: 0 / 0.6663 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001312/0.1554, allocations: 0.6584 MB / 0.667 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1554, allocations: 13.7 kB / 0.667 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1554, allocations: 0 / 0.667 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1554, allocations: 8 kB / 0.667 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.1561, allocations: 139.8 kB / 0.6671 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.1562, allocations: 11.92 kB / 0.6671 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.1566, allocations: 79.72 kB / 0.6672 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.1567, allocations: 20 kB / 0.6672 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000629/0.1573, allocations: 353.4 kB / 0.6676 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004689/0.1578, allocations: 288.5 kB / 0.6678 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008788/0.1587, allocations: 495.7 kB / 0.6683 GB, free: 208 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.1587, allocations: 0 / 0.6683 GB, free: 208 kB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001205/0.1599, allocations: 0.635 MB / 0.6689 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.16, allocations: 11.92 kB / 0.6689 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.16, allocations: 4 kB / 0.6689 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/0.16, allocations: 4 kB / 0.6689 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.1606, allocations: 144 kB / 0.6691 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1606, allocations: 4 kB / 0.6691 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.1611, allocations: 59.59 kB / 0.6691 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.1611, allocations: 23.98 kB / 0.6692 GB, free: 15.31 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001835/0.1613, allocations: 219.6 kB / 0.6694 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.1615, allocations: 99.34 kB / 0.6695 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.1617, allocations: 105.2 kB / 0.6696 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1617, allocations: 7.938 kB / 0.6696 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1617, allocations: 3.938 kB / 0.6696 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.1617, allocations: 3.984 kB / 0.6696 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.1639, allocations: 1.439 MB / 0.671 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.1639, allocations: 3.938 kB / 0.671 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/0.1645, allocations: 99.88 kB / 0.6711 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1645, allocations: 4 kB / 0.6711 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.1646, allocations: 15.98 kB / 0.6711 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1646, allocations: 0 / 0.6711 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1646, allocations: 4 kB / 0.6711 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.1663, allocations: 0.9678 MB / 0.6721 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.1666, allocations: 228.3 kB / 0.6723 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-05/0.1667, allocations: 8 kB / 0.6723 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.1672, allocations: 35.97 kB / 0.6723 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.1673, allocations: 36.52 kB / 0.6724 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.1673, allocations: 23.92 kB / 0.6724 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006224/0.168, allocations: 0.5146 MB / 0.6729 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.168, allocations: 0 / 0.6729 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007462/0.1687, allocations: 283.2 kB / 0.6732 GB, free: 11.14 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001964/0.1707, allocations: 1.535 MB / 0.6746 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.1724, allocations: 0.7923 MB / 0.6754 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1724, allocations: 0 / 0.6754 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.173, allocations: 271.1 kB / 0.6757 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.1743, allocations: 262.3 kB / 0.6759 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009257/0.1836, allocations: 6.565 MB / 0.6823 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.1841, allocations: 0.9937 MB / 0.6833 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005352/0.1846, allocations: 122.8 kB / 0.6834 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.1851, allocations: 347.3 kB / 0.6838 GB, free: 48 kB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.1851, allocations: 0 / 0.6838 GB, free: 48 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.2258, allocations: 17.46 MB / 0.7008 GB, free: 14.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.374/9.6, allocations: 14.05 kB / 0.7008 GB, free: 14.77 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)