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.044/0.044, allocations: 9.13 MB / 28.99 MB, free: 0.8281 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.0009852/0.0009852, allocations: 90.38 kB / 35.33 MB, free: 1.09 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.001408/0.001408, allocations: 168.5 kB / 38.73 MB, free: 2.496 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.2 MB / 219.2 MB, free: 10.13 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.01152/0.01152, allocations: 0.8257 MB / 276.5 MB, free: 0.7539 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.817/1.817, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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 2.254e-06/2.254e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.666e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005327/0.005363, allocations: 3.52 MB / 0.6413 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001032/0.005467, allocations: 47.8 kB / 0.6414 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.005497, allocations: 3.938 kB / 0.6414 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.005629, allocations: 8 kB / 0.6414 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.005721, allocations: 15.91 kB / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.006344, allocations: 219 kB / 0.6416 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.006439, allocations: 31.86 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.006485, allocations: 7.984 kB / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.006564, allocations: 19.97 kB / 0.6417 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.006652, allocations: 11.94 kB / 0.6417 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.00667, allocations: 0 / 0.6417 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.007039, allocations: 147.5 kB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.007096, allocations: 11.94 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.007119, allocations: 7.984 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.007358, allocations: 127.7 kB / 0.642 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.007362, allocations: 4 kB / 0.642 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.294e-06/0.007364, allocations: 3.938 kB / 0.642 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.007369, allocations: 4 kB / 0.642 GB, free: 9.898 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.000387/0.007756, allocations: 244.5 kB / 0.6422 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.007796, allocations: 11.98 kB / 0.6422 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.007837, allocations: 4.938 kB / 0.6422 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.007945, allocations: 105.8 kB / 0.6423 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.008011, allocations: 55.97 kB / 0.6424 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.008021, allocations: 384 / 0.6424 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.008155, allocations: 75.48 kB / 0.6424 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.008166, allocations: 192 / 0.6424 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.008177, allocations: 7.938 kB / 0.6425 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.008205, allocations: 7.984 kB / 0.6425 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.834e-05/0.008234, allocations: 11.94 kB / 0.6425 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.008695, allocations: 194 kB / 0.6427 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.271e-05/0.008737, allocations: 18.58 kB / 0.6427 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.008751, allocations: 4.859 kB / 0.6427 GB, free: 9.066 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/0.008832, allocations: 39.97 kB / 0.6427 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.008866, allocations: 38.5 kB / 0.6428 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.008868, allocations: 0 / 0.6428 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.00899, allocations: 33.64 kB / 0.6428 GB, free: 8.941 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.009026, allocations: 63.45 kB / 0.6429 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.009107, allocations: 106.7 kB / 0.643 GB, free: 8.75 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.009124, allocations: 25.7 kB / 0.643 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.009171, allocations: 88.09 kB / 0.6431 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.009175, allocations: 0 / 0.6431 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.009209, allocations: 21.7 kB / 0.6431 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.009307, allocations: 314.8 kB / 0.6434 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.009315, allocations: 4 kB / 0.6434 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.009333, allocations: 13.72 kB / 0.6434 GB, free: 8.262 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.009369, allocations: 32.47 kB / 0.6434 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009372, allocations: 0 / 0.6434 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.011e-05/0.009442, allocations: 45.62 kB / 0.6435 GB, free: 8.172 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.009457, allocations: 7.938 kB / 0.6435 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.009463, allocations: 0 / 0.6435 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.00948, allocations: 0 / 0.6435 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.433e-05/0.009525, allocations: 8 kB / 0.6435 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.009528, allocations: 0 / 0.6435 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.009543, allocations: 0 / 0.6435 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.009552, allocations: 4 kB / 0.6435 GB, free: 8.152 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.687e-05/0.009628, allocations: 120.7 kB / 0.6436 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.009647, allocations: 3.938 kB / 0.6436 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.009768, allocations: 120.9 kB / 0.6437 GB, free: 7.887 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.842e-05/0.009827, allocations: 184.2 kB / 0.6439 GB, free: 7.699 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.056e-05/0.009887, allocations: 176.3 kB / 0.6441 GB, free: 7.52 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.919e-05/0.009947, allocations: 184.2 kB / 0.6442 GB, free: 7.332 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.01011, allocations: 321.4 kB / 0.6446 GB, free: 6.992 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.689e-05/0.01015, allocations: 112.9 kB / 0.6447 GB, free: 6.875 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.01018, allocations: 101 kB / 0.6448 GB, free: 6.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-05/0.01024, allocations: 184.4 kB / 0.6449 GB, free: 6.582 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.0103, allocations: 184.2 kB / 0.6451 GB, free: 6.395 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.596e-05/0.01036, allocations: 180.2 kB / 0.6453 GB, free: 6.211 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.393e-05/0.01042, allocations: 180.2 kB / 0.6455 GB, free: 6.027 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.01056, allocations: 311.8 kB / 0.6457 GB, free: 5.699 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.0106, allocations: 101 kB / 0.6458 GB, free: 5.594 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.01067, allocations: 184.2 kB / 0.646 GB, free: 5.406 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.01077, allocations: 108.9 kB / 0.6461 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.01083, allocations: 184.2 kB / 0.6463 GB, free: 5.105 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.01086, allocations: 108.9 kB / 0.6464 GB, free: 4.992 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.688e-05/0.01089, allocations: 20.83 kB / 0.6464 GB, free: 4.969 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 4 kB / 0.6464 GB, free: 4.965 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001984/0.01109, allocations: 35.81 kB / 0.6465 GB, free: 4.93 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.0002474/0.01134, allocations: 211.8 kB / 0.6467 GB, free: 4.715 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.435e-05/0.01141, allocations: 20.84 kB / 0.6467 GB, free: 4.691 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.01142, allocations: 4 kB / 0.6467 GB, free: 4.688 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.01142, allocations: 0 / 0.6467 GB, free: 4.688 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.01171, allocations: 459.6 kB / 0.6471 GB, free: 4.234 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.0121, allocations: 190.8 kB / 0.6473 GB, free: 4.02 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.681e-05/0.01214, allocations: 55.34 kB / 0.6474 GB, free: 3.945 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.01217, allocations: 12.06 kB / 0.6474 GB, free: 3.934 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.01224, allocations: 59.36 kB / 0.6474 GB, free: 3.875 MB / 0.6043 GB Notification: Performance of SimCode: time 7.91e-07/0.01224, allocations: 0 / 0.6474 GB, free: 3.875 MB / 0.6043 GB Notification: Performance of Templates: time 0.003305/0.01555, allocations: 1.354 MB / 0.6488 GB, free: 2.52 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.834391668904573]