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.00111/0.00111, allocations: 96.2 kB / 20.43 MB, free: 4.137 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.00108/0.00108, allocations: 165 kB / 23.79 MB, free: 0.7734 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 0.9896/0.9896, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.67/0.67, allocations: 115 MB / 375.7 MB, free: 7.645 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 2.275e-06/2.275e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.413e-05, allocations: 2.969 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004241/0.004265, allocations: 2.954 MB / 484.4 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.006126, allocations: 0.9606 MB / 485.4 MB, free: 9.297 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.006422, allocations: 16.38 kB / 485.4 MB, free: 9.289 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.006677, allocations: 73.31 kB / 485.5 MB, free: 9.234 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.006895, allocations: 94.3 kB / 485.6 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.007431, allocations: 231.2 kB / 485.8 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005126/0.007943, allocations: 0.4935 MB / 486.3 MB, free: 8.758 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.008251, allocations: 144.5 kB / 486.4 MB, free: 8.676 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.008645, allocations: 277.1 kB / 486.7 MB, free: 8.535 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.008832, allocations: 126.9 kB / 486.8 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.008892, allocations: 42.66 kB / 486.9 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.00897, allocations: 44.56 kB / 486.9 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.009016, allocations: 94.89 kB / 487 MB, free: 8.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.009102, allocations: 129.7 kB / 487.1 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.009405, allocations: 303.7 kB / 487.4 MB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.009407, allocations: 0 / 487.4 MB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009408, allocations: 0 / 487.4 MB, free: 8.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.009414, allocations: 1.375 kB / 487.4 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.0006904/0.0101, allocations: 0.7356 MB / 488.2 MB, free: 7.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.01014, allocations: 8.656 kB / 488.2 MB, free: 7.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.0103, allocations: 83.7 kB / 488.3 MB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.01067, allocations: 366.4 kB / 488.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.0107, allocations: 24.81 kB / 488.6 MB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.01075, allocations: 29.31 kB / 488.7 MB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.0111, allocations: 364.4 kB / 489 MB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.01111, allocations: 2.312 kB / 489 MB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.01114, allocations: 15.78 kB / 489 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.01115, allocations: 12.38 kB / 489 MB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.01134, allocations: 111.2 kB / 489.2 MB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.01245, allocations: 1.121 MB / 490.3 MB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.01276, allocations: 166.8 kB / 490.4 MB, free: 22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.28e-05/0.01286, allocations: 70.38 kB / 490.5 MB, free: 21.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.01288, allocations: 3.938 kB / 490.5 MB, free: 21.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.0129, allocations: 36.17 kB / 490.6 MB, free: 21.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.0129, allocations: 2.062 kB / 490.6 MB, free: 21.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003291/0.01323, allocations: 205.7 kB / 490.8 MB, free: 21.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.01326, allocations: 113.1 kB / 490.9 MB, free: 21.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.0135, allocations: 360.5 kB / 491.2 MB, free: 21.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.01352, allocations: 32.7 kB / 491.2 MB, free: 21.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01364, allocations: 276.3 kB / 491.5 MB, free: 21.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.01368, allocations: 79.56 kB / 491.6 MB, free: 21.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.01374, allocations: 60.08 kB / 491.7 MB, free: 21.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.01386, allocations: 0.5094 MB / 492.2 MB, free: 20.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.01393, allocations: 36.8 kB / 492.2 MB, free: 20.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.01403, allocations: 181.2 kB / 492.4 MB, free: 20.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.01418, allocations: 152.6 kB / 492.5 MB, free: 20.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01419, allocations: 1.094 kB / 492.5 MB, free: 20.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000242/0.01443, allocations: 222.3 kB / 492.7 MB, free: 20.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01444, allocations: 5.844 kB / 492.7 MB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01445, allocations: 5.969 kB / 492.8 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.01447, allocations: 7.266 kB / 492.8 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.01461, allocations: 48.61 kB / 492.8 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.01461, allocations: 9.547 kB / 492.8 MB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.748e-05/0.01469, allocations: 29.25 kB / 492.8 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.0147, allocations: 11.03 kB / 492.9 MB, free: 20.18 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 9.418e-05/0.0148, allocations: 171.6 kB / 493 MB, free: 20 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.01484, allocations: 39.38 kB / 493.1 MB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.01489, allocations: 44.45 kB / 493.1 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.01489, allocations: 2.875 kB / 493.1 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.0149, allocations: 0 / 493.1 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0149, allocations: 0 / 493.1 MB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.01511, allocations: 279.9 kB / 493.4 MB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01511, allocations: 1.75 kB / 493.4 MB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.01523, allocations: 45.55 kB / 493.4 MB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01523, allocations: 1.375 kB / 493.4 MB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01525, allocations: 5.219 kB / 493.4 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01525, allocations: 5.969 kB / 493.4 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01525, allocations: 0 / 493.4 MB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.0156, allocations: 361.7 kB / 493.8 MB, free: 19.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.01566, allocations: 56.14 kB / 493.9 MB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.01569, allocations: 9.406 kB / 493.9 MB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.01576, allocations: 14.92 kB / 493.9 MB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.01582, allocations: 19.3 kB / 493.9 MB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.01583, allocations: 4.344 kB / 493.9 MB, free: 19.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.01597, allocations: 249 kB / 494.1 MB, free: 19.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01597, allocations: 3.938 kB / 494.1 MB, free: 19.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.01618, allocations: 69.53 kB / 494.2 MB, free: 19.27 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 8.065e-05/0.01626, allocations: 105 kB / 494.3 MB, free: 19.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.01649, allocations: 136.6 kB / 494.4 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01649, allocations: 0 / 494.4 MB, free: 19.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.01657, allocations: 68.27 kB / 494.5 MB, free: 19.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.01688, allocations: 81.84 kB / 494.6 MB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.01787, allocations: 0.6464 MB / 495.2 MB, free: 18.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.373e-05/0.01792, allocations: 97.92 kB / 495.3 MB, free: 18.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.878e-05/0.01801, allocations: 35.95 kB / 495.4 MB, free: 18.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.01807, allocations: 29.78 kB / 495.4 MB, free: 18.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01807, allocations: 1.375 kB / 495.4 MB, free: 18.61 MB / 426.7 MB Notification: Performance of Templates: time 0.006001/0.02407, allocations: 3.449 MB / 498.9 MB, free: 18.27 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.6025855420157313]