Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04275/0.04275, allocations: 9.13 MB / 28.99 MB, free: 344 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001286/0.001286, allocations: 99.14 kB / 35.33 MB, free: 0.9375 MB / 24.77 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.001104/0.001104, allocations: 164.3 kB / 38.73 MB, free: 2.406 MB / 24.77 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.9824/0.9824, allocations: 177.2 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004198/0.004198, allocations: 0.8294 MB / 276.5 MB, free: 0.7305 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.691/1.691, allocations: 274.9 MB / 0.5419 GB, free: 0.6016 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.6378 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.753e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002342/0.002359, allocations: 1.911 MB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002547/0.002614, allocations: 119.5 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.002687, allocations: 4 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.002787, allocations: 11.86 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.462e-05/0.002872, allocations: 55.44 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.002977, allocations: 35.94 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.003127, allocations: 179.1 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.003216, allocations: 25.88 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003316, allocations: 79.86 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.509e-05/0.003392, allocations: 47.89 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.003415, allocations: 12 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.003432, allocations: 12 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.003459, allocations: 27.89 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.0035, allocations: 47.86 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.003624, allocations: 103.6 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003627, allocations: 4 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003628, allocations: 0 / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003631, allocations: 0 / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000446/0.004077, allocations: 356.2 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.004111, allocations: 11.98 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.004145, allocations: 12.92 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.004282, allocations: 133.6 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.004292, allocations: 8.375 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.004302, allocations: 8.359 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.004435, allocations: 112.5 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.004444, allocations: 192 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.004453, allocations: 4.375 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.004459, allocations: 384 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.004506, allocations: 27.92 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.004852, allocations: 308.2 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.005265, allocations: 69.17 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.005298, allocations: 25.78 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.005317, allocations: 8.078 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.005339, allocations: 38.5 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.00534, allocations: 4 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0001597/0.0055, allocations: 77.61 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.005534, allocations: 77.11 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.005614, allocations: 151.3 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.005625, allocations: 29.64 kB / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.005668, allocations: 112 kB / 0.642 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.005686, allocations: 31.72 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.005722, allocations: 17.72 kB / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.005794, allocations: 326.8 kB / 0.6423 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.005814, allocations: 8 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.005841, allocations: 29.7 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.005896, allocations: 41.94 kB / 0.6424 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005897, allocations: 0 / 0.6424 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.357e-05/0.005981, allocations: 73.55 kB / 0.6425 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.005995, allocations: 11.98 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005999, allocations: 0 / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.006011, allocations: 0 / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.006084, allocations: 19.94 kB / 0.6425 GB, free: 9.133 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.006087, allocations: 3.984 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.006124, allocations: 4 kB / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.00613, allocations: 4 kB / 0.6425 GB, free: 9.121 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.608e-05/0.006186, allocations: 117.8 kB / 0.6426 GB, free: 8.996 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.006217, allocations: 11.92 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.006343, allocations: 94.69 kB / 0.6427 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.006346, allocations: 4 kB / 0.6427 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006347, allocations: 0 / 0.6427 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.00635, allocations: 3.938 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.006487, allocations: 97.84 kB / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.006488, allocations: 0 / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.006546, allocations: 16 kB / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.00655, allocations: 4.234 kB / 0.6428 GB, free: 8.75 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.006557, allocations: 4 kB / 0.6428 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.006561, allocations: 11.92 kB / 0.6429 GB, free: 8.734 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.006562, allocations: 0 / 0.6429 GB, free: 8.734 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.00669, allocations: 234.9 kB / 0.6431 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.006706, allocations: 15.84 kB / 0.6431 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.006723, allocations: 12 kB / 0.6431 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.006795, allocations: 11.92 kB / 0.6431 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.00683, allocations: 3.984 kB / 0.6431 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.006835, allocations: 8 kB / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.891e-05/0.006864, allocations: 46.39 kB / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006864, allocations: 0 / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001571/0.007021, allocations: 28 kB / 0.6432 GB, free: 8.363 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 7.578e-05/0.007097, allocations: 80.41 kB / 0.6433 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.471e-05/0.007192, allocations: 45.05 kB / 0.6433 GB, free: 8.23 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.007196, allocations: 4 kB / 0.6433 GB, free: 8.227 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.007228, allocations: 20.8 kB / 0.6433 GB, free: 8.203 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.007453, allocations: 43.91 kB / 0.6434 GB, free: 8.16 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.007885, allocations: 229.2 kB / 0.6436 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.767e-05/0.007923, allocations: 63.34 kB / 0.6437 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.752e-05/0.007971, allocations: 16.48 kB / 0.6437 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.008069, allocations: 83.33 kB / 0.6438 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of SimCode: time 7.92e-07/0.008069, allocations: 0 / 0.6438 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of Templates: time 0.003485/0.01155, allocations: 2.279 MB / 0.646 GB, free: 5.449 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.460265427827835]