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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 109.4 kB / 17.12 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 191.8 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8513/0.8513, allocations: 128.4 MB / 431.7 MB, free: 13.28 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 71.89 kB / 0.598 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.4908, allocations: 83.26 MB / 0.6793 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004713/0.4955, allocations: 4.116 MB / 0.6834 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002546/0.4981, allocations: 1.338 MB / 0.6847 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004641/0.4986, allocations: 20.69 kB / 0.6847 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.4989, allocations: 126.8 kB / 0.6848 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.4993, allocations: 186.8 kB / 0.685 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000792/0.5001, allocations: 421.5 kB / 0.6854 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.5009, allocations: 0.9494 MB / 0.6863 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.5013, allocations: 308.3 kB / 0.6866 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.5016, allocations: 329.6 kB / 0.6869 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.5019, allocations: 343.8 kB / 0.6872 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.5021, allocations: 90.84 kB / 0.6873 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.5022, allocations: 91.34 kB / 0.6874 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.5023, allocations: 178.6 kB / 0.6876 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.5026, allocations: 393.2 kB / 0.688 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.5037, allocations: 1.075 MB / 0.689 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5037, allocations: 2.125 kB / 0.689 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5037, allocations: 0 / 0.689 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.5037, allocations: 0 / 0.689 GB, free: 15.46 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.002073/0.5058, allocations: 1.101 MB / 0.6901 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5058, allocations: 8.812 kB / 0.6901 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.506, allocations: 90.69 kB / 0.6902 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.507, allocations: 0.5668 MB / 0.6907 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/0.507, allocations: 44.75 kB / 0.6908 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.5072, allocations: 59.81 kB / 0.6908 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.5084, allocations: 0.6068 MB / 0.6914 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.5084, allocations: 0 / 0.6914 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.5085, allocations: 29.55 kB / 0.6915 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5085, allocations: 18.3 kB / 0.6915 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.5095, allocations: 458.4 kB / 0.6919 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.5128, allocations: 1.993 MB / 0.6939 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.514, allocations: 423.2 kB / 0.6943 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.5145, allocations: 222.8 kB / 0.6945 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/0.5146, allocations: 13.25 kB / 0.6945 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00073/0.5153, allocations: 269.8 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 4.358e-06/0.5153, allocations: 0 / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.001821/0.5171, allocations: 0.5804 MB / 0.6953 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.5172, allocations: 61.47 kB / 0.6954 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008206/0.518, allocations: 447.1 kB / 0.6958 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.5181, allocations: 41.23 kB / 0.6958 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.5185, allocations: 325 kB / 0.6961 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.5186, allocations: 173.7 kB / 0.6963 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.5188, allocations: 94.77 kB / 0.6964 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002412/0.5191, allocations: 366.8 kB / 0.6968 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.5195, allocations: 164.8 kB / 0.6969 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.52, allocations: 253.8 kB / 0.6972 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/0.521, allocations: 452.3 kB / 0.6976 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.521, allocations: 7.938 kB / 0.6976 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001223/0.5222, allocations: 0.56 MB / 0.6981 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.5223, allocations: 39.03 kB / 0.6982 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5223, allocations: 2.062 kB / 0.6982 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.5223, allocations: 4.781 kB / 0.6982 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.5228, allocations: 117.9 kB / 0.6983 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5228, allocations: 4.125 kB / 0.6983 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.5232, allocations: 58.91 kB / 0.6984 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.5233, allocations: 17.75 kB / 0.6984 GB, free: 8.723 MB / 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.0003224/0.5236, allocations: 212.7 kB / 0.6986 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.5237, allocations: 61.47 kB / 0.6986 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.5238, allocations: 70.83 kB / 0.6987 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5238, allocations: 5.438 kB / 0.6987 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.5238, allocations: 0 / 0.6987 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5238, allocations: 0 / 0.6987 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.5259, allocations: 1.171 MB / 0.6998 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5259, allocations: 0 / 0.6998 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.5263, allocations: 104.8 kB / 0.6999 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.5263, allocations: 5.359 kB / 0.7 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.5264, allocations: 10.66 kB / 0.7 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5264, allocations: 2.812 kB / 0.7 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5264, allocations: 0 / 0.7 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.5278, allocations: 0.7669 MB / 0.7007 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.528, allocations: 171.8 kB / 0.7009 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.5281, allocations: 8.375 kB / 0.7009 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.5284, allocations: 22.11 kB / 0.7009 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5285, allocations: 40.12 kB / 0.7009 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.5286, allocations: 8.875 kB / 0.701 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003895/0.5289, allocations: 318.8 kB / 0.7013 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5289, allocations: 1.438 kB / 0.7013 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005695/0.5295, allocations: 149.8 kB / 0.7014 GB, free: 6.641 MB / 0.5137 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.0001588/0.5297, allocations: 117.8 kB / 0.7015 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.5307, allocations: 463.3 kB / 0.702 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5307, allocations: 0 / 0.702 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.5312, allocations: 203 kB / 0.7022 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/0.532, allocations: 147.5 kB / 0.7023 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.5352, allocations: 1.361 MB / 0.7036 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.5358, allocations: 0.8937 MB / 0.7045 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003038/0.5361, allocations: 59.84 kB / 0.7045 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.5362, allocations: 38.53 kB / 0.7046 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.5362, allocations: 0 / 0.7046 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of Templates: time 0.01336/0.5496, allocations: 6.072 MB / 0.7105 GB, free: 14.8 MB / 0.5294 GB " [Timeout remaining time 659] 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] [Calling sys.exit(0), Time elapsed: 6.264128941111267]