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) [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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 112.3 kB / 17.33 MB, free: 5.008 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.001216/0.001216, allocations: 198.6 kB / 18.33 MB, free: 4.016 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.346/1.346, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7993/0.7993, allocations: 128.4 MB / 426.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.95 kB / 0.5911 GB, free: 21.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.142, allocations: 83.26 MB / 0.6724 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005748/0.1478, allocations: 4.337 MB / 0.6767 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.1508, allocations: 1.609 MB / 0.6782 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.1512, allocations: 35.81 kB / 0.6783 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.1516, allocations: 170.2 kB / 0.6784 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006006/0.1522, allocations: 236.1 kB / 0.6787 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.1535, allocations: 0.6862 MB / 0.6793 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.1548, allocations: 1.222 MB / 0.6805 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005749/0.1554, allocations: 344.3 kB / 0.6809 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000589/0.156, allocations: 481.9 kB / 0.6813 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.1565, allocations: 465.4 kB / 0.6818 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1566, allocations: 100 kB / 0.6819 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1568, allocations: 104 kB / 0.682 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.157, allocations: 231.1 kB / 0.6822 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.1574, allocations: 493 kB / 0.6826 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.1586, allocations: 1.174 MB / 0.6838 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1586, allocations: 0 / 0.6838 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1586, allocations: 0 / 0.6838 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.1586, allocations: 0 / 0.6838 GB, free: 8.219 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002413/0.161, allocations: 1.429 MB / 0.6852 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.161, allocations: 11.97 kB / 0.6852 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.1612, allocations: 128.1 kB / 0.6853 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.1626, allocations: 0.7751 MB / 0.6861 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.1627, allocations: 80.25 kB / 0.6862 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.1628, allocations: 72.38 kB / 0.6862 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.1641, allocations: 0.7329 MB / 0.6869 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.1641, allocations: 0 / 0.6869 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.1642, allocations: 28 kB / 0.687 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.1642, allocations: 16 kB / 0.687 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1653, allocations: 0.5204 MB / 0.6875 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.1687, allocations: 2.26 MB / 0.6897 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.1701, allocations: 0.5884 MB / 0.6903 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.1706, allocations: 258.4 kB / 0.6905 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.1706, allocations: 12.55 kB / 0.6905 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006589/0.1713, allocations: 319 kB / 0.6908 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.134e-06/0.1713, allocations: 0 / 0.6908 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001622/0.1729, allocations: 0.7601 MB / 0.6916 GB, free: 12 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/0.173, allocations: 81.67 kB / 0.6917 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/0.174, allocations: 0.7634 MB / 0.6924 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.174, allocations: 41.7 kB / 0.6924 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.1744, allocations: 441 kB / 0.6929 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.1746, allocations: 214.1 kB / 0.6931 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.1748, allocations: 110.3 kB / 0.6932 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1749, allocations: 326 kB / 0.6935 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.1754, allocations: 215.4 kB / 0.6937 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.1759, allocations: 308.3 kB / 0.694 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009616/0.1769, allocations: 0.5036 MB / 0.6945 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1769, allocations: 0 / 0.6945 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001264/0.1781, allocations: 0.6584 MB / 0.6951 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1782, allocations: 8 kB / 0.6951 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1782, allocations: 0 / 0.6951 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1782, allocations: 8 kB / 0.6951 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.1788, allocations: 148 kB / 0.6953 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.1789, allocations: 7.938 kB / 0.6953 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.1793, allocations: 71.55 kB / 0.6953 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.1793, allocations: 27.94 kB / 0.6954 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006252/0.18, allocations: 349.4 kB / 0.6957 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005014/0.1805, allocations: 292.5 kB / 0.696 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009323/0.1814, allocations: 0.4956 MB / 0.6965 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.1814, allocations: 0 / 0.6965 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001167/0.1826, allocations: 0.6349 MB / 0.6971 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1826, allocations: 8.25 kB / 0.6971 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.1826, allocations: 7.938 kB / 0.6971 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.191e-06/0.1826, allocations: 4 kB / 0.6971 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.1832, allocations: 139.8 kB / 0.6972 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1832, allocations: 4 kB / 0.6972 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.1836, allocations: 63.58 kB / 0.6973 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.1836, allocations: 20 kB / 0.6973 GB, free: 9.918 MB / 0.5294 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.0001848/0.1838, allocations: 216.1 kB / 0.6975 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.1839, allocations: 99.38 kB / 0.6976 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.1841, allocations: 105.2 kB / 0.6977 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1841, allocations: 4 kB / 0.6977 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1841, allocations: 3.938 kB / 0.6977 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1842, allocations: 3.984 kB / 0.6977 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.1864, allocations: 1.443 MB / 0.6991 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1864, allocations: 3.938 kB / 0.6991 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.1869, allocations: 103.8 kB / 0.6992 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.1869, allocations: 4 kB / 0.6993 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.187, allocations: 16 kB / 0.6993 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.187, allocations: 4 kB / 0.6993 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.187, allocations: 0 / 0.6993 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.1887, allocations: 0.9756 MB / 0.7002 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.189, allocations: 224.3 kB / 0.7004 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/0.1891, allocations: 8 kB / 0.7004 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.1895, allocations: 35.95 kB / 0.7005 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.1896, allocations: 36.52 kB / 0.7005 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.1896, allocations: 19.98 kB / 0.7005 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006477/0.1903, allocations: 0.5146 MB / 0.701 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1903, allocations: 4 kB / 0.701 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007025/0.191, allocations: 279.3 kB / 0.7013 GB, free: 5.746 MB / 0.5294 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.0001837/0.1912, allocations: 115.1 kB / 0.7014 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.1929, allocations: 0.7449 MB / 0.7021 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1929, allocations: 0 / 0.7021 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005/0.1934, allocations: 255.8 kB / 0.7024 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.1945, allocations: 265.5 kB / 0.7026 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.1971, allocations: 1.582 MB / 0.7042 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.1977, allocations: 0.9898 MB / 0.7052 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004398/0.1982, allocations: 118.7 kB / 0.7053 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.1983, allocations: 63.42 kB / 0.7053 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.1983, allocations: 0 / 0.7053 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of Templates: time 0.01729/0.2156, allocations: 9.495 MB / 0.7146 GB, free: 8.172 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 480]