Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 112.6 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.00131/0.00131, allocations: 197.8 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.352/1.352, 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.805/0.805, allocations: 128.4 MB / 426.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.62 kB / 0.5911 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1378, allocations: 83.27 MB / 0.6724 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005552/0.1433, allocations: 4.109 MB / 0.6765 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1457, allocations: 1.34 MB / 0.6778 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/0.146, allocations: 23.94 kB / 0.6778 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.1463, allocations: 130.7 kB / 0.6779 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.1467, allocations: 186.4 kB / 0.6781 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.1475, allocations: 429.4 kB / 0.6785 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000997/0.1485, allocations: 0.9591 MB / 0.6794 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000507/0.149, allocations: 302.2 kB / 0.6797 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.1494, allocations: 338.8 kB / 0.68 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.1498, allocations: 342.3 kB / 0.6804 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.1499, allocations: 88 kB / 0.6805 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.15, allocations: 92 kB / 0.6805 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.1501, allocations: 175.4 kB / 0.6807 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.1505, allocations: 398 kB / 0.6811 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.1515, allocations: 1.062 MB / 0.6821 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1515, allocations: 0 / 0.6821 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.196e-06/0.1516, allocations: 3.984 kB / 0.6821 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1516, allocations: 0 / 0.6821 GB, free: 9.941 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001827/0.1534, allocations: 1.096 MB / 0.6832 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1534, allocations: 12.02 kB / 0.6832 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.1536, allocations: 88.42 kB / 0.6833 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/0.1545, allocations: 0.5693 MB / 0.6839 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.1545, allocations: 49.67 kB / 0.6839 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.732e-05/0.1546, allocations: 60.38 kB / 0.684 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1557, allocations: 0.6039 MB / 0.6845 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.1557, allocations: 4 kB / 0.6845 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.1558, allocations: 24 kB / 0.6846 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.1558, allocations: 12 kB / 0.6846 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009789/0.1568, allocations: 461 kB / 0.685 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.1597, allocations: 1.997 MB / 0.687 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/0.1606, allocations: 425 kB / 0.6874 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.161, allocations: 222.1 kB / 0.6876 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.1611, allocations: 4.438 kB / 0.6876 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005354/0.1616, allocations: 273.2 kB / 0.6879 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 2.103e-06/0.1616, allocations: 4 kB / 0.6879 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.001293/0.1629, allocations: 0.5769 MB / 0.6884 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1629, allocations: 59.84 kB / 0.6885 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.1634, allocations: 453.9 kB / 0.6889 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.1635, allocations: 37.7 kB / 0.6889 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.1637, allocations: 325.6 kB / 0.6893 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.1639, allocations: 178.5 kB / 0.6894 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.164, allocations: 90.25 kB / 0.6895 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1642, allocations: 362.8 kB / 0.6899 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.1646, allocations: 173 kB / 0.69 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.1651, allocations: 249.8 kB / 0.6903 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008383/0.1659, allocations: 456 kB / 0.6907 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1659, allocations: 4 kB / 0.6907 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001064/0.167, allocations: 0.5588 MB / 0.6912 GB, free: 264 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.167, allocations: 37.89 kB / 0.6913 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.167, allocations: 4 kB / 0.6913 GB, free: 216 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.167, allocations: 4 kB / 0.6913 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.1675, allocations: 115.8 kB / 0.6914 GB, free: 96 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1675, allocations: 4 kB / 0.6914 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.1678, allocations: 63.58 kB / 0.6915 GB, free: 28 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.1679, allocations: 16 kB / 0.6915 GB, free: 12 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002837/0.1682, allocations: 220.7 kB / 0.6917 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.1682, allocations: 63.56 kB / 0.6918 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.1684, allocations: 61.59 kB / 0.6918 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.1684, allocations: 4 kB / 0.6918 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1684, allocations: 0 / 0.6918 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1684, allocations: 3.984 kB / 0.6918 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.1702, allocations: 1.178 MB / 0.693 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1702, allocations: 0 / 0.693 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.1707, allocations: 99.81 kB / 0.6931 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1707, allocations: 0 / 0.6931 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.1707, allocations: 12 kB / 0.6931 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1707, allocations: 0 / 0.6931 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1707, allocations: 4 kB / 0.6931 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.172, allocations: 0.7654 MB / 0.6938 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.1722, allocations: 172.7 kB / 0.694 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.1723, allocations: 11.98 kB / 0.694 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.1726, allocations: 19.98 kB / 0.694 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1727, allocations: 36.39 kB / 0.6941 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.1727, allocations: 19.98 kB / 0.6941 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003528/0.1731, allocations: 310.8 kB / 0.6944 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1731, allocations: 0 / 0.6944 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004302/0.1735, allocations: 143.6 kB / 0.6945 GB, free: 12.81 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001346/0.1736, allocations: 119.2 kB / 0.6946 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009206/0.1746, allocations: 464.9 kB / 0.6951 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1746, allocations: 4 kB / 0.6951 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004116/0.175, allocations: 198.4 kB / 0.6953 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.1757, allocations: 161.8 kB / 0.6954 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.1783, allocations: 1.359 MB / 0.6967 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.1788, allocations: 0.8936 MB / 0.6976 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000246/0.1791, allocations: 68.58 kB / 0.6977 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1792, allocations: 39.44 kB / 0.6977 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.1792, allocations: 0 / 0.6977 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of Templates: time 0.01196/0.1911, allocations: 6.094 MB / 0.7037 GB, free: 3.43 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480]