Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.001053/0.001053, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001075/0.001075, allocations: 169 kB / 24.25 MB, free: 300 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 0.9978/0.9978, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.6524/0.6524, allocations: 115 MB / 376 MB, free: 7.625 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.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.453e-05, allocations: 2.312 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004941/0.004976, allocations: 2.942 MB / 484.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.006975, allocations: 0.9585 MB / 485.4 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.007327, allocations: 17.06 kB / 485.4 MB, free: 9.375 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.007619, allocations: 69.55 kB / 485.5 MB, free: 9.324 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.00785, allocations: 94.14 kB / 485.6 MB, free: 9.254 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.008467, allocations: 226.5 kB / 485.8 MB, free: 9.121 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005733/0.009041, allocations: 0.492 MB / 486.3 MB, free: 8.852 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.009384, allocations: 144.1 kB / 486.4 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004415/0.009825, allocations: 282 kB / 486.7 MB, free: 8.625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.01004, allocations: 128.3 kB / 486.8 MB, free: 8.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.333e-05/0.01012, allocations: 43.03 kB / 486.9 MB, free: 8.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.01022, allocations: 50.56 kB / 486.9 MB, free: 8.566 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.01028, allocations: 92.38 kB / 487 MB, free: 8.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.01043, allocations: 127.9 kB / 487.1 MB, free: 8.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.0109, allocations: 308.9 kB / 487.4 MB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.0109, allocations: 0.75 kB / 487.4 MB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.01091, allocations: 0.8438 kB / 487.4 MB, free: 8.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.01092, allocations: 0.625 kB / 487.4 MB, free: 8.25 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008162/0.01173, allocations: 0.7409 MB / 488.2 MB, free: 7.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.01177, allocations: 9.562 kB / 488.2 MB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.01195, allocations: 90.22 kB / 488.3 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.01239, allocations: 369.9 kB / 488.6 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.01242, allocations: 21.69 kB / 488.6 MB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.01247, allocations: 33.69 kB / 488.7 MB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.01282, allocations: 365.1 kB / 489 MB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01284, allocations: 1.156 kB / 489 MB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.01286, allocations: 11.53 kB / 489 MB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.01287, allocations: 12.59 kB / 489.1 MB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.01306, allocations: 109.8 kB / 489.2 MB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.01411, allocations: 1.131 MB / 490.3 MB, free: 22.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.01442, allocations: 166 kB / 490.5 MB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.01451, allocations: 65.3 kB / 490.5 MB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.01453, allocations: 5.031 kB / 490.5 MB, free: 22.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.01455, allocations: 40.11 kB / 490.6 MB, free: 22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.532e-06/0.01455, allocations: 0.5625 kB / 490.6 MB, free: 22 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.000335/0.01489, allocations: 199.3 kB / 490.8 MB, free: 21.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.01492, allocations: 112.8 kB / 490.9 MB, free: 21.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.01517, allocations: 362.2 kB / 491.2 MB, free: 21.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.01519, allocations: 31.98 kB / 491.3 MB, free: 21.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.0153, allocations: 269.7 kB / 491.5 MB, free: 21.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.01534, allocations: 81.64 kB / 491.6 MB, free: 21.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.0154, allocations: 60.09 kB / 491.7 MB, free: 21.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.01552, allocations: 0.512 MB / 492.2 MB, free: 20.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.01559, allocations: 33.78 kB / 492.2 MB, free: 20.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.01569, allocations: 177.3 kB / 492.4 MB, free: 20.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.01586, allocations: 163.6 kB / 492.5 MB, free: 20.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01586, allocations: 1.25 kB / 492.5 MB, free: 20.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002396/0.0161, allocations: 210.9 kB / 492.7 MB, free: 20.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.01611, allocations: 9.188 kB / 492.8 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01612, allocations: 5.875 kB / 492.8 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01614, allocations: 3.5 kB / 492.8 MB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.01627, allocations: 54.97 kB / 492.8 MB, free: 20.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01628, allocations: 13.94 kB / 492.8 MB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.01636, allocations: 26.5 kB / 492.9 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.01637, allocations: 10.39 kB / 492.9 MB, free: 20.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 9.799e-05/0.01647, allocations: 173.9 kB / 493 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.01652, allocations: 43.52 kB / 493.1 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.01656, allocations: 44.86 kB / 493.1 MB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.01656, allocations: 2.312 kB / 493.1 MB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01657, allocations: 0 / 493.1 MB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01657, allocations: 3.141 kB / 493.1 MB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.01679, allocations: 274.6 kB / 493.4 MB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01679, allocations: 1.906 kB / 493.4 MB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.01691, allocations: 46.47 kB / 493.4 MB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01691, allocations: 5.234 kB / 493.4 MB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.01692, allocations: 2.344 kB / 493.4 MB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01692, allocations: 5.281 kB / 493.5 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01693, allocations: 0 / 493.5 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.01727, allocations: 364.6 kB / 493.8 MB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.01733, allocations: 53 kB / 493.9 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.01736, allocations: 10.38 kB / 493.9 MB, free: 19.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.01744, allocations: 14.67 kB / 493.9 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.01749, allocations: 15.23 kB / 493.9 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.0175, allocations: 9.656 kB / 493.9 MB, free: 19.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.01764, allocations: 242.3 kB / 494.1 MB, free: 19.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01764, allocations: 1.969 kB / 494.1 MB, free: 19.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000216/0.01786, allocations: 69.44 kB / 494.2 MB, free: 19.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.003e-05/0.01794, allocations: 105.2 kB / 494.3 MB, free: 19.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01816, allocations: 133.2 kB / 494.4 MB, free: 19.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01816, allocations: 0 / 494.4 MB, free: 19.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.01824, allocations: 73.94 kB / 494.5 MB, free: 19.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.01855, allocations: 82.97 kB / 494.6 MB, free: 19.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.01956, allocations: 0.6472 MB / 495.2 MB, free: 18.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.183e-05/0.01961, allocations: 93.86 kB / 495.3 MB, free: 18.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.788e-05/0.01971, allocations: 42.91 kB / 495.4 MB, free: 18.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.01976, allocations: 29.28 kB / 495.4 MB, free: 18.7 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01976, allocations: 0 / 495.4 MB, free: 18.7 MB / 426.7 MB Notification: Performance of Templates: time 0.005651/0.02542, allocations: 3.282 MB / 498.7 MB, free: 18.37 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6895959910470992]