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.06566/0.06566, allocations: 9.132 MB / 28.99 MB, free: 0.8203 MB / 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.0009414/0.0009414, allocations: 98.72 kB / 35.33 MB, free: 1.078 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.001204/0.001204, allocations: 168.6 kB / 38.73 MB, free: 2.484 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.9739/0.9739, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.003875/0.003875, allocations: 0.8265 MB / 276.5 MB, free: 0.7344 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.657/1.657, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.583e-06/1.583e-06, allocations: 0 / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.656e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003346/0.003373, allocations: 1.868 MB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0004139/0.003787, allocations: 119.5 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.003889, allocations: 0 / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.004025, allocations: 19.86 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.00414, allocations: 55.42 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.004286, allocations: 31.95 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.004529, allocations: 175.1 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.004652, allocations: 29.88 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.004798, allocations: 79.86 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.004909, allocations: 51.88 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.004945, allocations: 16 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 2.274e-05/0.004968, allocations: 8 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.005002, allocations: 23.91 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.005065, allocations: 47.86 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.005252, allocations: 103.6 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.005257, allocations: 0 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.685e-06/0.005259, allocations: 4 kB / 0.6404 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.005264, allocations: 0 / 0.6404 GB, free: 11.55 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.0006788/0.005943, allocations: 352.2 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.005995, allocations: 11.98 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.00605, allocations: 16.92 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.006283, allocations: 137.6 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.006298, allocations: 8.375 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.006321, allocations: 4.375 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.006532, allocations: 108.5 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.006544, allocations: 4.125 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.006556, allocations: 4.375 kB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006563, allocations: 384 / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.256e-05/0.006646, allocations: 27.91 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.007181, allocations: 312.2 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.007397, allocations: 77.22 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.007447, allocations: 21.72 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.007472, allocations: 4.078 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.007503, allocations: 46.5 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/0.007505, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0002311/0.007736, allocations: 73.61 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.007781, allocations: 77.11 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.007902, allocations: 155.3 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.007918, allocations: 25.7 kB / 0.6418 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.00798, allocations: 108 kB / 0.6419 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.008008, allocations: 35.72 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.008056, allocations: 21.66 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.008157, allocations: 326.8 kB / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.008188, allocations: 12 kB / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/0.008231, allocations: 21.7 kB / 0.6423 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.334e-05/0.008314, allocations: 41.69 kB / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.008318, allocations: 0 / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001394/0.008457, allocations: 73.84 kB / 0.6424 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.00848, allocations: 11.91 kB / 0.6424 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.008489, allocations: 4.062 kB / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.008507, allocations: 0 / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.008625, allocations: 27.92 kB / 0.6424 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.008629, allocations: 0 / 0.6424 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.008695, allocations: 8 kB / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.008706, allocations: 4 kB / 0.6424 GB, free: 9.23 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 9.52e-05/0.008801, allocations: 109.8 kB / 0.6425 GB, free: 9.113 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.008856, allocations: 15.92 kB / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.009052, allocations: 90.69 kB / 0.6426 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.009055, allocations: 0 / 0.6426 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.009061, allocations: 4 kB / 0.6426 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.009066, allocations: 0 / 0.6426 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.009312, allocations: 105.8 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.009314, allocations: 4 kB / 0.6427 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.009407, allocations: 12 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.009411, allocations: 4 kB / 0.6428 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.009421, allocations: 0 / 0.6428 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.009426, allocations: 7.922 kB / 0.6428 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.009428, allocations: 0 / 0.6428 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.009615, allocations: 238.8 kB / 0.643 GB, free: 8.605 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.009638, allocations: 15.84 kB / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.009658, allocations: 0 / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.009787, allocations: 15.92 kB / 0.643 GB, free: 8.574 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.009831, allocations: 7.984 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.009838, allocations: 4 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.009886, allocations: 42.45 kB / 0.6431 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.01e-07/0.009886, allocations: 0 / 0.6431 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003014/0.01019, allocations: 27.94 kB / 0.6431 GB, free: 8.492 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 0.0001133/0.0103, allocations: 84.41 kB / 0.6432 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.01043, allocations: 48.98 kB / 0.6432 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.01044, allocations: 0 / 0.6432 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.01049, allocations: 25.17 kB / 0.6432 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.01089, allocations: 36.42 kB / 0.6433 GB, free: 8.289 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.01154, allocations: 241.2 kB / 0.6435 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.676e-05/0.01159, allocations: 67.33 kB / 0.6436 GB, free: 7.938 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 7.383e-05/0.01167, allocations: 8.5 kB / 0.6436 GB, free: 7.93 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.01182, allocations: 87.34 kB / 0.6437 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of SimCode: time 7.21e-07/0.01182, allocations: 0 / 0.6437 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of Templates: time 0.00495/0.01677, allocations: 2.263 MB / 0.6459 GB, free: 5.586 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 -lv LOG_STATS > AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.498991683125496]