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.001459/0.001459, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001568/0.001568, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 0.958/0.958, allocations: 115 MB / 375.3 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.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.583e-06/1.583e-06, allocations: 0 / 480.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.027e-05, allocations: 4.188 kB / 480.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004042/0.004073, allocations: 2.811 MB / 483.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.005796, allocations: 0.9393 MB / 484.5 MB, free: 9.352 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.006038, allocations: 17.28 kB / 484.5 MB, free: 9.344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.006283, allocations: 68.38 kB / 484.6 MB, free: 9.293 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.006481, allocations: 99.36 kB / 484.7 MB, free: 9.219 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.007023, allocations: 225.1 kB / 484.9 MB, free: 9.086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.007576, allocations: 0.4921 MB / 485.4 MB, free: 8.816 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.007889, allocations: 146.2 kB / 485.5 MB, free: 8.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/0.00831, allocations: 275.2 kB / 485.8 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.008511, allocations: 127.1 kB / 485.9 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.008593, allocations: 44.97 kB / 486 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.008709, allocations: 53.78 kB / 486 MB, free: 8.527 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.008779, allocations: 87.38 kB / 486.1 MB, free: 8.465 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.008921, allocations: 132.7 kB / 486.2 MB, free: 8.391 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.009544, allocations: 0.523 MB / 486.8 MB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.009549, allocations: 0 / 486.8 MB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.00955, allocations: 0.6875 kB / 486.8 MB, free: 8.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.009558, allocations: 1.156 kB / 486.8 MB, free: 8.164 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.001118/0.01068, allocations: 0.6534 MB / 487.4 MB, free: 7.668 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.01073, allocations: 9.375 kB / 487.4 MB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.011, allocations: 88.11 kB / 487.5 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006273/0.01163, allocations: 360.2 kB / 487.9 MB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.01166, allocations: 20.75 kB / 487.9 MB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.01173, allocations: 34.03 kB / 487.9 MB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.01233, allocations: 419.9 kB / 488.3 MB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.01235, allocations: 1.562 kB / 488.3 MB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.01238, allocations: 15.03 kB / 488.3 MB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.01239, allocations: 7.5 kB / 488.3 MB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.01286, allocations: 219.3 kB / 488.6 MB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.01421, allocations: 0.9718 MB / 489.5 MB, free: 6.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.01479, allocations: 221 kB / 489.7 MB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.01501, allocations: 108.2 kB / 489.9 MB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.01505, allocations: 7.359 kB / 489.9 MB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.01507, allocations: 37.22 kB / 489.9 MB, free: 6.094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.01507, allocations: 0.875 kB / 489.9 MB, free: 6.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007265/0.0158, allocations: 296.3 kB / 490.2 MB, free: 5.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.01585, allocations: 109.4 kB / 490.3 MB, free: 5.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.01621, allocations: 331.4 kB / 490.6 MB, free: 5.664 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.01623, allocations: 33.02 kB / 490.6 MB, free: 5.629 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.01653, allocations: 227.4 kB / 490.9 MB, free: 21.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.01658, allocations: 81.88 kB / 491 MB, free: 21.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.01667, allocations: 55.69 kB / 491 MB, free: 21.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.01687, allocations: 342.7 kB / 491.3 MB, free: 21.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.01707, allocations: 77.88 kB / 491.4 MB, free: 20.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.0173, allocations: 190.2 kB / 491.6 MB, free: 20.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.01768, allocations: 217 kB / 491.8 MB, free: 20.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01768, allocations: 2.625 kB / 491.8 MB, free: 20.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005468/0.01823, allocations: 289.6 kB / 492.1 MB, free: 20.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.01825, allocations: 14.12 kB / 492.1 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01826, allocations: 1.281 kB / 492.1 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.01828, allocations: 2.5 kB / 492.1 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.01852, allocations: 50.62 kB / 492.2 MB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.01853, allocations: 7.719 kB / 492.2 MB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.01871, allocations: 36.47 kB / 492.2 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.01873, allocations: 10.84 kB / 492.2 MB, free: 20.52 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.0001948/0.01892, allocations: 161.8 kB / 492.4 MB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.01901, allocations: 43.02 kB / 492.4 MB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.53e-05/0.01909, allocations: 46.45 kB / 492.5 MB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.0191, allocations: 2.125 kB / 492.5 MB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.01911, allocations: 0 / 492.5 MB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01911, allocations: 0.9375 kB / 492.5 MB, free: 20.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.01946, allocations: 278.3 kB / 492.7 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01946, allocations: 4.234 kB / 492.7 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.01969, allocations: 41.5 kB / 492.8 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.01969, allocations: 1.281 kB / 492.8 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.01971, allocations: 12.55 kB / 492.8 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01971, allocations: 2.906 kB / 492.8 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01971, allocations: 0 / 492.8 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.02043, allocations: 429.7 kB / 493.2 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.02053, allocations: 52.14 kB / 493.3 MB, free: 19.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.02057, allocations: 14.22 kB / 493.3 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.02075, allocations: 12.38 kB / 493.3 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.02082, allocations: 19.72 kB / 493.3 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.02083, allocations: 7.484 kB / 493.3 MB, free: 19.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002571/0.02109, allocations: 231 kB / 493.6 MB, free: 19.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02109, allocations: 0 / 493.6 MB, free: 19.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.02145, allocations: 74.44 kB / 493.6 MB, free: 19.66 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.0001344/0.02158, allocations: 107.5 kB / 493.7 MB, free: 19.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004732/0.02206, allocations: 190.6 kB / 493.9 MB, free: 19.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02206, allocations: 1.531 kB / 493.9 MB, free: 19.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.02225, allocations: 92.62 kB / 494 MB, free: 19.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.02279, allocations: 91.41 kB / 494.1 MB, free: 19.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.02405, allocations: 0.6691 MB / 494.8 MB, free: 19.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.02424, allocations: 190.1 kB / 495 MB, free: 18.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.02439, allocations: 43.5 kB / 495 MB, free: 18.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.02448, allocations: 33.44 kB / 495 MB, free: 18.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.02448, allocations: 0 / 495 MB, free: 18.93 MB / 426.7 MB Notification: Performance of Templates: time 0.008342/0.03282, allocations: 3.266 MB / 498.3 MB, free: 18.62 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.750109251937829]