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.001009/0.001009, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.00237, allocations: 447.8 kB / 10.34 MB, free: 352 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.00105/0.00105, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002454, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9998/0.9998, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09721/1.097, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.632/0.632, allocations: 119.1 MB / 363.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07725/0.7093, allocations: 37.87 MB / 400.9 MB, free: 13.73 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.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.483e-06/1.483e-06, allocations: 0 / 402.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.159e-05, allocations: 2.312 kB / 402.2 MB, free: 12.47 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003726/0.003748, allocations: 3.107 MB / 405.3 MB, free: 9.344 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.005664, allocations: 1.055 MB / 406.4 MB, free: 8.281 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.005931, allocations: 15.88 kB / 406.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.006092, allocations: 79.12 kB / 406.4 MB, free: 8.188 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.006258, allocations: 111 kB / 406.6 MB, free: 8.078 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.006755, allocations: 247.6 kB / 406.8 MB, free: 7.836 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.007298, allocations: 0.5503 MB / 407.3 MB, free: 7.285 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.007619, allocations: 177.8 kB / 407.5 MB, free: 7.105 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.008065, allocations: 374.2 kB / 407.9 MB, free: 6.738 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.008264, allocations: 139.5 kB / 408 MB, free: 6.602 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/0.008317, allocations: 48 kB / 408.1 MB, free: 6.555 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.796e-05/0.008415, allocations: 56 kB / 408.1 MB, free: 6.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.008471, allocations: 87.67 kB / 408.2 MB, free: 6.414 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.008576, allocations: 115.8 kB / 408.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.008985, allocations: 326.6 kB / 408.6 MB, free: 5.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.946e-05/0.009004, allocations: 0 / 408.6 MB, free: 5.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.009005, allocations: 0 / 408.6 MB, free: 5.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.009026, allocations: 0 / 408.6 MB, free: 5.98 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009234/0.00995, allocations: 0.7665 MB / 409.4 MB, free: 5.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.009987, allocations: 12.03 kB / 409.4 MB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.0102, allocations: 154 kB / 409.6 MB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.01058, allocations: 315.1 kB / 409.9 MB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.01075, allocations: 33.38 kB / 409.9 MB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.0108, allocations: 36.38 kB / 409.9 MB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.01114, allocations: 349.5 kB / 410.3 MB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.01116, allocations: 8.141 kB / 410.3 MB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.01118, allocations: 16.38 kB / 410.3 MB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.01119, allocations: 11.94 kB / 410.3 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.01134, allocations: 102.9 kB / 410.4 MB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/0.01225, allocations: 0.8348 MB / 411.3 MB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.01255, allocations: 182.3 kB / 411.4 MB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.01265, allocations: 64.81 kB / 411.5 MB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.01268, allocations: 4 kB / 411.5 MB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.01287, allocations: 117.5 kB / 411.6 MB, free: 2.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.01288, allocations: 0 / 411.6 MB, free: 2.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003212/0.0132, allocations: 191.1 kB / 411.8 MB, free: 2.648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.01324, allocations: 59.34 kB / 411.9 MB, free: 2.578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.01342, allocations: 311.3 kB / 412.2 MB, free: 2.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.01345, allocations: 41.69 kB / 412.2 MB, free: 2.219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.01354, allocations: 201.6 kB / 412.4 MB, free: 2.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.0136, allocations: 111.1 kB / 412.5 MB, free: 1.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.01367, allocations: 70.03 kB / 412.6 MB, free: 1.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.01377, allocations: 362.7 kB / 412.9 MB, free: 1.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.01381, allocations: 32.73 kB / 413 MB, free: 1.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.01391, allocations: 130.1 kB / 413.1 MB, free: 1.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.01404, allocations: 155.6 kB / 413.2 MB, free: 1.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01404, allocations: 4 kB / 413.3 MB, free: 1.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0001895/0.01423, allocations: 195 kB / 413.4 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01425, allocations: 4 kB / 413.4 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.01425, allocations: 0 / 413.4 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.01426, allocations: 8.188 kB / 413.5 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.01447, allocations: 87.83 kB / 413.5 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01448, allocations: 7.984 kB / 413.5 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.01455, allocations: 27.78 kB / 413.6 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.01457, allocations: 12 kB / 413.6 MB, free: 0.7656 MB / 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: 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.0001021/0.01467, allocations: 137.8 kB / 413.7 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.0147, allocations: 31.97 kB / 413.8 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.01475, allocations: 44.11 kB / 413.8 MB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01475, allocations: 7.938 kB / 413.8 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.01476, allocations: 7.938 kB / 413.8 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01476, allocations: 0 / 413.8 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.01519, allocations: 435 kB / 414.2 MB, free: 80 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01519, allocations: 0 / 414.2 MB, free: 80 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.01535, allocations: 55.91 kB / 414.3 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.01543, allocations: 39.8 kB / 414.3 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.01544, allocations: 4 kB / 414.3 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01545, allocations: 4 kB / 414.3 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.01545, allocations: 7.984 kB / 414.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01545, allocations: 8 kB / 414.4 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.01572, allocations: 305.9 kB / 414.7 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.01575, allocations: 15.94 kB / 414.7 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.01582, allocations: 11.98 kB / 414.7 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.01586, allocations: 23.95 kB / 414.7 MB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.01588, allocations: 7.984 kB / 414.7 MB, free: 15.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.184e-05/0.01596, allocations: 120.7 kB / 414.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01596, allocations: 0 / 414.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.01615, allocations: 95.73 kB / 414.9 MB, free: 15.38 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 0.0001005/0.01625, allocations: 92.38 kB / 415 MB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.01644, allocations: 140.7 kB / 415.1 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.01645, allocations: 4 kB / 415.2 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.214e-05/0.01653, allocations: 92.61 kB / 415.2 MB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.0168, allocations: 109.6 kB / 415.3 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.01917, allocations: 0.7682 MB / 416.1 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.686e-05/0.01923, allocations: 109.3 kB / 416.2 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.01935, allocations: 43.27 kB / 416.3 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.0195, allocations: 119.3 kB / 416.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.0195, allocations: 0 / 416.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of Templates: time 0.006684/0.02619, allocations: 4.203 MB / 420.6 MB, free: 9.625 MB / 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.3991010654717684]