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.001509/0.00151, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001455/0.001455, allocations: 196 kB / 17.34 MB, free: 5.738 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8263/0.8263, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.88 kB / 0.5735 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1298, allocations: 78.87 MB / 0.6505 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005857/0.1357, allocations: 4.31 MB / 0.6547 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.1387, allocations: 1.593 MB / 0.6563 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005008/0.1393, allocations: 35.81 kB / 0.6563 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.1397, allocations: 170.2 kB / 0.6565 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006951/0.1404, allocations: 226.1 kB / 0.6567 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1418, allocations: 0.6709 MB / 0.6574 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001481/0.1433, allocations: 1.222 MB / 0.6585 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.1442, allocations: 0.5001 MB / 0.659 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006466/0.1448, allocations: 465.9 kB / 0.6595 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.1454, allocations: 457.4 kB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.1456, allocations: 104 kB / 0.66 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1457, allocations: 104 kB / 0.6601 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.146, allocations: 231.1 kB / 0.6603 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.1464, allocations: 493 kB / 0.6608 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.1477, allocations: 1.167 MB / 0.6619 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1478, allocations: 8 kB / 0.6619 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1478, allocations: 0 / 0.6619 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.1478, allocations: 0 / 0.6619 GB, free: 7.961 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.002643/0.1504, allocations: 1.429 MB / 0.6633 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1505, allocations: 8.031 kB / 0.6634 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.1506, allocations: 114.7 kB / 0.6635 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.1508, allocations: 128.1 kB / 0.6636 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.1523, allocations: 0.7751 MB / 0.6643 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.1524, allocations: 80.27 kB / 0.6644 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1525, allocations: 72.31 kB / 0.6645 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.1539, allocations: 0.7327 MB / 0.6652 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.154, allocations: 0 / 0.6652 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.154, allocations: 32 kB / 0.6652 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.1541, allocations: 16 kB / 0.6652 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.1553, allocations: 0.5243 MB / 0.6658 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003743/0.1591, allocations: 2.248 MB / 0.668 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.1607, allocations: 0.6197 MB / 0.6686 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.1613, allocations: 274.4 kB / 0.6688 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.1614, allocations: 12.55 kB / 0.6688 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007237/0.1621, allocations: 319.1 kB / 0.6691 GB, free: 364 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.534e-06/0.1621, allocations: 0 / 0.6691 GB, free: 364 kB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001849/0.164, allocations: 0.7641 MB / 0.6699 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.1641, allocations: 85.61 kB / 0.67 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.1651, allocations: 0.7634 MB / 0.6707 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/0.1652, allocations: 41.7 kB / 0.6708 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.1656, allocations: 441 kB / 0.6712 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.1658, allocations: 214 kB / 0.6714 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.166, allocations: 114.3 kB / 0.6715 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1662, allocations: 326 kB / 0.6718 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.1667, allocations: 211.4 kB / 0.672 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005963/0.1673, allocations: 308.4 kB / 0.6723 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.1684, allocations: 0.5036 MB / 0.6728 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1685, allocations: 4 kB / 0.6728 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00147/0.1699, allocations: 0.6506 MB / 0.6734 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.17, allocations: 8 kB / 0.6734 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.17, allocations: 0 / 0.6734 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.17, allocations: 8 kB / 0.6734 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.1707, allocations: 144 kB / 0.6736 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/0.1708, allocations: 15.86 kB / 0.6736 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.1712, allocations: 67.56 kB / 0.6737 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.1713, allocations: 23.98 kB / 0.6737 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000708/0.172, allocations: 353.4 kB / 0.674 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005319/0.1725, allocations: 296.5 kB / 0.6743 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001014/0.1736, allocations: 495.5 kB / 0.6748 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.1736, allocations: 0 / 0.6748 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001311/0.1749, allocations: 0.6388 MB / 0.6754 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1749, allocations: 8.25 kB / 0.6754 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1749, allocations: 4 kB / 0.6754 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.615e-06/0.175, allocations: 7.938 kB / 0.6754 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.1756, allocations: 139.8 kB / 0.6755 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1756, allocations: 4 kB / 0.6756 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.1761, allocations: 63.58 kB / 0.6756 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.1761, allocations: 24 kB / 0.6756 GB, free: 9.492 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.0002157/0.1763, allocations: 216.1 kB / 0.6758 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.1765, allocations: 99.34 kB / 0.6759 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1767, allocations: 105.2 kB / 0.676 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1768, allocations: 4 kB / 0.676 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.1768, allocations: 11.92 kB / 0.6761 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.1768, allocations: 4 kB / 0.6761 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.1793, allocations: 1.439 MB / 0.6775 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.1793, allocations: 3.938 kB / 0.6775 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.1799, allocations: 99.88 kB / 0.6776 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.1799, allocations: 4 kB / 0.6776 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.18, allocations: 12 kB / 0.6776 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.18, allocations: 8 kB / 0.6776 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.18, allocations: 0 / 0.6776 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.1819, allocations: 0.9678 MB / 0.6785 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.1823, allocations: 228.3 kB / 0.6787 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.1824, allocations: 12 kB / 0.6788 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.1829, allocations: 27.97 kB / 0.6788 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.183, allocations: 40.59 kB / 0.6788 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.183, allocations: 19.98 kB / 0.6788 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007337/0.1838, allocations: 0.5146 MB / 0.6793 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1838, allocations: 4 kB / 0.6793 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008066/0.1846, allocations: 279.3 kB / 0.6796 GB, free: 5.32 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.002353/0.1869, allocations: 1.531 MB / 0.6811 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.1888, allocations: 0.7917 MB / 0.6819 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1888, allocations: 3.984 kB / 0.6819 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.1894, allocations: 263.9 kB / 0.6821 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.1907, allocations: 269.5 kB / 0.6824 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.2012, allocations: 6.566 MB / 0.6888 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.2019, allocations: 0.9898 MB / 0.6898 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005203/0.2024, allocations: 118.8 kB / 0.6899 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.2029, allocations: 359.2 kB / 0.6902 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.2029, allocations: 0 / 0.6902 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04691/0.2499, allocations: 17.45 MB / 0.7073 GB, free: 8.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.754/10, allocations: 20.75 kB / 0.7073 GB, free: 8.945 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)