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.001165/0.001165, allocations: 81.95 kB / 21.44 MB, free: 3.062 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.001139/0.001139, allocations: 165 kB / 24.84 MB, free: 9.297 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.6246/0.6246, allocations: 115 MB / 376.8 MB, free: 7.492 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.623e-06/1.623e-06, allocations: 0 / 482.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.338e-05, allocations: 6.453 kB / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.006677/0.006701, allocations: 2.896 MB / 485.6 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004494/0.01119, allocations: 0.9563 MB / 486.6 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.01142, allocations: 17.31 kB / 486.6 MB, free: 9.172 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.01163, allocations: 68.83 kB / 486.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.0118, allocations: 96.31 kB / 486.8 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.01223, allocations: 228.6 kB / 487 MB, free: 8.914 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.01264, allocations: 0.4971 MB / 487.5 MB, free: 8.641 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.01288, allocations: 141.2 kB / 487.6 MB, free: 8.562 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.0132, allocations: 279.7 kB / 487.9 MB, free: 8.418 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/0.01637, allocations: 130.4 kB / 488 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.677e-05/0.01644, allocations: 39.84 kB / 488.1 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.01652, allocations: 45.19 kB / 488.1 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.01658, allocations: 91.95 kB / 488.2 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.749e-05/0.01668, allocations: 126.5 kB / 488.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.01701, allocations: 303.8 kB / 488.6 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.01701, allocations: 1.312 kB / 488.6 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01701, allocations: 1.438 kB / 488.6 MB, free: 8.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.01702, allocations: 0 / 488.6 MB, free: 8.051 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.0007312/0.01775, allocations: 0.7389 MB / 489.3 MB, free: 7.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.01778, allocations: 12.16 kB / 489.4 MB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.01795, allocations: 88.16 kB / 489.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.01834, allocations: 365 kB / 489.8 MB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.01837, allocations: 25.72 kB / 489.8 MB, free: 7.133 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.01841, allocations: 29.69 kB / 489.9 MB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.01874, allocations: 349.3 kB / 490.2 MB, free: 6.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.01875, allocations: 0.8125 kB / 490.2 MB, free: 6.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.01877, allocations: 16.88 kB / 490.2 MB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.01879, allocations: 12 kB / 490.2 MB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.01894, allocations: 89.41 kB / 490.3 MB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/0.02295, allocations: 1.071 MB / 491.4 MB, free: 21.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.02323, allocations: 159.2 kB / 491.5 MB, free: 21.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.02331, allocations: 60.92 kB / 491.6 MB, free: 21.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.02333, allocations: 5.312 kB / 491.6 MB, free: 21.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.02335, allocations: 36.2 kB / 491.6 MB, free: 21.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/0.02335, allocations: 1.312 kB / 491.6 MB, free: 21.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003066/0.02366, allocations: 183 kB / 491.8 MB, free: 21.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.02368, allocations: 106.9 kB / 491.9 MB, free: 21.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.02391, allocations: 361.3 kB / 492.3 MB, free: 21.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.02393, allocations: 31.58 kB / 492.3 MB, free: 21.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.02405, allocations: 270.4 kB / 492.6 MB, free: 21.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.0241, allocations: 87.39 kB / 492.7 MB, free: 21.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.02417, allocations: 52.98 kB / 492.7 MB, free: 21.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.02431, allocations: 0.5174 MB / 493.2 MB, free: 20.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.02436, allocations: 27.62 kB / 493.3 MB, free: 20.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.02446, allocations: 178.3 kB / 493.4 MB, free: 20.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.02461, allocations: 139.3 kB / 493.6 MB, free: 20.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.02461, allocations: 1.219 kB / 493.6 MB, free: 20.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002608/0.02487, allocations: 206.8 kB / 493.8 MB, free: 20.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.02489, allocations: 7.375 kB / 493.8 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.02489, allocations: 1.875 kB / 493.8 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.02491, allocations: 7.094 kB / 493.8 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.02507, allocations: 51.22 kB / 493.8 MB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.02507, allocations: 6.594 kB / 493.8 MB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.02818, allocations: 29.78 kB / 493.9 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.0282, allocations: 9.375 kB / 493.9 MB, free: 20.13 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.0001097/0.02831, allocations: 172.1 kB / 494 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.02837, allocations: 39.53 kB / 494.1 MB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.02842, allocations: 39.75 kB / 494.1 MB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.02842, allocations: 8.781 kB / 494.1 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.02843, allocations: 3.984 kB / 494.1 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.02843, allocations: 0 / 494.1 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.02867, allocations: 225.9 kB / 494.4 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02867, allocations: 0 / 494.4 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.02881, allocations: 43.25 kB / 494.4 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.02882, allocations: 1.406 kB / 494.4 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.02883, allocations: 5.625 kB / 494.4 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.02883, allocations: 1.25 kB / 494.4 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02883, allocations: 0.9688 kB / 494.4 MB, free: 19.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.02917, allocations: 344.8 kB / 494.7 MB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.02924, allocations: 54.61 kB / 494.8 MB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.02927, allocations: 5.656 kB / 494.8 MB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.02938, allocations: 13.91 kB / 494.8 MB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.02942, allocations: 26.39 kB / 494.8 MB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.02943, allocations: 2.875 kB / 494.8 MB, free: 19.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.02958, allocations: 232.1 kB / 495.1 MB, free: 19.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02958, allocations: 0 / 495.1 MB, free: 19.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.02987, allocations: 74.28 kB / 495.1 MB, free: 19.28 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 9.055e-05/0.02996, allocations: 104.6 kB / 495.2 MB, free: 19.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.03016, allocations: 115.7 kB / 495.4 MB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.03017, allocations: 3.812 kB / 495.4 MB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.03025, allocations: 65.78 kB / 495.4 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.03065, allocations: 80.06 kB / 495.5 MB, free: 19.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.03472, allocations: 0.644 MB / 496.1 MB, free: 18.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.218e-05/0.03479, allocations: 94.67 kB / 496.2 MB, free: 18.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.0349, allocations: 36.73 kB / 496.3 MB, free: 18.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.03508, allocations: 142.5 kB / 496.4 MB, free: 18.57 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03508, allocations: 0 / 496.4 MB, free: 18.57 MB / 426.7 MB Notification: Performance of Templates: time 0.013/0.04809, allocations: 3.645 MB / 0.4883 GB, free: 18.17 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.6008728239685297]