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.001082/0.001082, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002544, 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.001097/0.001097, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002431, 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.968/0.968, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1131/1.081, allocations: 53.66 MB / 243.2 MB, free: 15.61 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.6435/0.6435, allocations: 119.1 MB / 363.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07884/0.7223, allocations: 37.86 MB / 400.9 MB, free: 13.76 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.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.633e-06/1.633e-06, allocations: 0 / 402.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.224e-05, allocations: 2.312 kB / 402.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004991/0.005013, allocations: 2.967 MB / 405.2 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.006845, allocations: 0.9892 MB / 406.2 MB, free: 8.496 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.007085, allocations: 19.88 kB / 406.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.007267, allocations: 71.25 kB / 406.2 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.007432, allocations: 99.05 kB / 406.3 MB, free: 8.309 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.007835, allocations: 223.6 kB / 406.6 MB, free: 8.09 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.008295, allocations: 499 kB / 407 MB, free: 7.602 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.008547, allocations: 152.2 kB / 407.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.00895, allocations: 317.4 kB / 407.5 MB, free: 7.141 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.009146, allocations: 123.5 kB / 407.6 MB, free: 7.02 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.009194, allocations: 40 kB / 407.7 MB, free: 6.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.009293, allocations: 44 kB / 407.7 MB, free: 6.938 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.009344, allocations: 75.69 kB / 407.8 MB, free: 6.863 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.009431, allocations: 99.75 kB / 407.9 MB, free: 6.766 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.009824, allocations: 290.7 kB / 408.2 MB, free: 6.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.011e-05/0.009845, allocations: 0 / 408.2 MB, free: 6.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.009846, allocations: 0 / 408.2 MB, free: 6.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.009866, allocations: 0 / 408.2 MB, free: 6.48 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008659/0.01073, allocations: 0.6823 MB / 408.8 MB, free: 5.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.01077, allocations: 12.03 kB / 408.9 MB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.01099, allocations: 146 kB / 409 MB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007463/0.01174, allocations: 306.8 kB / 409.3 MB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.01178, allocations: 29.03 kB / 409.3 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.01186, allocations: 28.38 kB / 409.4 MB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.01239, allocations: 338.9 kB / 409.7 MB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.01241, allocations: 4.125 kB / 409.7 MB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.01244, allocations: 16.38 kB / 409.7 MB, free: 4.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.01245, allocations: 11.94 kB / 409.7 MB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.01264, allocations: 79.12 kB / 409.8 MB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.01397, allocations: 0.763 MB / 410.6 MB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.01427, allocations: 130.4 kB / 410.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.01433, allocations: 44.84 kB / 410.7 MB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.01436, allocations: 7.984 kB / 410.7 MB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.01439, allocations: 38.56 kB / 410.8 MB, free: 3.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.01439, allocations: 0 / 410.8 MB, free: 3.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002265/0.01462, allocations: 137.8 kB / 410.9 MB, free: 3.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.01465, allocations: 55.41 kB / 411 MB, free: 3.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.01483, allocations: 311.3 kB / 411.3 MB, free: 3.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.01486, allocations: 29.7 kB / 411.3 MB, free: 3.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.01495, allocations: 189.1 kB / 411.5 MB, free: 2.953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.015, allocations: 83.25 kB / 411.6 MB, free: 2.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.01505, allocations: 53.67 kB / 411.6 MB, free: 2.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.01516, allocations: 346.7 kB / 412 MB, free: 2.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.0152, allocations: 20 kB / 412 MB, free: 2.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.0153, allocations: 151 kB / 412.1 MB, free: 2.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.01544, allocations: 133.7 kB / 412.3 MB, free: 2.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01544, allocations: 0 / 412.3 MB, free: 2.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001514/0.01559, allocations: 149.4 kB / 412.4 MB, free: 1.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01561, allocations: 4 kB / 412.4 MB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01561, allocations: 4.188 kB / 412.4 MB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01563, allocations: 8 kB / 412.4 MB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.01584, allocations: 59.91 kB / 412.5 MB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01584, allocations: 4 kB / 412.5 MB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.01593, allocations: 31.83 kB / 412.5 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01594, allocations: 7.938 kB / 412.5 MB, free: 1.836 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: 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.736e-05/0.01603, allocations: 125.8 kB / 412.6 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.01607, allocations: 27.97 kB / 412.7 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.01612, allocations: 39.31 kB / 412.7 MB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.01612, allocations: 8 kB / 412.7 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01612, allocations: 0 / 412.7 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.01613, allocations: 3.984 kB / 412.7 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.01634, allocations: 197.5 kB / 412.9 MB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01634, allocations: 0 / 412.9 MB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.01647, allocations: 47.97 kB / 413 MB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.01653, allocations: 31.73 kB / 413 MB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01653, allocations: 7.938 kB / 413 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01654, allocations: 4 kB / 413 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01654, allocations: 3.984 kB / 413 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.01654, allocations: 8 kB / 413 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.01677, allocations: 255.3 kB / 413.3 MB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.01679, allocations: 8 kB / 413.3 MB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.01686, allocations: 15.98 kB / 413.3 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.0169, allocations: 11.97 kB / 413.3 MB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.01691, allocations: 8 kB / 413.3 MB, free: 1.004 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.739e-05/0.017, allocations: 116.7 kB / 413.4 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.017, allocations: 0 / 413.4 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.01718, allocations: 67.89 kB / 413.5 MB, free: 0.8203 MB / 394.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.503e-05/0.01726, allocations: 88.39 kB / 413.6 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.01742, allocations: 112.7 kB / 413.7 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.01743, allocations: 11.94 kB / 413.7 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.01748, allocations: 52.78 kB / 413.7 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.01774, allocations: 107 kB / 413.8 MB, free: 456 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.01994, allocations: 0.6508 MB / 414.5 MB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.328e-05/0.02001, allocations: 108.1 kB / 414.6 MB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.02011, allocations: 46.89 kB / 414.6 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.02026, allocations: 119.3 kB / 414.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02026, allocations: 0 / 414.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of Templates: time 0.005725/0.02599, allocations: 3.745 MB / 418.5 MB, free: 11.71 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.1383652705699205]