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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 111.6 kB / 17.33 MB, free: 5.043 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.001262/0.001262, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.354/1.354, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7999/0.7999, allocations: 128.4 MB / 426.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.3 kB / 0.5911 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1463, allocations: 83.25 MB / 0.6724 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005318/0.1516, allocations: 3.716 MB / 0.6761 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1544, allocations: 1.336 MB / 0.6774 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005205/0.155, allocations: 27.81 kB / 0.6774 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.1553, allocations: 122.7 kB / 0.6775 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005446/0.1559, allocations: 186.5 kB / 0.6777 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.1571, allocations: 0.6002 MB / 0.6783 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1583, allocations: 0.9642 MB / 0.6792 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004672/0.1588, allocations: 245.6 kB / 0.6794 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005416/0.1593, allocations: 374.4 kB / 0.6798 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.1597, allocations: 354.1 kB / 0.6801 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.1599, allocations: 84 kB / 0.6802 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.16, allocations: 76 kB / 0.6803 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1601, allocations: 183.2 kB / 0.6805 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.1605, allocations: 373.7 kB / 0.6808 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1615, allocations: 0.906 MB / 0.6817 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1615, allocations: 0 / 0.6817 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1615, allocations: 0 / 0.6817 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.1615, allocations: 0 / 0.6817 GB, free: 10.54 MB / 0.5137 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.002094/0.1636, allocations: 1.206 MB / 0.6829 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1637, allocations: 8.031 kB / 0.6829 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.1638, allocations: 100.3 kB / 0.683 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.1649, allocations: 0.6266 MB / 0.6836 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.165, allocations: 92.97 kB / 0.6837 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.1651, allocations: 56.38 kB / 0.6837 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.1662, allocations: 0.6003 MB / 0.6843 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1662, allocations: 3.938 kB / 0.6843 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.1663, allocations: 24 kB / 0.6844 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.1663, allocations: 12 kB / 0.6844 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/0.1672, allocations: 431.6 kB / 0.6848 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002973/0.1702, allocations: 2.095 MB / 0.6868 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.1714, allocations: 491 kB / 0.6873 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.1719, allocations: 204.8 kB / 0.6875 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.1719, allocations: 11.94 kB / 0.6875 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006663/0.1726, allocations: 274.2 kB / 0.6878 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.375e-06/0.1726, allocations: 0 / 0.6878 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001503/0.1741, allocations: 0.6181 MB / 0.6884 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.1742, allocations: 88.8 kB / 0.6885 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008231/0.175, allocations: 0.6178 MB / 0.6891 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.175, allocations: 37.69 kB / 0.6891 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.1753, allocations: 357.2 kB / 0.6894 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.1755, allocations: 166.6 kB / 0.6896 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.1757, allocations: 102.2 kB / 0.6897 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1758, allocations: 326 kB / 0.69 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.1763, allocations: 179 kB / 0.6902 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.1768, allocations: 280.2 kB / 0.6904 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/0.1777, allocations: 473.9 kB / 0.6909 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1777, allocations: 7.938 kB / 0.6909 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001247/0.179, allocations: 0.5987 MB / 0.6915 GB, free: 112 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.179, allocations: 33.7 kB / 0.6915 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.179, allocations: 4 kB / 0.6915 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.179, allocations: 5.094 kB / 0.6915 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.1795, allocations: 103.9 kB / 0.6916 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.1795, allocations: 16.2 kB / 0.6916 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.1799, allocations: 63.61 kB / 0.6917 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.18, allocations: 23.98 kB / 0.6917 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00058/0.1806, allocations: 309.2 kB / 0.692 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004741/0.181, allocations: 260.3 kB / 0.6923 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008372/0.1819, allocations: 469.7 kB / 0.6927 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.1819, allocations: 0 / 0.6927 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001109/0.183, allocations: 0.5909 MB / 0.6933 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.183, allocations: 35.56 kB / 0.6933 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.183, allocations: 4 kB / 0.6933 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/0.183, allocations: 4 kB / 0.6933 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.1835, allocations: 103.8 kB / 0.6934 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1835, allocations: 4 kB / 0.6934 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.1838, allocations: 51.7 kB / 0.6935 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.1839, allocations: 24.09 kB / 0.6935 GB, free: 13.93 MB / 0.5294 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.0002085/0.1841, allocations: 216.1 kB / 0.6937 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1842, allocations: 75.53 kB / 0.6938 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.1844, allocations: 79.2 kB / 0.6939 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1844, allocations: 8 kB / 0.6939 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1844, allocations: 0 / 0.6939 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1844, allocations: 3.984 kB / 0.6939 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.1851, allocations: 0.618 MB / 0.6945 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1851, allocations: 0 / 0.6945 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.1856, allocations: 87.83 kB / 0.6946 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1856, allocations: 7.984 kB / 0.6946 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.1856, allocations: 12 kB / 0.6946 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1856, allocations: 3.938 kB / 0.6946 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1856, allocations: 0 / 0.6946 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.1871, allocations: 0.733 MB / 0.6953 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.1873, allocations: 196.5 kB / 0.6955 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.1874, allocations: 12 kB / 0.6955 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.1878, allocations: 39.95 kB / 0.6955 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1879, allocations: 31.95 kB / 0.6956 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.1879, allocations: 12 kB / 0.6956 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005263/0.1884, allocations: 431 kB / 0.696 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1884, allocations: 0 / 0.696 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006059/0.189, allocations: 219.5 kB / 0.6962 GB, free: 11.08 MB / 0.5294 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.0001476/0.1892, allocations: 111.1 kB / 0.6963 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.1908, allocations: 0.7503 MB / 0.697 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.1908, allocations: 0 / 0.697 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.1912, allocations: 199.7 kB / 0.6972 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.192, allocations: 212.2 kB / 0.6974 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1942, allocations: 1.202 MB / 0.6986 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.1947, allocations: 0.9141 MB / 0.6995 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003691/0.1951, allocations: 97.11 kB / 0.6996 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1952, allocations: 43.44 kB / 0.6996 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.1952, allocations: 0 / 0.6996 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of Templates: time 0.0156/0.2108, allocations: 7.751 MB / 0.7072 GB, free: 15.81 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480]