Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.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.04448/0.04448, allocations: 9.129 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.0009548/0.0009548, allocations: 99.08 kB / 35.34 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.001103/0.001103, allocations: 164.1 kB / 38.73 MB, free: 2.492 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.9867/0.9867, 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.004224/0.004224, allocations: 0.8256 MB / 276.5 MB, free: 0.7461 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.767/1.767, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.456e-06/3.456e-06, allocations: 3.984 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.131e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5244/0.5244, allocations: 130.6 MB / 0.7654 GB, free: 8.164 MB / 0.6668 GB Notification: Performance of NFInst.instExpressions: time 0.0001559/0.5246, allocations: 55.17 kB / 0.7654 GB, free: 8.113 MB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.5246, allocations: 0 / 0.7654 GB, free: 8.113 MB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 9.151e-05/0.5247, allocations: 0 / 0.7654 GB, free: 8.113 MB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.5247, allocations: 23.64 kB / 0.7654 GB, free: 8.094 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.5254, allocations: 262.2 kB / 0.7657 GB, free: 7.844 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.5255, allocations: 31.86 kB / 0.7657 GB, free: 7.812 MB / 0.6668 GB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.5255, allocations: 7.984 kB / 0.7657 GB, free: 7.805 MB / 0.6668 GB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.5256, allocations: 11.98 kB / 0.7657 GB, free: 7.793 MB / 0.6668 GB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.5256, allocations: 19.98 kB / 0.7658 GB, free: 7.773 MB / 0.6668 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.5256, allocations: 0 / 0.7658 GB, free: 7.773 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.5259, allocations: 182.1 kB / 0.7659 GB, free: 7.598 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.5259, allocations: 7.938 kB / 0.7659 GB, free: 7.59 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.526, allocations: 7.984 kB / 0.7659 GB, free: 7.582 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.5262, allocations: 183.5 kB / 0.7661 GB, free: 7.402 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5262, allocations: 0 / 0.7661 GB, free: 7.402 MB / 0.6668 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5262, allocations: 0 / 0.7661 GB, free: 7.402 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.5262, allocations: 0 / 0.7661 GB, free: 7.402 MB / 0.6668 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.0002529/0.5264, allocations: 258.2 kB / 0.7664 GB, free: 7.129 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.5265, allocations: 11.98 kB / 0.7664 GB, free: 7.117 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.5265, allocations: 12.88 kB / 0.7664 GB, free: 7.105 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.433e-05/0.5266, allocations: 108.9 kB / 0.7665 GB, free: 6.977 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.5266, allocations: 55.97 kB / 0.7665 GB, free: 6.91 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.5266, allocations: 384 / 0.7665 GB, free: 6.91 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.762e-05/0.5267, allocations: 84.55 kB / 0.7666 GB, free: 6.812 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.5267, allocations: 3.938 kB / 0.7666 GB, free: 6.809 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-06/0.5267, allocations: 0 / 0.7666 GB, free: 6.809 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.5267, allocations: 0 / 0.7666 GB, free: 6.809 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.5267, allocations: 4 kB / 0.7666 GB, free: 6.805 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.527, allocations: 213.8 kB / 0.7668 GB, free: 6.578 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 2.835e-05/0.5271, allocations: 18.58 kB / 0.7669 GB, free: 6.551 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.5271, allocations: 9.953 kB / 0.7669 GB, free: 6.539 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.5271, allocations: 35.95 kB / 0.7669 GB, free: 6.504 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.5271, allocations: 34.5 kB / 0.7669 GB, free: 6.461 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.5271, allocations: 0 / 0.7669 GB, free: 6.461 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1): time 6.969e-05/0.5272, allocations: 37.64 kB / 0.767 GB, free: 6.418 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.5272, allocations: 51.41 kB / 0.767 GB, free: 6.355 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.229e-05/0.5273, allocations: 110.8 kB / 0.7671 GB, free: 6.234 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 9.639e-06/0.5273, allocations: 29.7 kB / 0.7672 GB, free: 6.199 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.5273, allocations: 87.41 kB / 0.7672 GB, free: 6.113 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.5273, allocations: 7.953 kB / 0.7672 GB, free: 6.105 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.5274, allocations: 17.7 kB / 0.7673 GB, free: 6.082 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.5274, allocations: 314.8 kB / 0.7676 GB, free: 5.766 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-06/0.5274, allocations: 4 kB / 0.7676 GB, free: 5.762 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.605e-05/0.5275, allocations: 14.98 kB / 0.7676 GB, free: 5.742 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.5275, allocations: 24.47 kB / 0.7676 GB, free: 5.711 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5275, allocations: 0 / 0.7676 GB, free: 5.711 MB / 0.6668 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.724e-05/0.5275, allocations: 49.62 kB / 0.7677 GB, free: 5.656 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.5275, allocations: 4 kB / 0.7677 GB, free: 5.652 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.5275, allocations: 0 / 0.7677 GB, free: 5.652 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.5275, allocations: 0 / 0.7677 GB, free: 5.652 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-05/0.5276, allocations: 7.938 kB / 0.7677 GB, free: 5.645 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.5276, allocations: 4 kB / 0.7677 GB, free: 5.641 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.5276, allocations: 4 kB / 0.7677 GB, free: 5.637 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.5276, allocations: 0 / 0.7677 GB, free: 5.637 MB / 0.6668 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 4.835e-05/0.5276, allocations: 112.7 kB / 0.7678 GB, free: 5.516 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.5276, allocations: 11.98 kB / 0.7678 GB, free: 5.504 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.5277, allocations: 113 kB / 0.7679 GB, free: 5.387 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.109e-05/0.5278, allocations: 180.2 kB / 0.7681 GB, free: 5.203 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.306e-05/0.5278, allocations: 184.3 kB / 0.7682 GB, free: 5.016 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-05/0.5278, allocations: 184.2 kB / 0.7684 GB, free: 4.828 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.528, allocations: 317.9 kB / 0.7687 GB, free: 4.492 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/0.528, allocations: 101 kB / 0.7688 GB, free: 4.387 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.528, allocations: 110 kB / 0.7689 GB, free: 4.273 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.202e-05/0.5281, allocations: 180.9 kB / 0.7691 GB, free: 4.09 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.257e-05/0.5281, allocations: 180.2 kB / 0.7693 GB, free: 3.906 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.666e-05/0.5281, allocations: 188.2 kB / 0.7694 GB, free: 3.715 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.694e-05/0.5282, allocations: 180.3 kB / 0.7696 GB, free: 3.531 MB / 0.6668 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.5283, allocations: 315.7 kB / 0.7699 GB, free: 3.199 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.5283, allocations: 109.1 kB / 0.77 GB, free: 3.086 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.5284, allocations: 180.9 kB / 0.7702 GB, free: 2.902 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.5284, allocations: 112.9 kB / 0.7703 GB, free: 2.785 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.5285, allocations: 184.2 kB / 0.7705 GB, free: 2.598 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.5286, allocations: 106.1 kB / 0.7706 GB, free: 2.488 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 1.42e-05/0.5286, allocations: 12.84 kB / 0.7706 GB, free: 2.473 MB / 0.6668 GB Notification: Performance of sort global known variables: time 4e-08/0.5286, allocations: 0 / 0.7706 GB, free: 2.473 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.000183/0.5288, allocations: 59.73 kB / 0.7707 GB, free: 2.414 MB / 0.6668 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.0002154/0.529, allocations: 232.3 kB / 0.7709 GB, free: 2.18 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 4.163e-05/0.5291, allocations: 12.8 kB / 0.7709 GB, free: 2.164 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5291, allocations: 4 kB / 0.7709 GB, free: 2.16 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.5291, allocations: 4.125 kB / 0.7709 GB, free: 2.156 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.5293, allocations: 464.5 kB / 0.7713 GB, free: 1.699 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.5296, allocations: 192.9 kB / 0.7715 GB, free: 1.488 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.509e-05/0.5296, allocations: 51.36 kB / 0.7716 GB, free: 1.418 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.5296, allocations: 10.55 kB / 0.7716 GB, free: 1.41 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.5297, allocations: 65.48 kB / 0.7716 GB, free: 1.352 MB / 0.6668 GB Notification: Performance of SimCode: time 2.61e-07/0.5297, allocations: 0 / 0.7716 GB, free: 1.352 MB / 0.6668 GB Notification: Performance of Templates: time 0.002655/0.5324, allocations: 1.422 MB / 0.773 GB, free: 15.99 MB / 0.6824 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.01640745298937]