Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001093/0.001093, allocations: 88.23 kB / 20.46 MB, free: 4.113 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.001912/0.001912, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9471/0.9471, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5991/0.5991, allocations: 110.3 MB / 371 MB, free: 12.5 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 475.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.299e-05, allocations: 5.109 kB / 475.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003603/0.003626, allocations: 2.971 MB / 478.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.005486, allocations: 0.9631 MB / 479.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003178/0.005804, allocations: 15.28 kB / 479.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.006021, allocations: 66.84 kB / 479.2 MB, free: 12.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.006196, allocations: 98.28 kB / 479.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.006721, allocations: 228.2 kB / 479.5 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.007119, allocations: 0.491 MB / 480 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.007379, allocations: 138.7 kB / 480.1 MB, free: 12.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.00772, allocations: 289.2 kB / 480.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.007889, allocations: 124.5 kB / 480.5 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.00794, allocations: 41.47 kB / 480.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.008019, allocations: 45.81 kB / 480.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.008066, allocations: 96.12 kB / 480.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.618e-05/0.008152, allocations: 124.5 kB / 480.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.008518, allocations: 308.8 kB / 481.1 MB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.00852, allocations: 1.406 kB / 481.1 MB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.008521, allocations: 0 / 481.1 MB, free: 11.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.008527, allocations: 0 / 481.1 MB, free: 11.49 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.0007955/0.009323, allocations: 0.735 MB / 481.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.009366, allocations: 11.72 kB / 481.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.009552, allocations: 77.73 kB / 481.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.009947, allocations: 373.7 kB / 482.3 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.009979, allocations: 20.44 kB / 482.3 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.01002, allocations: 32.25 kB / 482.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.01041, allocations: 365 kB / 482.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.01042, allocations: 1.188 kB / 482.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.01045, allocations: 17.28 kB / 482.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.01046, allocations: 9.875 kB / 482.7 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.01065, allocations: 111.2 kB / 482.8 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01182, allocations: 1.127 MB / 484 MB, free: 25.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.01212, allocations: 165.8 kB / 484.1 MB, free: 25.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.01221, allocations: 65.11 kB / 484.2 MB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.01223, allocations: 3.812 kB / 484.2 MB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.01225, allocations: 43.56 kB / 484.2 MB, free: 25.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.973e-06/0.01226, allocations: 0.6562 kB / 484.2 MB, free: 25.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003384/0.01259, allocations: 200.2 kB / 484.4 MB, free: 25.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.01263, allocations: 110.3 kB / 484.6 MB, free: 25.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.01288, allocations: 366 kB / 484.9 MB, free: 24.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.01289, allocations: 30.95 kB / 484.9 MB, free: 24.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.01301, allocations: 270.1 kB / 485.2 MB, free: 24.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.01305, allocations: 79.25 kB / 485.3 MB, free: 24.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.01312, allocations: 61.22 kB / 485.3 MB, free: 24.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.01327, allocations: 0.5117 MB / 485.9 MB, free: 23.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.01334, allocations: 38.89 kB / 485.9 MB, free: 23.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.01345, allocations: 177.5 kB / 486.1 MB, free: 23.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.01361, allocations: 156.6 kB / 486.2 MB, free: 23.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01362, allocations: 0.9375 kB / 486.2 MB, free: 23.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000268/0.01389, allocations: 216.9 kB / 486.4 MB, free: 23.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.0139, allocations: 5.812 kB / 486.4 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01391, allocations: 6.219 kB / 486.4 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.01393, allocations: 7.172 kB / 486.4 MB, free: 23.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.01408, allocations: 51.03 kB / 486.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01409, allocations: 6.156 kB / 486.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.01418, allocations: 24.14 kB / 486.5 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.01419, allocations: 10.45 kB / 486.5 MB, free: 23.51 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.0001046/0.0143, allocations: 170.2 kB / 486.7 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.01434, allocations: 44.77 kB / 486.7 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.01438, allocations: 41.05 kB / 486.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01439, allocations: 2.375 kB / 486.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.01439, allocations: 0 / 486.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.0144, allocations: 5.859 kB / 486.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.01464, allocations: 274.4 kB / 487.1 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01464, allocations: 4 kB / 487.1 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.01477, allocations: 34.52 kB / 487.1 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.01478, allocations: 9.828 kB / 487.1 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.01479, allocations: 5.469 kB / 487.1 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01479, allocations: 7.406 kB / 487.1 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.0148, allocations: 0 / 487.1 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.0152, allocations: 357.1 kB / 487.5 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.01527, allocations: 53.84 kB / 487.5 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.0153, allocations: 6.25 kB / 487.5 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.01538, allocations: 13.44 kB / 487.5 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.01544, allocations: 23.47 kB / 487.6 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.01545, allocations: 4.781 kB / 487.6 MB, free: 22.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.01565, allocations: 246.2 kB / 487.8 MB, free: 22.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01565, allocations: 0 / 487.8 MB, free: 22.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.01593, allocations: 74.03 kB / 487.9 MB, free: 22.61 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 0.0001027/0.01603, allocations: 105.4 kB / 488 MB, free: 22.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.0163, allocations: 130.6 kB / 488.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0163, allocations: 0.625 kB / 488.1 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.01639, allocations: 69.84 kB / 488.2 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.01677, allocations: 97.98 kB / 488.3 MB, free: 22.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.01799, allocations: 0.6456 MB / 488.9 MB, free: 22.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.897e-05/0.01808, allocations: 99.58 kB / 489 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.01819, allocations: 40.16 kB / 489.1 MB, free: 21.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.01825, allocations: 27.94 kB / 489.1 MB, free: 21.94 MB / 426.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01825, allocations: 0 / 489.1 MB, free: 21.94 MB / 426.7 MB Notification: Performance of Templates: time 0.006666/0.02492, allocations: 3.458 MB / 492.5 MB, free: 21.66 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.60903757205233]