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.001014/0.001014, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001078/0.001078, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9934/0.9934, allocations: 177.1 MB / 204.2 MB, free: 5.238 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.5842/0.5842, allocations: 115 MB / 375.7 MB, free: 7.562 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.633e-06/1.633e-06, allocations: 0 / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.857e-05, allocations: 3.859 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003947/0.003975, allocations: 4.003 MB / 485.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.0062, allocations: 1.345 MB / 486.8 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007357/0.006936, allocations: 35.06 kB / 486.8 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.007228, allocations: 124.9 kB / 487 MB, free: 8.215 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.007539, allocations: 193.2 kB / 487.2 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.00818, allocations: 421.4 kB / 487.6 MB, free: 7.812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.008971, allocations: 0.9725 MB / 488.5 MB, free: 7.277 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.009349, allocations: 292.4 kB / 488.8 MB, free: 7.094 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004858/0.009835, allocations: 0.496 MB / 489.3 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.0101, allocations: 241.4 kB / 489.6 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.0102, allocations: 87.78 kB / 489.6 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.0103, allocations: 88.09 kB / 489.7 MB, free: 6.742 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.01039, allocations: 174.6 kB / 489.9 MB, free: 6.613 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.01058, allocations: 252.1 kB / 490.1 MB, free: 6.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.01107, allocations: 0.5721 MB / 490.7 MB, free: 6.133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01107, allocations: 1.125 kB / 490.7 MB, free: 6.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01107, allocations: 1.062 kB / 490.7 MB, free: 6.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.01109, allocations: 0 / 490.7 MB, free: 6.133 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.001296/0.01238, allocations: 1.151 MB / 491.9 MB, free: 21.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.01242, allocations: 9.406 kB / 491.9 MB, free: 21.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.01259, allocations: 135.1 kB / 492 MB, free: 21.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.01315, allocations: 0.5397 MB / 492.6 MB, free: 20.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.01318, allocations: 39.69 kB / 492.6 MB, free: 20.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.01325, allocations: 61.91 kB / 492.7 MB, free: 20.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.01387, allocations: 0.5205 MB / 493.2 MB, free: 20.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.01389, allocations: 5.234 kB / 493.2 MB, free: 20.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.01392, allocations: 22.53 kB / 493.2 MB, free: 20.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.01394, allocations: 18.66 kB / 493.2 MB, free: 20.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.01433, allocations: 226.6 kB / 493.4 MB, free: 20.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.01615, allocations: 1.804 MB / 495.2 MB, free: 19.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.01657, allocations: 268.1 kB / 495.5 MB, free: 19.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.01675, allocations: 127.8 kB / 495.6 MB, free: 19.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.01678, allocations: 8.719 kB / 495.6 MB, free: 19.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.01704, allocations: 176.1 kB / 495.8 MB, free: 19.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 2.093e-06/0.01705, allocations: 0 / 495.8 MB, free: 19.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.001322/0.01837, allocations: 389.1 kB / 496.2 MB, free: 18.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.0184, allocations: 68.14 kB / 496.3 MB, free: 18.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.01875, allocations: 450.7 kB / 496.7 MB, free: 18.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.01878, allocations: 33.73 kB / 496.7 MB, free: 18.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.01895, allocations: 377.9 kB / 497.1 MB, free: 18.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.01903, allocations: 174.5 kB / 497.3 MB, free: 18.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.01914, allocations: 98.23 kB / 497.4 MB, free: 18.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.01932, allocations: 0.5356 MB / 497.9 MB, free: 17.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.01949, allocations: 103.2 kB / 498 MB, free: 17.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.01967, allocations: 211.6 kB / 498.2 MB, free: 17.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.01999, allocations: 304.8 kB / 498.5 MB, free: 17.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01999, allocations: 2.719 kB / 498.5 MB, free: 17.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005162/0.02051, allocations: 447.5 kB / 498.9 MB, free: 16.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.02054, allocations: 39.06 kB / 499 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.02055, allocations: 1.344 kB / 499 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.02057, allocations: 6.375 kB / 499 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.02088, allocations: 112 kB / 499.1 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.02089, allocations: 8.656 kB / 499.1 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.02104, allocations: 54.66 kB / 499.2 MB, free: 16.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.02107, allocations: 21.67 kB / 499.2 MB, free: 16.82 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.0001572/0.02123, allocations: 187.1 kB / 499.4 MB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.0213, allocations: 75.31 kB / 499.4 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.02137, allocations: 69.2 kB / 499.5 MB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.02138, allocations: 5.562 kB / 499.5 MB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.02139, allocations: 4.938 kB / 499.5 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.02139, allocations: 3.375 kB / 499.5 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/0.02236, allocations: 0.8652 MB / 0.4887 GB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02236, allocations: 2.031 kB / 0.4887 GB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.02263, allocations: 92.02 kB / 0.4887 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.02264, allocations: 1.188 kB / 0.4887 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.02266, allocations: 11.94 kB / 0.4888 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.02266, allocations: 1.062 kB / 0.4888 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.02267, allocations: 2.031 kB / 0.4888 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.02328, allocations: 0.5608 MB / 0.4893 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.02338, allocations: 92.58 kB / 0.4894 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.02342, allocations: 16.81 kB / 0.4894 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.02354, allocations: 15.81 kB / 0.4894 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.02361, allocations: 40.48 kB / 0.4895 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.02363, allocations: 9.812 kB / 0.4895 GB, free: 15.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.02384, allocations: 293.4 kB / 0.4898 GB, free: 15.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02384, allocations: 0 / 0.4898 GB, free: 15.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.02416, allocations: 145.2 kB / 0.4899 GB, free: 15.41 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.0001061/0.02427, allocations: 110.4 kB / 0.49 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.02469, allocations: 347.6 kB / 0.4903 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02469, allocations: 0 / 0.4903 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.02487, allocations: 148 kB / 0.4905 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.02535, allocations: 151.6 kB / 0.4906 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.02707, allocations: 1.169 MB / 0.4918 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.02717, allocations: 133.5 kB / 0.4919 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.02735, allocations: 59.98 kB / 0.4919 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.02744, allocations: 40.39 kB / 0.492 GB, free: 14.33 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02744, allocations: 0 / 0.492 GB, free: 14.33 MB / 426.7 MB Notification: Performance of Templates: time 0.01018/0.03762, allocations: 6.13 MB / 0.498 GB, free: 11.38 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: 3.499606936238706]