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.001132/0.001132, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001113/0.001113, allocations: 169 kB / 24.05 MB, free: 456 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.9859/0.9859, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.6238/0.6238, allocations: 115 MB / 376 MB, free: 7.516 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.353e-06/1.353e-06, allocations: 0 / 481.9 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.78e-05, allocations: 2.312 kB / 481.9 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003442/0.00346, allocations: 2.914 MB / 484.8 MB, free: 9.812 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.005116, allocations: 0.9516 MB / 485.8 MB, free: 9.152 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000326/0.005442, allocations: 18.78 kB / 485.8 MB, free: 9.145 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.005669, allocations: 64.56 kB / 485.9 MB, free: 9.098 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.005859, allocations: 105.1 kB / 486 MB, free: 9.016 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.006312, allocations: 222.1 kB / 486.2 MB, free: 8.887 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.006768, allocations: 0.4978 MB / 486.7 MB, free: 8.613 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.007026, allocations: 141.9 kB / 486.8 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.007401, allocations: 280.6 kB / 487.1 MB, free: 8.391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.007582, allocations: 126.9 kB / 487.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.007646, allocations: 41.91 kB / 487.3 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.007729, allocations: 48.47 kB / 487.3 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.007777, allocations: 87.11 kB / 487.4 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.415e-05/0.007871, allocations: 128.7 kB / 487.5 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.008202, allocations: 300.5 kB / 487.8 MB, free: 8.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.008204, allocations: 0 / 487.8 MB, free: 8.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008205, allocations: 1.375 kB / 487.8 MB, free: 8.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.008212, allocations: 0 / 487.8 MB, free: 8.027 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.000696/0.008907, allocations: 0.7433 MB / 488.6 MB, free: 7.422 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.008944, allocations: 9.719 kB / 488.6 MB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.009109, allocations: 85.86 kB / 488.7 MB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.009472, allocations: 365.4 kB / 489 MB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.0095, allocations: 21.72 kB / 489 MB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.009544, allocations: 28.78 kB / 489.1 MB, free: 7.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.009858, allocations: 358.1 kB / 489.4 MB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.00987, allocations: 192 / 489.4 MB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.009893, allocations: 15.78 kB / 489.4 MB, free: 6.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.009902, allocations: 12.19 kB / 489.4 MB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.01005, allocations: 89.56 kB / 489.5 MB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.01106, allocations: 1.076 MB / 490.6 MB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.01132, allocations: 158.3 kB / 490.8 MB, free: 21.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.01139, allocations: 55.73 kB / 490.8 MB, free: 21.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.01142, allocations: 3.5 kB / 490.8 MB, free: 21.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.01143, allocations: 39.58 kB / 490.9 MB, free: 21.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.01144, allocations: 1.312 kB / 490.9 MB, free: 21.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003117/0.01175, allocations: 173.3 kB / 491 MB, free: 21.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.01177, allocations: 110.2 kB / 491.1 MB, free: 21.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.01203, allocations: 364.4 kB / 491.5 MB, free: 21.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.01205, allocations: 34.14 kB / 491.5 MB, free: 21.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.01218, allocations: 269.5 kB / 491.8 MB, free: 21.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.01223, allocations: 83.61 kB / 491.9 MB, free: 21.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.0123, allocations: 57.17 kB / 491.9 MB, free: 21.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.01245, allocations: 0.5143 MB / 492.4 MB, free: 20.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.01251, allocations: 26.45 kB / 492.5 MB, free: 20.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.01261, allocations: 172.9 kB / 492.6 MB, free: 20.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.01276, allocations: 149 kB / 492.8 MB, free: 20.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01276, allocations: 0.9688 kB / 492.8 MB, free: 20.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000254/0.01301, allocations: 197.8 kB / 493 MB, free: 20.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01303, allocations: 7.625 kB / 493 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.01304, allocations: 2.219 kB / 493 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.01305, allocations: 6.562 kB / 493 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.01321, allocations: 51.64 kB / 493 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.01321, allocations: 2.656 kB / 493 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01331, allocations: 31.7 kB / 493.1 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.01333, allocations: 9.188 kB / 493.1 MB, free: 20.11 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.0001141/0.01344, allocations: 170.1 kB / 493.3 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.01349, allocations: 39.77 kB / 493.3 MB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.01355, allocations: 41.77 kB / 493.3 MB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01355, allocations: 5.25 kB / 493.3 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01355, allocations: 1.406 kB / 493.3 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01356, allocations: 7.172 kB / 493.3 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.01379, allocations: 223.9 kB / 493.6 MB, free: 19.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01379, allocations: 5.062 kB / 493.6 MB, free: 19.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.01393, allocations: 42.08 kB / 493.6 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01393, allocations: 0.875 kB / 493.6 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01395, allocations: 6.219 kB / 493.6 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01395, allocations: 1.75 kB / 493.6 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01395, allocations: 1.531 kB / 493.6 MB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.01426, allocations: 351.2 kB / 494 MB, free: 19.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.01433, allocations: 55.94 kB / 494 MB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.01436, allocations: 6.156 kB / 494 MB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.01446, allocations: 10.52 kB / 494 MB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.0145, allocations: 23.28 kB / 494.1 MB, free: 19.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.01451, allocations: 7.078 kB / 494.1 MB, free: 19.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.01465, allocations: 236.2 kB / 494.3 MB, free: 19.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01465, allocations: 1.188 kB / 494.3 MB, free: 19.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.01493, allocations: 69.31 kB / 494.4 MB, free: 19.25 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 7.603e-05/0.01501, allocations: 108.9 kB / 494.5 MB, free: 19.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.01519, allocations: 107.1 kB / 494.6 MB, free: 19.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01519, allocations: 0 / 494.6 MB, free: 19.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.01527, allocations: 78.06 kB / 494.6 MB, free: 19.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.01565, allocations: 82.47 kB / 494.7 MB, free: 19.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009654/0.01661, allocations: 0.6389 MB / 495.4 MB, free: 18.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.426e-05/0.01667, allocations: 93.06 kB / 495.5 MB, free: 18.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.01678, allocations: 35.62 kB / 495.5 MB, free: 18.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.01695, allocations: 138.8 kB / 495.6 MB, free: 18.54 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01695, allocations: 0 / 495.6 MB, free: 18.54 MB / 426.7 MB Notification: Performance of Templates: time 0.006634/0.02358, allocations: 3.574 MB / 499.2 MB, free: 18.16 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.499457153957337]