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.001023/0.001023, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004437/0.00546, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.001284/0.001284, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002666, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9855/0.9855, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09698/1.083, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6662/0.6662, allocations: 120.1 MB / 364.2 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0785/0.7447, allocations: 38.16 MB / 402.4 MB, free: 12.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.343e-06/1.343e-06, allocations: 0 / 403.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.143e-05, allocations: 2.312 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003466/0.003488, allocations: 2.975 MB / 406.7 MB, free: 7.984 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.005307, allocations: 0.9969 MB / 407.7 MB, free: 6.98 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.005561, allocations: 15.88 kB / 407.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.00573, allocations: 67.33 kB / 407.7 MB, free: 6.898 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.005874, allocations: 95.11 kB / 407.8 MB, free: 6.805 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.006279, allocations: 227.5 kB / 408.1 MB, free: 6.582 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000426/0.006705, allocations: 0.4951 MB / 408.6 MB, free: 6.086 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.007009, allocations: 152.2 kB / 408.7 MB, free: 5.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.007392, allocations: 313.4 kB / 409 MB, free: 5.617 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.007579, allocations: 123.5 kB / 409.1 MB, free: 5.496 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.00763, allocations: 44 kB / 409.2 MB, free: 5.453 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-05/0.007728, allocations: 44 kB / 409.2 MB, free: 5.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.007778, allocations: 71.69 kB / 409.3 MB, free: 5.34 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.007852, allocations: 99.75 kB / 409.4 MB, free: 5.242 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.008206, allocations: 282.7 kB / 409.7 MB, free: 4.965 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.475e-05/0.008221, allocations: 0 / 409.7 MB, free: 4.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008223, allocations: 4 kB / 409.7 MB, free: 4.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.008237, allocations: 0 / 409.7 MB, free: 4.961 MB / 394.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.0009339/0.009171, allocations: 0.6901 MB / 410.4 MB, free: 4.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.009215, allocations: 12.03 kB / 410.4 MB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002722/0.009487, allocations: 138 kB / 410.5 MB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.009921, allocations: 310.8 kB / 410.8 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.009951, allocations: 21.03 kB / 410.8 MB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.009992, allocations: 28.38 kB / 410.8 MB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.01031, allocations: 334.9 kB / 411.2 MB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01033, allocations: 4.188 kB / 411.2 MB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.01035, allocations: 8.375 kB / 411.2 MB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.01036, allocations: 15.92 kB / 411.2 MB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.01048, allocations: 87.11 kB / 411.3 MB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008108/0.01129, allocations: 0.7513 MB / 412 MB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.01159, allocations: 150.3 kB / 412.2 MB, free: 2.281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.01165, allocations: 40.84 kB / 412.2 MB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.01167, allocations: 4 kB / 412.2 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.0117, allocations: 38.56 kB / 412.3 MB, free: 2.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.0117, allocations: 0 / 412.3 MB, free: 2.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002726/0.01197, allocations: 137.9 kB / 412.4 MB, free: 2.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.01201, allocations: 55.34 kB / 412.5 MB, free: 1.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.01222, allocations: 299.3 kB / 412.7 MB, free: 1.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.01225, allocations: 33.7 kB / 412.8 MB, free: 1.637 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.01239, allocations: 197.1 kB / 413 MB, free: 1.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.01244, allocations: 79.27 kB / 413.1 MB, free: 1.363 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.0125, allocations: 53.67 kB / 413.1 MB, free: 1.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.01259, allocations: 346.7 kB / 413.4 MB, free: 0.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.01262, allocations: 19.98 kB / 413.5 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.6e-05/0.01272, allocations: 151 kB / 413.6 MB, free: 0.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.01287, allocations: 137.8 kB / 413.7 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.01288, allocations: 0 / 413.7 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001655/0.01304, allocations: 149.4 kB / 413.9 MB, free: 452 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.01306, allocations: 8 kB / 413.9 MB, free: 444 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01307, allocations: 0 / 413.9 MB, free: 444 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01308, allocations: 4 kB / 413.9 MB, free: 440 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.01327, allocations: 68.09 kB / 414 MB, free: 372 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01327, allocations: 0 / 414 MB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.01335, allocations: 31.83 kB / 414 MB, free: 340 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.01336, allocations: 7.938 kB / 414 MB, free: 332 kB / 394.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.689e-05/0.01346, allocations: 125.8 kB / 414.1 MB, free: 196 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.01349, allocations: 27.97 kB / 414.2 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.01355, allocations: 35.38 kB / 414.2 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01355, allocations: 4 kB / 414.2 MB, free: 124 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01355, allocations: 3.938 kB / 414.2 MB, free: 120 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01356, allocations: 7.984 kB / 414.2 MB, free: 112 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.01377, allocations: 193.7 kB / 414.4 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01377, allocations: 0 / 414.4 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.0139, allocations: 47.97 kB / 414.4 MB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.01396, allocations: 43.69 kB / 414.5 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01396, allocations: 3.938 kB / 414.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.01397, allocations: 4 kB / 414.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01398, allocations: 0 / 414.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.01398, allocations: 4 kB / 414.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.01426, allocations: 259.2 kB / 414.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.01429, allocations: 4 kB / 414.8 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.01435, allocations: 15.98 kB / 414.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.0144, allocations: 19.95 kB / 414.8 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01441, allocations: 4 kB / 414.8 MB, free: 15.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.01452, allocations: 120.7 kB / 414.9 MB, free: 15.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01452, allocations: 0 / 414.9 MB, free: 15.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.01472, allocations: 71.84 kB / 415 MB, free: 15.3 MB / 410.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.0001197/0.01484, allocations: 88.39 kB / 415.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.01502, allocations: 113.8 kB / 415.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.01504, allocations: 7.938 kB / 415.2 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.01512, allocations: 76.64 kB / 415.3 MB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.01562, allocations: 0.5563 MB / 415.8 MB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.01797, allocations: 0.6466 MB / 416.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.427e-05/0.01803, allocations: 104.5 kB / 416.6 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.01815, allocations: 38.95 kB / 416.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.0183, allocations: 119.2 kB / 416.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.0183, allocations: 4 kB / 416.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of Templates: time 0.006397/0.0247, allocations: 3.678 MB / 420.4 MB, free: 9.707 MB / 410.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.278064371086657]