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.001387/0.001387, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001469/0.001469, allocations: 169.3 kB / 24.14 MB, free: 352 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.9848/0.9848, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.6393/0.6393, allocations: 115 MB / 376 MB, free: 7.445 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.542e-06/1.542e-06, allocations: 0 / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.139e-05, allocations: 2.312 kB / 428.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003286/0.003307, allocations: 2.917 MB / 431.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.005053, allocations: 0.9814 MB / 432.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.005313, allocations: 23.81 kB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.005534, allocations: 59.39 kB / 432.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.005705, allocations: 107 kB / 432.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.006158, allocations: 219.6 kB / 433 MB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.006616, allocations: 0.4951 MB / 433.5 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.006875, allocations: 156.2 kB / 433.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.007244, allocations: 275.2 kB / 433.9 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.007414, allocations: 131.5 kB / 434 MB, free: 13.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.007475, allocations: 44 kB / 434.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.007548, allocations: 44 kB / 434.1 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.007609, allocations: 95.61 kB / 434.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.007699, allocations: 119.7 kB / 434.3 MB, free: 13.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.008043, allocations: 302.8 kB / 434.6 MB, free: 12.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.008045, allocations: 0 / 434.6 MB, free: 12.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008045, allocations: 0 / 434.6 MB, free: 12.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.00805, allocations: 0 / 434.6 MB, free: 12.83 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.0006283/0.008678, allocations: 0.62 MB / 435.2 MB, free: 12.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.008711, allocations: 12.03 kB / 435.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.00886, allocations: 64.88 kB / 435.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.009215, allocations: 298.8 kB / 435.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.009241, allocations: 29.02 kB / 435.6 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.009276, allocations: 32.38 kB / 435.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.009555, allocations: 330.9 kB / 436 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.009565, allocations: 192 / 436 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.00958, allocations: 12.38 kB / 436 MB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.009588, allocations: 11.94 kB / 436 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.009704, allocations: 87.11 kB / 436.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.01051, allocations: 0.7669 MB / 436.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.01076, allocations: 138.3 kB / 437 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.01081, allocations: 44.84 kB / 437 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.01084, allocations: 4 kB / 437 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.01086, allocations: 34.56 kB / 437.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.01086, allocations: 4 kB / 437.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002258/0.01109, allocations: 137.9 kB / 437.2 MB, free: 10.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.01114, allocations: 110.8 kB / 437.3 MB, free: 9.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.01133, allocations: 299.4 kB / 437.6 MB, free: 9.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.01135, allocations: 29.7 kB / 437.6 MB, free: 9.602 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.01144, allocations: 193 kB / 437.8 MB, free: 9.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.01148, allocations: 79.31 kB / 437.9 MB, free: 9.332 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.01154, allocations: 53.67 kB / 438 MB, free: 9.273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.01163, allocations: 350.7 kB / 438.3 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.01167, allocations: 27.98 kB / 438.3 MB, free: 8.895 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.01175, allocations: 139 kB / 438.5 MB, free: 8.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.01187, allocations: 129.7 kB / 438.6 MB, free: 8.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01187, allocations: 0 / 438.6 MB, free: 8.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001696/0.01204, allocations: 157.4 kB / 438.7 MB, free: 8.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01206, allocations: 4 kB / 438.7 MB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01206, allocations: 7.938 kB / 438.8 MB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.01208, allocations: 4 kB / 438.8 MB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.01221, allocations: 47.91 kB / 438.8 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01221, allocations: 4 kB / 438.8 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.01229, allocations: 35.77 kB / 438.8 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.0123, allocations: 8 kB / 438.8 MB, free: 8.301 MB / 410.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 8.971e-05/0.01239, allocations: 137.9 kB / 439 MB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.01242, allocations: 27.97 kB / 439 MB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.01247, allocations: 35.38 kB / 439 MB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01247, allocations: 4 kB / 439 MB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.01247, allocations: 0 / 439 MB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01247, allocations: 0 / 439 MB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.01266, allocations: 197.5 kB / 439.2 MB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01267, allocations: 0 / 439.2 MB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.01277, allocations: 47.91 kB / 439.3 MB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01277, allocations: 0 / 439.3 MB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.01279, allocations: 12 kB / 439.3 MB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01279, allocations: 0 / 439.3 MB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01279, allocations: 0 / 439.3 MB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.01301, allocations: 252.1 kB / 439.5 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.01307, allocations: 39.64 kB / 439.6 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01309, allocations: 4 kB / 439.6 MB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.01316, allocations: 19.98 kB / 439.6 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.0132, allocations: 11.97 kB / 439.6 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.01321, allocations: 11.98 kB / 439.6 MB, free: 7.477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.575e-05/0.01329, allocations: 120.8 kB / 439.8 MB, free: 7.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01329, allocations: 7.938 kB / 439.8 MB, free: 7.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.01347, allocations: 67.84 kB / 439.8 MB, free: 7.285 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 8.492e-05/0.01356, allocations: 80.42 kB / 439.9 MB, free: 7.199 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.0137, allocations: 108.5 kB / 440 MB, free: 7.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.01371, allocations: 4 kB / 440 MB, free: 7.086 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.01376, allocations: 61.14 kB / 440.1 MB, free: 7.023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.014, allocations: 76.89 kB / 440.1 MB, free: 6.953 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.01495, allocations: 0.6448 MB / 440.8 MB, free: 6.273 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.079e-05/0.01501, allocations: 100.5 kB / 440.9 MB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.738e-05/0.01511, allocations: 34.97 kB / 440.9 MB, free: 6.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.01524, allocations: 119.3 kB / 441 MB, free: 6 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01525, allocations: 0 / 441 MB, free: 6 MB / 410.7 MB Notification: Performance of Templates: time 0.005772/0.02102, allocations: 3.57 MB / 444.6 MB, free: 2.469 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.367180790286511]