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.0007821/0.0007821, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.0008043/0.0008043, allocations: 161.3 kB / 23.51 MB, free: 0.918 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.9385/0.9385, allocations: 177.2 MB / 203.9 MB, free: 5.578 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.5682/0.5682, allocations: 110.2 MB / 370.6 MB, free: 12.46 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.134e-06/2.134e-06, allocations: 0 / 474.4 MB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.155e-05, allocations: 4.984 kB / 474.4 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.002893/0.002915, allocations: 2.822 MB / 477.2 MB, free: 13.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.004459, allocations: 0.9389 MB / 478.1 MB, free: 12.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002855/0.004745, allocations: 15.94 kB / 478.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.004952, allocations: 68.09 kB / 478.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.005119, allocations: 98.3 kB / 478.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.005593, allocations: 231.6 kB / 478.5 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.00594, allocations: 0.4951 MB / 479 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.006179, allocations: 144.7 kB / 479.2 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.00649, allocations: 273.3 kB / 479.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.006636, allocations: 127.4 kB / 479.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.006679, allocations: 43.62 kB / 479.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.515e-05/0.006744, allocations: 59.42 kB / 479.7 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.00679, allocations: 91.73 kB / 479.8 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.006872, allocations: 120.8 kB / 479.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.00732, allocations: 0.5425 MB / 480.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.007322, allocations: 0 / 480.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.007323, allocations: 3.156 kB / 480.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.007329, allocations: 0 / 480.4 MB, free: 11.52 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.0007387/0.008068, allocations: 0.657 MB / 481.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.008108, allocations: 8.719 kB / 481.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.008282, allocations: 79.39 kB / 481.2 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.008744, allocations: 365.5 kB / 481.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.008767, allocations: 25.5 kB / 481.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.008817, allocations: 29.31 kB / 481.6 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.009232, allocations: 412.1 kB / 482 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.009248, allocations: 192 / 482 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.009273, allocations: 18.75 kB / 482 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.009284, allocations: 11.78 kB / 482 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.009592, allocations: 214.6 kB / 482.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009841/0.01058, allocations: 0.9688 MB / 483.2 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.01097, allocations: 224.9 kB / 483.4 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.01111, allocations: 107.5 kB / 483.5 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.01113, allocations: 3.875 kB / 483.5 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.01115, allocations: 37.09 kB / 483.6 MB, free: 9.453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.355e-06/0.01115, allocations: 0 / 483.6 MB, free: 9.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005253/0.01168, allocations: 298.6 kB / 483.8 MB, free: 9.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.01172, allocations: 114 kB / 484 MB, free: 9.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.01198, allocations: 329.5 kB / 484.3 MB, free: 9.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.012, allocations: 33.39 kB / 484.3 MB, free: 8.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01212, allocations: 224.7 kB / 484.5 MB, free: 8.793 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.01217, allocations: 75.41 kB / 484.6 MB, free: 8.734 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.01224, allocations: 61.08 kB / 484.7 MB, free: 8.691 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003361/0.01257, allocations: 343.2 kB / 485 MB, free: 24.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.01271, allocations: 79.16 kB / 485.1 MB, free: 24.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.01287, allocations: 204 kB / 485.3 MB, free: 24.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.01312, allocations: 202.2 kB / 485.5 MB, free: 24.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01312, allocations: 0 / 485.5 MB, free: 24.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003664/0.01349, allocations: 290.2 kB / 485.8 MB, free: 23.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.01351, allocations: 9.031 kB / 485.8 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01352, allocations: 6.688 kB / 485.8 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.01353, allocations: 6.375 kB / 485.8 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.01368, allocations: 58.2 kB / 485.8 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.01368, allocations: 3.844 kB / 485.8 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.01378, allocations: 36.02 kB / 485.9 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.01379, allocations: 8.312 kB / 485.9 MB, free: 23.87 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.0001168/0.01391, allocations: 158.4 kB / 486 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.01395, allocations: 48.86 kB / 486.1 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.014, allocations: 39.89 kB / 486.1 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01401, allocations: 3.375 kB / 486.1 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01401, allocations: 0 / 486.1 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01402, allocations: 1.781 kB / 486.1 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.01424, allocations: 279.7 kB / 486.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01424, allocations: 2.406 kB / 486.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.01437, allocations: 46.83 kB / 486.5 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01437, allocations: 0 / 486.5 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.01439, allocations: 3.531 kB / 486.5 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01439, allocations: 3.938 kB / 486.5 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01439, allocations: 2.656 kB / 486.5 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.01484, allocations: 433.4 kB / 486.9 MB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.01491, allocations: 51.02 kB / 486.9 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.01494, allocations: 9.25 kB / 486.9 MB, free: 23.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.01503, allocations: 20.14 kB / 487 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.01507, allocations: 14 kB / 487 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01508, allocations: 12.73 kB / 487 MB, free: 23.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001742/0.01526, allocations: 231.5 kB / 487.2 MB, free: 23.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01526, allocations: 0 / 487.2 MB, free: 23.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.01549, allocations: 65.09 kB / 487.3 MB, free: 23.03 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 9.011e-05/0.01558, allocations: 110.8 kB / 487.4 MB, free: 22.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.01589, allocations: 189.6 kB / 487.6 MB, free: 22.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.0159, allocations: 4.469 kB / 487.6 MB, free: 22.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.01602, allocations: 95.86 kB / 487.7 MB, free: 22.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.01634, allocations: 85.7 kB / 487.8 MB, free: 22.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.01715, allocations: 0.6695 MB / 488.4 MB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.01727, allocations: 195.3 kB / 488.6 MB, free: 22.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.01737, allocations: 44.39 kB / 488.7 MB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.01743, allocations: 26.12 kB / 488.7 MB, free: 22.3 MB / 426.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01743, allocations: 5.844 kB / 488.7 MB, free: 22.29 MB / 426.7 MB Notification: Performance of Templates: time 0.00538/0.02281, allocations: 3.277 MB / 492 MB, free: 22.03 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=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.503791715949774]