Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.001338/0.001338, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001512/0.001512, allocations: 169 kB / 24.14 MB, free: 360 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.9968/0.9968, allocations: 177.2 MB / 204.6 MB, free: 5.504 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.6396/0.6396, allocations: 115 MB / 376 MB, free: 7.461 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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 428.7 MB, free: 2.824 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.567e-05, allocations: 2.312 kB / 428.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003135/0.003151, allocations: 3.056 MB / 431.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.004889, allocations: 1.043 MB / 432.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.005139, allocations: 19.88 kB / 432.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.005312, allocations: 67.27 kB / 432.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.005481, allocations: 114.9 kB / 433 MB, free: 14.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.005916, allocations: 251.6 kB / 433.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.006341, allocations: 0.5582 MB / 433.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.006588, allocations: 181.8 kB / 434 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.007069, allocations: 315.2 kB / 434.3 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.007231, allocations: 147.4 kB / 434.4 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.007276, allocations: 48 kB / 434.4 MB, free: 13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.007346, allocations: 56 kB / 434.5 MB, free: 12.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.007406, allocations: 111.6 kB / 434.6 MB, free: 12.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.45e-05/0.007501, allocations: 147.5 kB / 434.8 MB, free: 12.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.007837, allocations: 358.5 kB / 435.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.007839, allocations: 4 kB / 435.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00784, allocations: 0 / 435.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.007845, allocations: 0 / 435.1 MB, free: 12.34 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.000668/0.008513, allocations: 0.6654 MB / 435.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.008542, allocations: 12.03 kB / 435.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.008759, allocations: 76.86 kB / 435.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.00909, allocations: 319.1 kB / 436.2 MB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.009121, allocations: 29.38 kB / 436.2 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.009166, allocations: 36.38 kB / 436.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.00947, allocations: 353.5 kB / 436.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.009483, allocations: 192 / 436.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.009503, allocations: 20.36 kB / 436.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.009514, allocations: 11.94 kB / 436.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.009647, allocations: 102.9 kB / 436.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.01052, allocations: 0.8425 MB / 437.6 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.01078, allocations: 182.3 kB / 437.7 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.01084, allocations: 64.67 kB / 437.8 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.01086, allocations: 4 kB / 437.8 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.01099, allocations: 133.5 kB / 437.9 MB, free: 9.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.01099, allocations: 0 / 437.9 MB, free: 9.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002442/0.01124, allocations: 179.2 kB / 438.1 MB, free: 9.191 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.01129, allocations: 92.97 kB / 438.2 MB, free: 9.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.01146, allocations: 311.3 kB / 438.5 MB, free: 8.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.01148, allocations: 33.7 kB / 438.5 MB, free: 8.723 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.01158, allocations: 205.6 kB / 438.7 MB, free: 8.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.01164, allocations: 111.1 kB / 438.8 MB, free: 8.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.01172, allocations: 70.03 kB / 438.9 MB, free: 8.332 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.01181, allocations: 354.7 kB / 439.3 MB, free: 7.977 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.01186, allocations: 36.73 kB / 439.3 MB, free: 7.941 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.01211, allocations: 130.1 kB / 439.4 MB, free: 7.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.01225, allocations: 167.5 kB / 439.6 MB, free: 7.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01226, allocations: 4 kB / 439.6 MB, free: 7.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0001878/0.01244, allocations: 183.1 kB / 439.8 MB, free: 7.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.01245, allocations: 8 kB / 439.8 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01246, allocations: 0 / 439.8 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.01247, allocations: 4 kB / 439.8 MB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01262, allocations: 71.84 kB / 439.9 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01262, allocations: 7.938 kB / 439.9 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.0127, allocations: 35.83 kB / 439.9 MB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.01271, allocations: 4.188 kB / 439.9 MB, free: 7.281 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: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001/0.01281, allocations: 141.6 kB / 440 MB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.01284, allocations: 39.95 kB / 440.1 MB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.01289, allocations: 44.11 kB / 440.1 MB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01289, allocations: 4 kB / 440.1 MB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.0129, allocations: 3.938 kB / 440.1 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0129, allocations: 0 / 440.1 MB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.01331, allocations: 432.1 kB / 440.5 MB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01332, allocations: 4 kB / 440.6 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.01344, allocations: 51.91 kB / 440.6 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01344, allocations: 4 kB / 440.6 MB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01345, allocations: 4 kB / 440.6 MB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01346, allocations: 7.938 kB / 440.6 MB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01346, allocations: 0 / 440.6 MB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.01371, allocations: 308.8 kB / 440.9 MB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.01377, allocations: 39.66 kB / 441 MB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.01379, allocations: 11.98 kB / 441 MB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.01387, allocations: 15.94 kB / 441 MB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.01391, allocations: 27.94 kB / 441 MB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.01392, allocations: 8.031 kB / 441 MB, free: 6.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.716e-05/0.01401, allocations: 124.7 kB / 441.1 MB, free: 5.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01401, allocations: 0 / 441.1 MB, free: 5.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.01422, allocations: 83.78 kB / 441.2 MB, free: 5.902 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.481e-05/0.0143, allocations: 92.39 kB / 441.3 MB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.01448, allocations: 140.7 kB / 441.5 MB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.01449, allocations: 12.31 kB / 441.5 MB, free: 5.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.01457, allocations: 84.69 kB / 441.5 MB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01482, allocations: 88.98 kB / 441.6 MB, free: 5.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.01586, allocations: 0.7389 MB / 442.4 MB, free: 4.707 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.886e-05/0.01593, allocations: 113.3 kB / 442.5 MB, free: 4.566 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.01603, allocations: 47.25 kB / 442.5 MB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.01618, allocations: 119.3 kB / 442.6 MB, free: 4.406 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01618, allocations: 0 / 442.6 MB, free: 4.406 MB / 410.7 MB Notification: Performance of Templates: time 0.006283/0.02246, allocations: 4.048 MB / 446.7 MB, free: 412 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.439456928987056]