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.001251/0.001251, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001465/0.001465, 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.9878/0.9878, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6437/0.6437, allocations: 114.9 MB / 375.7 MB, free: 7.648 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.803e-06/1.803e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.03e-05, allocations: 2.312 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006413/0.006443, allocations: 4.003 MB / 485.5 MB, free: 9.289 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.01043, allocations: 1.346 MB / 486.8 MB, free: 8.328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.01146, allocations: 29.16 kB / 486.8 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.01194, allocations: 129.9 kB / 487 MB, free: 8.223 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006914/0.01263, allocations: 190.1 kB / 487.1 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.01376, allocations: 416.1 kB / 487.6 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.01539, allocations: 0.9774 MB / 488.5 MB, free: 7.289 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006672/0.01605, allocations: 284.8 kB / 488.8 MB, free: 7.113 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009708/0.01702, allocations: 0.4988 MB / 489.3 MB, free: 6.855 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005614/0.01759, allocations: 239 kB / 489.5 MB, free: 6.758 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.01783, allocations: 92.47 kB / 489.6 MB, free: 6.758 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.01803, allocations: 91.34 kB / 489.7 MB, free: 6.758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.01817, allocations: 184.6 kB / 489.9 MB, free: 6.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.01856, allocations: 250.6 kB / 490.1 MB, free: 6.488 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009759/0.01954, allocations: 0.5829 MB / 490.7 MB, free: 6.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.01954, allocations: 0 / 490.7 MB, free: 6.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01954, allocations: 5.094 kB / 490.7 MB, free: 6.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.991e-05/0.01957, 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.001903/0.02148, allocations: 1.159 MB / 491.9 MB, free: 5.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.02153, allocations: 8.906 kB / 491.9 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.02175, allocations: 135.9 kB / 492 MB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000711/0.02246, allocations: 0.5357 MB / 492.6 MB, free: 4.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.0225, allocations: 45.94 kB / 492.6 MB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/0.02258, allocations: 63.94 kB / 492.7 MB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.02323, allocations: 0.5168 MB / 493.2 MB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.02325, allocations: 9.234 kB / 493.2 MB, free: 4.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.02329, allocations: 23.47 kB / 493.2 MB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.02331, allocations: 18.09 kB / 493.2 MB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.02373, allocations: 222.9 kB / 493.5 MB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.02578, allocations: 1.809 MB / 495.3 MB, free: 19.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.0262, allocations: 270.4 kB / 495.5 MB, free: 19.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.02637, allocations: 127.7 kB / 495.7 MB, free: 19.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.02641, allocations: 8.219 kB / 495.7 MB, free: 19.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.02666, allocations: 178.3 kB / 495.8 MB, free: 19.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 3.216e-06/0.02666, allocations: 1.25 kB / 495.8 MB, free: 19.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006369/0.0273, allocations: 388.3 kB / 496.2 MB, free: 18.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.02734, allocations: 61.91 kB / 496.3 MB, free: 18.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.02771, allocations: 445.8 kB / 496.7 MB, free: 18.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.02774, allocations: 33.08 kB / 496.8 MB, free: 18.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.02793, allocations: 385.2 kB / 497.1 MB, free: 18.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.02801, allocations: 175.3 kB / 497.3 MB, free: 18.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.02813, allocations: 98.45 kB / 497.4 MB, free: 18.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.0283, allocations: 0.5358 MB / 497.9 MB, free: 17.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.02846, allocations: 98.12 kB / 498 MB, free: 17.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.02864, allocations: 212.5 kB / 498.2 MB, free: 17.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.02895, allocations: 306 kB / 498.5 MB, free: 17.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.02895, allocations: 1.094 kB / 498.5 MB, free: 17.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005129/0.02946, allocations: 454.7 kB / 499 MB, free: 16.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.02951, allocations: 32.33 kB / 499 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.02951, allocations: 3.125 kB / 499 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.02954, allocations: 8.328 kB / 499 MB, free: 16.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.02983, allocations: 112.8 kB / 499.1 MB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.02985, allocations: 16.3 kB / 499.1 MB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.03001, allocations: 48.61 kB / 499.2 MB, free: 16.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.03004, allocations: 21.41 kB / 499.2 MB, free: 16.81 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.0001535/0.03019, allocations: 194.6 kB / 499.4 MB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.03026, allocations: 76.03 kB / 499.5 MB, free: 16.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.329e-05/0.03033, allocations: 65.64 kB / 499.5 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.03034, allocations: 4.5 kB / 499.5 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.03035, allocations: 3.938 kB / 499.6 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.03035, allocations: 4.125 kB / 499.6 MB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.03128, allocations: 0.8635 MB / 0.4887 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.03128, allocations: 0 / 0.4887 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.03154, allocations: 95.73 kB / 0.4888 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.03154, allocations: 2.344 kB / 0.4888 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.03157, allocations: 15.72 kB / 0.4888 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.03157, allocations: 2.156 kB / 0.4888 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03157, allocations: 5.312 kB / 0.4888 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.03218, allocations: 0.5524 MB / 0.4893 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.03229, allocations: 88.66 kB / 0.4894 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.03233, allocations: 18.72 kB / 0.4894 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.03245, allocations: 21.53 kB / 0.4895 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.03252, allocations: 33.75 kB / 0.4895 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.03254, allocations: 16.08 kB / 0.4895 GB, free: 15.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.03276, allocations: 289.8 kB / 0.4898 GB, free: 15.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03276, allocations: 0 / 0.4898 GB, free: 15.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.03313, allocations: 146.3 kB / 0.4899 GB, free: 15.4 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.0001192/0.03325, allocations: 115.3 kB / 0.49 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004465/0.03369, allocations: 347.5 kB / 0.4904 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.03369, allocations: 0 / 0.4904 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.03388, allocations: 139 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.0005009/0.03438, allocations: 155.1 kB / 0.4907 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.03626, allocations: 1.17 MB / 0.4918 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.182e-05/0.03635, allocations: 132.4 kB / 0.4919 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.03654, allocations: 62.45 kB / 0.492 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.03664, allocations: 46.72 kB / 0.492 GB, free: 14.32 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03664, allocations: 0 / 0.492 GB, free: 14.32 MB / 426.7 MB Notification: Performance of Templates: time 0.01011/0.04676, allocations: 5.811 MB / 0.4977 GB, free: 11.53 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.768961757887155]