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.0009488/0.0009488, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001399/0.001399, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 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.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.016 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6397/0.6397, allocations: 115 MB / 376 MB, free: 7.375 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.453e-06/1.453e-06, allocations: 0 / 428.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.46e-05, allocations: 6.25 kB / 428.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005638/0.005663, allocations: 3.916 MB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.008075, allocations: 1.402 MB / 434 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003975/0.008473, allocations: 31.81 kB / 434 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.008758, allocations: 126.7 kB / 434.1 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.009056, allocations: 198.2 kB / 434.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006655/0.009721, allocations: 411.4 kB / 434.7 MB, free: 12.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.01077, allocations: 0.9784 MB / 435.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.01116, allocations: 302.6 kB / 436 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005919/0.01176, allocations: 0.5067 MB / 436.5 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.01202, allocations: 235.2 kB / 436.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.884e-05/0.0121, allocations: 84 kB / 436.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.697e-05/0.01217, allocations: 88 kB / 436.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.155e-05/0.01226, allocations: 171.4 kB / 437.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.01242, allocations: 255.3 kB / 437.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.01293, allocations: 0.572 MB / 437.9 MB, free: 9.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01293, allocations: 0 / 437.9 MB, free: 9.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01294, allocations: 3.938 kB / 437.9 MB, free: 9.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.01294, allocations: 0 / 437.9 MB, free: 9.492 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.001032/0.01398, allocations: 0.9683 MB / 438.9 MB, free: 8.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.01401, allocations: 8.031 kB / 438.9 MB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.01425, allocations: 108.8 kB / 439 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.01473, allocations: 413.3 kB / 439.4 MB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.01476, allocations: 49.69 kB / 439.4 MB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.01482, allocations: 56.38 kB / 439.5 MB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.01524, allocations: 493.9 kB / 440 MB, free: 7.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.01526, allocations: 4.141 kB / 440 MB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.01529, allocations: 24.38 kB / 440 MB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.0153, allocations: 15.94 kB / 440 MB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.01551, allocations: 162.3 kB / 440.2 MB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.01684, allocations: 1.29 MB / 441.5 MB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.01711, allocations: 237.5 kB / 441.7 MB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.0172, allocations: 90.31 kB / 441.8 MB, free: 5.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.01723, allocations: 8.5 kB / 441.8 MB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.0174, allocations: 162.2 kB / 442 MB, free: 5.277 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 1.734e-06/0.0174, allocations: 0 / 442 MB, free: 5.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003096/0.01771, allocations: 262 kB / 442.2 MB, free: 5.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.01774, allocations: 59.91 kB / 442.3 MB, free: 4.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.01796, allocations: 387.1 kB / 442.7 MB, free: 4.555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.01799, allocations: 37.7 kB / 442.7 MB, free: 4.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.01812, allocations: 274.1 kB / 443 MB, free: 4.242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.01821, allocations: 174.5 kB / 443.1 MB, free: 4.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.0183, allocations: 94.3 kB / 443.2 MB, free: 3.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.01842, allocations: 374.6 kB / 443.6 MB, free: 3.598 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.0185, allocations: 74.98 kB / 443.7 MB, free: 3.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.01863, allocations: 168.3 kB / 443.8 MB, free: 3.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.01885, allocations: 255.1 kB / 444.1 MB, free: 3.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01886, allocations: 0 / 444.1 MB, free: 3.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000304/0.01916, allocations: 325.9 kB / 444.4 MB, free: 2.699 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.0192, allocations: 37.64 kB / 444.4 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01921, allocations: 0 / 444.4 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.01922, allocations: 4 kB / 444.4 MB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.01948, allocations: 115.8 kB / 444.6 MB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.01949, allocations: 4 kB / 444.6 MB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.01963, allocations: 59.55 kB / 444.6 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.01965, allocations: 12 kB / 444.6 MB, free: 2.465 MB / 410.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 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * 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.0001453/0.0198, allocations: 145.8 kB / 444.8 MB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.01985, allocations: 47.95 kB / 444.8 MB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.01992, allocations: 61.44 kB / 444.9 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01992, allocations: 4 kB / 444.9 MB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.01993, allocations: 4 kB / 444.9 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.01993, allocations: 3.984 kB / 444.9 MB, free: 2.195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.02057, allocations: 0.5835 MB / 445.5 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02057, allocations: 4 kB / 445.5 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.02079, allocations: 95.89 kB / 445.6 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.0208, allocations: 4 kB / 445.6 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.02081, allocations: 4 kB / 445.6 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.02082, allocations: 4 kB / 445.6 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02082, allocations: 0 / 445.6 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.0212, allocations: 406.7 kB / 446 MB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.02162, allocations: 59.53 kB / 446 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.02166, allocations: 12 kB / 446 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.02177, allocations: 19.98 kB / 446.1 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.02183, allocations: 48.3 kB / 446.1 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.02184, allocations: 8 kB / 446.1 MB, free: 0.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.02196, allocations: 160.7 kB / 446.3 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02196, allocations: 0 / 446.3 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002522/0.02221, allocations: 147.6 kB / 446.4 MB, free: 0.6172 MB / 410.7 MB 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 9.778e-05/0.02231, allocations: 88.36 kB / 446.5 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.02258, allocations: 305.5 kB / 446.8 MB, free: 208 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.02259, allocations: 4 kB / 446.8 MB, free: 204 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.0227, allocations: 116.7 kB / 446.9 MB, free: 84 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1825/0.2052, allocations: 143.8 kB / 447.1 MB, free: 29.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.2072, allocations: 1.087 MB / 448.2 MB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.2073, allocations: 133.4 kB / 448.3 MB, free: 29.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.2076, allocations: 64.84 kB / 448.3 MB, free: 29.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.2078, allocations: 159.5 kB / 448.5 MB, free: 29.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2078, allocations: 0 / 448.5 MB, free: 29.06 MB / 410.7 MB Notification: Performance of Templates: time 0.01151/0.2193, allocations: 6.264 MB / 454.8 MB, free: 28.24 MB / 410.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: 3.5371778309345245]