Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPID,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPID",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.001289/0.001289, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001288/0.001288, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.419/1.419, 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.8391/0.8391, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 69.31 kB / 0.5735 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1296, allocations: 78.86 MB / 0.6505 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005036/0.1346, allocations: 3.697 MB / 0.6541 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.1372, allocations: 1.332 MB / 0.6554 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.1376, allocations: 27.88 kB / 0.6555 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.138, allocations: 126.6 kB / 0.6556 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.1385, allocations: 166.5 kB / 0.6557 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.1397, allocations: 0.585 MB / 0.6563 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1408, allocations: 0.9642 MB / 0.6572 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.1413, allocations: 349.9 kB / 0.6576 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004423/0.1418, allocations: 358.4 kB / 0.6579 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.1422, allocations: 354.1 kB / 0.6583 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.1423, allocations: 76 kB / 0.6583 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1425, allocations: 84 kB / 0.6584 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.1426, allocations: 187.2 kB / 0.6586 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.143, allocations: 373.7 kB / 0.6589 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009796/0.144, allocations: 0.8982 MB / 0.6598 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.144, allocations: 4 kB / 0.6598 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.144, allocations: 0 / 0.6598 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.144, allocations: 0 / 0.6598 GB, free: 10.06 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002109/0.1461, allocations: 1.21 MB / 0.661 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1462, allocations: 8.031 kB / 0.661 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.1463, allocations: 90.7 kB / 0.6611 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.1464, allocations: 100.3 kB / 0.6612 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.1475, allocations: 0.6266 MB / 0.6618 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.1477, allocations: 92.97 kB / 0.6619 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/0.1478, allocations: 60.36 kB / 0.662 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.1489, allocations: 0.6001 MB / 0.6625 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.149, allocations: 0 / 0.6625 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.149, allocations: 24 kB / 0.6626 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.1491, allocations: 15.94 kB / 0.6626 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.1501, allocations: 423.7 kB / 0.663 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.153, allocations: 2.103 MB / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.1544, allocations: 0.5039 MB / 0.6655 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.1549, allocations: 216.9 kB / 0.6657 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.1549, allocations: 11.89 kB / 0.6657 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006685/0.1556, allocations: 274.2 kB / 0.666 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.883e-06/0.1556, allocations: 0 / 0.666 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001552/0.1572, allocations: 0.6182 MB / 0.6666 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.1572, allocations: 88.84 kB / 0.6667 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/0.158, allocations: 0.6138 MB / 0.6673 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.1581, allocations: 37.7 kB / 0.6673 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.1584, allocations: 361.2 kB / 0.6677 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.1585, allocations: 158.6 kB / 0.6678 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.1587, allocations: 102.2 kB / 0.6679 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1588, allocations: 326 kB / 0.6682 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.1593, allocations: 179 kB / 0.6684 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.1599, allocations: 276.2 kB / 0.6687 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.161, allocations: 485.8 kB / 0.6691 GB, free: 104 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.161, allocations: 8 kB / 0.6691 GB, free: 96 kB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001324/0.1623, allocations: 0.5987 MB / 0.6697 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.1624, allocations: 35.42 kB / 0.6698 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1624, allocations: 7.938 kB / 0.6698 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1624, allocations: 4 kB / 0.6698 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.1629, allocations: 103.9 kB / 0.6699 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.1629, allocations: 16.12 kB / 0.6699 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.1633, allocations: 67.62 kB / 0.67 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.1634, allocations: 16 kB / 0.67 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005924/0.164, allocations: 313.2 kB / 0.6703 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004888/0.1645, allocations: 264.3 kB / 0.6705 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009014/0.1654, allocations: 457.8 kB / 0.671 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.834e-06/0.1654, allocations: 0 / 0.671 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001167/0.1666, allocations: 0.5831 MB / 0.6715 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.1666, allocations: 33.7 kB / 0.6716 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1666, allocations: 4 kB / 0.6716 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.1666, allocations: 7.938 kB / 0.6716 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.1671, allocations: 107.8 kB / 0.6717 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1671, allocations: 4 kB / 0.6717 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.1675, allocations: 47.72 kB / 0.6717 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.1675, allocations: 24.14 kB / 0.6717 GB, free: 13.32 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001767/0.1677, allocations: 220.6 kB / 0.672 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.1678, allocations: 79.48 kB / 0.672 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.168, allocations: 75.22 kB / 0.6721 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.168, allocations: 8 kB / 0.6721 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.168, allocations: 0 / 0.6721 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.168, allocations: 3.984 kB / 0.6721 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/0.1688, allocations: 0.6181 MB / 0.6727 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1688, allocations: 0 / 0.6727 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.1693, allocations: 87.88 kB / 0.6728 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1693, allocations: 4 kB / 0.6728 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.1693, allocations: 8 kB / 0.6728 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1693, allocations: 0 / 0.6728 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.1693, allocations: 0 / 0.6728 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.171, allocations: 0.7446 MB / 0.6735 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.1712, allocations: 192.5 kB / 0.6737 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.1713, allocations: 15.98 kB / 0.6737 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.1717, allocations: 32.09 kB / 0.6738 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.1718, allocations: 35.95 kB / 0.6738 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.1718, allocations: 15.98 kB / 0.6738 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005253/0.1724, allocations: 435 kB / 0.6742 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1724, allocations: 0 / 0.6742 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000592/0.173, allocations: 215.5 kB / 0.6744 GB, free: 10.46 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.001971/0.175, allocations: 1.281 MB / 0.6757 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.1767, allocations: 0.7972 MB / 0.6765 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1767, allocations: 0 / 0.6765 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.1772, allocations: 211.5 kB / 0.6767 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.1781, allocations: 196.5 kB / 0.6769 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/0.1865, allocations: 5.385 MB / 0.6821 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.1871, allocations: 0.9219 MB / 0.683 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004073/0.1875, allocations: 93.11 kB / 0.6831 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.1879, allocations: 255.4 kB / 0.6833 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of SimCode: time 7.22e-07/0.1879, allocations: 0 / 0.6833 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04021/0.2281, allocations: 14.05 MB / 0.6971 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.833/9.061, allocations: 10.78 kB / 0.6971 GB, free: 3.215 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID_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_Examples_LimPID.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)