Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.04477/0.04477, allocations: 9.131 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.0008308/0.0008308, allocations: 87.28 kB / 35.33 MB, free: 1.086 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.001111/0.001111, allocations: 165.1 kB / 38.73 MB, free: 2.512 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 1.052/1.052, allocations: 177.1 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.004175/0.004175, allocations: 0.8248 MB / 276.5 MB, free: 0.7422 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.681/1.681, allocations: 274.9 MB / 0.5419 GB, free: 0.6562 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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.131e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00488/0.004911, allocations: 3.458 MB / 0.6412 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.005032, allocations: 55.8 kB / 0.6413 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.00506, allocations: 0 / 0.6413 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.005185, allocations: 7.938 kB / 0.6413 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.005265, allocations: 7.922 kB / 0.6413 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.005816, allocations: 227 kB / 0.6415 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.005898, allocations: 31.84 kB / 0.6415 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.00594, allocations: 3.984 kB / 0.6416 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.375e-05/0.006004, allocations: 23.97 kB / 0.6416 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.00608, allocations: 4 kB / 0.6416 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.006093, allocations: 7.938 kB / 0.6416 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.006375, allocations: 143.5 kB / 0.6417 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.006424, allocations: 8 kB / 0.6417 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.006447, allocations: 11.94 kB / 0.6417 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.006659, allocations: 131.6 kB / 0.6419 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.006662, allocations: 0 / 0.6419 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.194e-06/0.006664, allocations: 0 / 0.6419 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.006669, allocations: 3.938 kB / 0.6419 GB, free: 10.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002899/0.006959, allocations: 244.5 kB / 0.6421 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.006997, allocations: 15.98 kB / 0.6421 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.007021, allocations: 0.9375 kB / 0.6421 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.684e-05/0.007098, allocations: 109.8 kB / 0.6422 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/0.007151, allocations: 55.97 kB / 0.6423 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.007165, allocations: 8.312 kB / 0.6423 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.007286, allocations: 75.48 kB / 0.6424 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.007295, allocations: 4.172 kB / 0.6424 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.007303, allocations: 3.938 kB / 0.6424 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.007323, allocations: 0 / 0.6424 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.007341, allocations: 4 kB / 0.6424 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.007699, allocations: 198 kB / 0.6426 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.367e-05/0.007733, allocations: 22.52 kB / 0.6426 GB, free: 9.191 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.094e-05/0.007744, allocations: 8.859 kB / 0.6426 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.711e-05/0.007811, allocations: 43.97 kB / 0.6426 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.007836, allocations: 34.5 kB / 0.6427 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.007838, allocations: 0 / 0.6427 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 9.871e-05/0.007937, allocations: 29.7 kB / 0.6427 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.007967, allocations: 55.34 kB / 0.6427 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.233e-05/0.008039, allocations: 114.6 kB / 0.6429 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.008051, allocations: 25.7 kB / 0.6429 GB, free: 8.836 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.008096, allocations: 84.09 kB / 0.643 GB, free: 8.75 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/0.008101, allocations: 4 kB / 0.643 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.008128, allocations: 25.77 kB / 0.643 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.008224, allocations: 318.8 kB / 0.6433 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/0.008232, allocations: 0 / 0.6433 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.723e-05/0.008249, allocations: 13.72 kB / 0.6433 GB, free: 8.375 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.008284, allocations: 28.53 kB / 0.6433 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008286, allocations: 0 / 0.6433 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.458e-05/0.00835, allocations: 41.62 kB / 0.6434 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.008367, allocations: 7.938 kB / 0.6434 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.008371, allocations: 4.062 kB / 0.6434 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.008382, allocations: 4 kB / 0.6434 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.766e-05/0.00842, allocations: 4 kB / 0.6434 GB, free: 8.273 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.008424, allocations: 3.984 kB / 0.6434 GB, free: 8.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.008439, allocations: 4 kB / 0.6434 GB, free: 8.266 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.008448, allocations: 3.938 kB / 0.6434 GB, free: 8.262 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 (3): * Single equations (assignments): 3 * 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 7.046e-05/0.008518, allocations: 112.7 kB / 0.6435 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.008537, allocations: 11.92 kB / 0.6435 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.008648, allocations: 117 kB / 0.6436 GB, free: 8 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-05/0.008697, allocations: 180.2 kB / 0.6438 GB, free: 7.816 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.335e-05/0.00875, allocations: 184.2 kB / 0.644 GB, free: 7.629 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.194e-05/0.008802, allocations: 180.3 kB / 0.6442 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.008952, allocations: 325.4 kB / 0.6445 GB, free: 7.102 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.008982, allocations: 101 kB / 0.6446 GB, free: 6.996 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.009016, allocations: 108.9 kB / 0.6447 GB, free: 6.883 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.762e-05/0.009073, allocations: 184.4 kB / 0.6448 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.009129, allocations: 176.3 kB / 0.645 GB, free: 6.516 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.987e-05/0.009179, allocations: 188.1 kB / 0.6452 GB, free: 6.324 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.647e-05/0.009225, allocations: 180.3 kB / 0.6454 GB, free: 6.141 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.009353, allocations: 307.8 kB / 0.6456 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.009396, allocations: 109 kB / 0.6458 GB, free: 5.703 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.009453, allocations: 180.2 kB / 0.6459 GB, free: 5.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.009544, allocations: 112.9 kB / 0.646 GB, free: 5.402 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.009599, allocations: 180.5 kB / 0.6462 GB, free: 5.219 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.00963, allocations: 105 kB / 0.6463 GB, free: 5.109 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.415e-05/0.009654, allocations: 8.859 kB / 0.6463 GB, free: 5.098 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.009654, allocations: 4 kB / 0.6463 GB, free: 5.094 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001938/0.009848, allocations: 39.8 kB / 0.6464 GB, free: 5.055 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002615/0.01011, allocations: 215.5 kB / 0.6466 GB, free: 4.836 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.108e-05/0.01018, allocations: 20.8 kB / 0.6466 GB, free: 4.812 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.01019, allocations: 0 / 0.6466 GB, free: 4.812 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.01019, allocations: 0 / 0.6466 GB, free: 4.812 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.01047, allocations: 467.7 kB / 0.647 GB, free: 4.352 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.01092, allocations: 194.8 kB / 0.6472 GB, free: 4.133 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.01098, allocations: 59.34 kB / 0.6473 GB, free: 4.055 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.01101, allocations: 7.938 kB / 0.6473 GB, free: 4.047 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.01109, allocations: 59.36 kB / 0.6473 GB, free: 3.988 MB / 0.6043 GB Notification: Performance of SimCode: time 8.92e-07/0.01109, allocations: 0 / 0.6473 GB, free: 3.988 MB / 0.6043 GB Notification: Performance of Templates: time 0.003453/0.01454, allocations: 1.346 MB / 0.6486 GB, free: 2.637 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5764317363500595]