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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 88.17 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.08/1.08, allocations: 115 MB / 375.3 MB, free: 7.59 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.673e-06/1.673e-06, allocations: 0 / 480.7 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.673e-05, allocations: 2.312 kB / 480.7 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004742/0.004769, allocations: 3.94 MB / 484.7 MB, free: 9.352 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.007316, allocations: 1.347 MB / 486 MB, free: 8.379 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.007795, allocations: 29.69 kB / 486.1 MB, free: 8.367 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.008141, allocations: 127.7 kB / 486.2 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.008505, allocations: 193.2 kB / 486.4 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007963/0.009302, allocations: 412.1 kB / 486.8 MB, free: 7.883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008419/0.01014, allocations: 0.9815 MB / 487.8 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005008/0.01064, allocations: 282.6 kB / 488 MB, free: 7.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006423/0.01129, allocations: 0.4999 MB / 488.5 MB, free: 6.902 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.01163, allocations: 240.5 kB / 488.8 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.01177, allocations: 91.25 kB / 488.9 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.01191, allocations: 90.88 kB / 488.9 MB, free: 6.805 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.01203, allocations: 183 kB / 489.1 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.01227, allocations: 255.6 kB / 489.4 MB, free: 6.535 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00091/0.01318, allocations: 1.083 MB / 490.5 MB, free: 6.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.01318, allocations: 1.125 kB / 490.5 MB, free: 6.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.01319, allocations: 3.141 kB / 490.5 MB, free: 6.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.0132, allocations: 0 / 490.5 MB, free: 6.09 MB / 410.7 MB 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.001821/0.01502, allocations: 1.287 MB / 491.7 MB, free: 5.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.01506, allocations: 8.875 kB / 491.8 MB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.01527, allocations: 138 kB / 491.9 MB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.01607, allocations: 0.5238 MB / 492.4 MB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.01611, allocations: 41.84 kB / 492.4 MB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.0162, allocations: 60.16 kB / 492.5 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.01722, allocations: 0.6988 MB / 493.2 MB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.01724, allocations: 7.125 kB / 493.2 MB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.01729, allocations: 21.56 kB / 493.2 MB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.01731, allocations: 17.84 kB / 493.3 MB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008713/0.01818, allocations: 436.4 kB / 493.7 MB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.02118, allocations: 2.2 MB / 495.9 MB, free: 18.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.02197, allocations: 443.8 kB / 496.3 MB, free: 18.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.02234, allocations: 222.9 kB / 496.5 MB, free: 18.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.0224, allocations: 9.688 kB / 496.5 MB, free: 18.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.02288, allocations: 263.7 kB / 496.8 MB, free: 18.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 2.485e-06/0.02288, allocations: 1.656 kB / 496.8 MB, free: 18.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.001227/0.02411, allocations: 0.5762 MB / 497.4 MB, free: 18.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.02415, allocations: 69.41 kB / 497.4 MB, free: 18.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007962/0.02495, allocations: 0.5914 MB / 498 MB, free: 17.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.02499, allocations: 37.7 kB / 498.1 MB, free: 17.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.02537, allocations: 417.3 kB / 498.5 MB, free: 17.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.02553, allocations: 190.8 kB / 498.7 MB, free: 17.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.02577, allocations: 122.6 kB / 498.8 MB, free: 17.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004532/0.02623, allocations: 0.5829 MB / 499.4 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.02665, allocations: 185 kB / 499.5 MB, free: 16.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.02718, allocations: 315.3 kB / 499.9 MB, free: 16.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.02801, allocations: 490 kB / 0.4886 GB, free: 15.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.02802, allocations: 1.125 kB / 0.4886 GB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001168/0.02919, allocations: 0.5954 MB / 0.4892 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.02923, allocations: 36.36 kB / 0.4892 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.02924, allocations: 5.609 kB / 0.4892 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.02927, allocations: 5.625 kB / 0.4892 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.02978, allocations: 111.2 kB / 0.4893 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.02979, allocations: 14.48 kB / 0.4894 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.03012, allocations: 52.02 kB / 0.4894 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.03017, allocations: 17.12 kB / 0.4894 GB, free: 15.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0003557/0.03052, allocations: 259.3 kB / 0.4897 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.03062, allocations: 70.34 kB / 0.4897 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.03077, allocations: 66.19 kB / 0.4898 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.03078, allocations: 4.156 kB / 0.4898 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.03079, allocations: 5.406 kB / 0.4898 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.0308, allocations: 8.078 kB / 0.4898 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.03271, allocations: 1.178 MB / 0.491 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.03271, allocations: 1.125 kB / 0.491 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.03316, allocations: 87.25 kB / 0.491 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.03317, allocations: 3.062 kB / 0.4911 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.03321, allocations: 16.22 kB / 0.4911 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.03322, allocations: 2 kB / 0.4911 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.03322, allocations: 0 / 0.4911 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.03466, allocations: 0.8138 MB / 0.4919 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.03487, allocations: 96.06 kB / 0.492 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.709e-05/0.03494, allocations: 19.88 kB / 0.492 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.03521, allocations: 19.11 kB / 0.492 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.03531, allocations: 38.56 kB / 0.492 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.03535, allocations: 16.67 kB / 0.492 GB, free: 14.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004939/0.03584, allocations: 373.4 kB / 0.4924 GB, free: 13.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03584, allocations: 0.7812 kB / 0.4924 GB, free: 13.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005426/0.03639, allocations: 147.7 kB / 0.4925 GB, free: 13.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.0001917/0.03658, allocations: 111.3 kB / 0.4927 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.03764, allocations: 0.5102 MB / 0.4931 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03764, allocations: 0 / 0.4931 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004736/0.03812, allocations: 227.9 kB / 0.4934 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.03898, allocations: 153.5 kB / 0.4935 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.04185, allocations: 1.26 MB / 0.4947 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.04223, allocations: 291.1 kB / 0.495 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.04252, allocations: 64.03 kB / 0.4951 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.04266, allocations: 38.09 kB / 0.4951 GB, free: 11.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.803e-06/0.04266, allocations: 0 / 0.4951 GB, free: 11.76 MB / 426.7 MB Notification: Performance of Templates: time 0.01522/0.05788, allocations: 5.801 MB / 0.5008 GB, free: 8.105 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.029430352966301]