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.001919/0.001919, allocations: 97.47 kB / 20.22 MB, free: 4.207 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.002014/0.002014, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.676/1.676, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.066/1.066, allocations: 115 MB / 375.3 MB, free: 7.57 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 1.884e-06/1.884e-06, allocations: 0 / 480.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.015e-05, allocations: 2.312 kB / 480.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004028/0.004058, allocations: 2.91 MB / 483.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.00578, allocations: 0.9572 MB / 484.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.006022, allocations: 17.31 kB / 484.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.006263, allocations: 69.12 kB / 484.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.006447, allocations: 97.53 kB / 484.8 MB, free: 9.254 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.00692, allocations: 232.8 kB / 485 MB, free: 9.117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.007354, allocations: 499.5 kB / 485.5 MB, free: 8.852 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.007625, allocations: 142.2 kB / 485.6 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.008004, allocations: 284.1 kB / 485.9 MB, free: 8.621 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.008202, allocations: 123 kB / 486 MB, free: 8.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.00828, allocations: 43.72 kB / 486.1 MB, free: 8.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.955e-05/0.008379, allocations: 54.72 kB / 486.1 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.008441, allocations: 91.33 kB / 486.2 MB, free: 8.496 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.008554, allocations: 130.2 kB / 486.3 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.009072, allocations: 0.5206 MB / 486.9 MB, free: 8.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.009075, allocations: 0.7812 kB / 486.9 MB, free: 8.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009076, allocations: 0 / 486.9 MB, free: 8.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.009084, allocations: 0 / 486.9 MB, free: 8.199 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.001042/0.01013, allocations: 0.7774 MB / 487.6 MB, free: 7.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.01018, allocations: 10.94 kB / 487.7 MB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.01042, allocations: 82.56 kB / 487.7 MB, free: 7.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.01095, allocations: 359.8 kB / 488.1 MB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.01097, allocations: 29.12 kB / 488.1 MB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.01103, allocations: 29.22 kB / 488.1 MB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.01157, allocations: 448 kB / 488.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.01159, allocations: 1.75 kB / 488.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.01162, allocations: 10.28 kB / 488.6 MB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.01163, allocations: 15.95 kB / 488.6 MB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.01205, allocations: 202.9 kB / 488.8 MB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.01372, allocations: 1.298 MB / 490.1 MB, free: 21.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.01424, allocations: 235.8 kB / 490.3 MB, free: 21.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.01443, allocations: 105.9 kB / 490.4 MB, free: 21.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.01447, allocations: 4.125 kB / 490.4 MB, free: 21.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.01449, allocations: 39.67 kB / 490.5 MB, free: 21.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.01449, allocations: 0 / 490.5 MB, free: 21.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006297/0.01512, allocations: 292.1 kB / 490.8 MB, free: 21.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.01516, allocations: 113.2 kB / 490.9 MB, free: 21.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.0156, allocations: 456.7 kB / 491.3 MB, free: 21.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.01562, allocations: 32.36 kB / 491.4 MB, free: 21.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.01582, allocations: 292 kB / 491.6 MB, free: 20.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.01588, allocations: 90.64 kB / 491.7 MB, free: 20.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.01597, allocations: 63.2 kB / 491.8 MB, free: 20.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003146/0.01628, allocations: 0.5408 MB / 492.3 MB, free: 20.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.01644, allocations: 72.97 kB / 492.4 MB, free: 20.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.01664, allocations: 222.1 kB / 492.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.01696, allocations: 235.8 kB / 492.9 MB, free: 19.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01696, allocations: 1.656 kB / 492.9 MB, free: 19.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004525/0.01742, allocations: 288 kB / 493.1 MB, free: 19.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.01743, allocations: 8 kB / 493.1 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01744, allocations: 5.344 kB / 493.1 MB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.01746, allocations: 8.75 kB / 493.2 MB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.01768, allocations: 49.33 kB / 493.2 MB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.01769, allocations: 10.78 kB / 493.2 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.01784, allocations: 28.75 kB / 493.2 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.01787, allocations: 12.03 kB / 493.3 MB, free: 19.72 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 0.0002862/0.01815, allocations: 208.2 kB / 493.5 MB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.01822, allocations: 36.72 kB / 493.5 MB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.108e-05/0.01831, allocations: 45.81 kB / 493.5 MB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.01832, allocations: 3.219 kB / 493.5 MB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.922e-06/0.01832, allocations: 0.8438 kB / 493.5 MB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01833, allocations: 0 / 493.5 MB, free: 19.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.01872, allocations: 362.5 kB / 493.9 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01872, allocations: 0 / 493.9 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.01895, allocations: 35.45 kB / 493.9 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01895, allocations: 1.406 kB / 493.9 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.01897, allocations: 12.59 kB / 493.9 MB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.01897, allocations: 5.281 kB / 494 MB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01897, allocations: 0 / 494 MB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.01962, allocations: 482.8 kB / 494.4 MB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.01971, allocations: 54.02 kB / 494.5 MB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.01975, allocations: 10.66 kB / 494.5 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.01992, allocations: 14.64 kB / 494.5 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.01998, allocations: 17.52 kB / 494.5 MB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.02, allocations: 12.06 kB / 494.5 MB, free: 18.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002786/0.02028, allocations: 294.9 kB / 494.8 MB, free: 18.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02028, allocations: 0 / 494.8 MB, free: 18.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.0206, allocations: 74.44 kB / 494.9 MB, free: 18.67 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 0.0001155/0.02071, allocations: 105.8 kB / 495 MB, free: 18.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004261/0.02114, allocations: 203.3 kB / 495.2 MB, free: 18.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.02114, allocations: 1.344 kB / 495.2 MB, free: 18.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.02132, allocations: 108.1 kB / 495.3 MB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.02185, allocations: 80.53 kB / 495.4 MB, free: 18.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.023, allocations: 0.6816 MB / 496.1 MB, free: 18.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.02315, allocations: 187.6 kB / 496.2 MB, free: 17.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.02329, allocations: 44.38 kB / 496.3 MB, free: 17.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.02337, allocations: 27.38 kB / 496.3 MB, free: 17.92 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02337, allocations: 3.938 kB / 496.3 MB, free: 17.91 MB / 426.7 MB Notification: Performance of Templates: time 0.008183/0.03155, allocations: 3.276 MB / 499.6 MB, free: 17.6 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: 6.006655573030002]