Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.04715/0.04715, 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.000968/0.000968, allocations: 98.64 kB / 35.33 MB, free: 0.9336 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.00115/0.00115, allocations: 166.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 1.048/1.048, 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.004094/0.004094, allocations: 0.8223 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.81/1.81, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.171e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5434/0.5434, allocations: 143.2 MB / 0.7777 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0001537/0.5436, allocations: 60.3 kB / 0.7778 GB, free: 11.9 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.5436, allocations: 0 / 0.7778 GB, free: 11.9 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.5437, allocations: 3.984 kB / 0.7778 GB, free: 11.89 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 9.609e-05/0.5438, allocations: 11.94 kB / 0.7778 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.5443, allocations: 125.8 kB / 0.7779 GB, free: 11.77 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.5444, allocations: 35.8 kB / 0.7779 GB, free: 11.73 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.5444, allocations: 0 / 0.7779 GB, free: 11.73 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.5445, allocations: 23.97 kB / 0.7779 GB, free: 11.71 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 7.994e-05/0.5446, allocations: 15.92 kB / 0.778 GB, free: 11.69 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.5446, allocations: 0 / 0.778 GB, free: 11.69 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.5448, allocations: 67.8 kB / 0.778 GB, free: 11.62 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.5448, allocations: 15.92 kB / 0.778 GB, free: 11.61 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.5449, allocations: 4 kB / 0.778 GB, free: 11.61 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.545, allocations: 79.78 kB / 0.7781 GB, free: 11.53 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.545, allocations: 0 / 0.7781 GB, free: 11.53 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.773e-06/0.545, allocations: 0 / 0.7781 GB, free: 11.53 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.545, allocations: 0 / 0.7781 GB, free: 11.53 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002991/0.5453, allocations: 235.7 kB / 0.7783 GB, free: 11.28 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5454, allocations: 19.92 kB / 0.7784 GB, free: 11.26 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.5456, allocations: 28.84 kB / 0.7784 GB, free: 11.23 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.497e-05/0.5457, allocations: 103.2 kB / 0.7785 GB, free: 11.11 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.5457, allocations: 63.72 kB / 0.7786 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.5457, allocations: 4 kB / 0.7786 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.5458, allocations: 82.91 kB / 0.7786 GB, free: 10.93 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5458, allocations: 0 / 0.7786 GB, free: 10.93 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.5458, allocations: 3.984 kB / 0.7786 GB, free: 10.93 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.5459, allocations: 4 kB / 0.7786 GB, free: 10.92 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.5459, allocations: 7.938 kB / 0.7787 GB, free: 10.91 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.5461, allocations: 165.2 kB / 0.7788 GB, free: 10.74 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 2.77e-05/0.5462, allocations: 15.42 kB / 0.7788 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.5462, allocations: 16.95 kB / 0.7788 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.5462, allocations: 0 / 0.7788 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.5462, allocations: 30.56 kB / 0.7789 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.5462, allocations: 0 / 0.7789 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 9.206e-05/0.5463, allocations: 33.64 kB / 0.7789 GB, free: 10.62 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.5463, allocations: 55.41 kB / 0.779 GB, free: 10.55 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.5464, allocations: 110.7 kB / 0.7791 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.5464, allocations: 25.7 kB / 0.7791 GB, free: 10.4 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.5464, allocations: 92.03 kB / 0.7792 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.5464, allocations: 3.953 kB / 0.7792 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.5465, allocations: 25.83 kB / 0.7792 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.5466, allocations: 318.8 kB / 0.7795 GB, free: 9.949 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.5466, allocations: 4 kB / 0.7795 GB, free: 9.945 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.5466, allocations: 19.98 kB / 0.7795 GB, free: 9.918 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.5466, allocations: 33.33 kB / 0.7796 GB, free: 9.875 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5466, allocations: 0 / 0.7796 GB, free: 9.875 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.16e-05/0.5467, allocations: 45.62 kB / 0.7796 GB, free: 9.824 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5467, allocations: 8.094 kB / 0.7796 GB, free: 9.816 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5467, allocations: 0.5 kB / 0.7796 GB, free: 9.816 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5467, allocations: 4 kB / 0.7796 GB, free: 9.812 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.5468, allocations: 4 kB / 0.7796 GB, free: 9.809 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5468, allocations: 8.641 kB / 0.7796 GB, free: 9.801 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.5468, allocations: 0.6875 kB / 0.7796 GB, free: 9.801 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.5468, allocations: 0 / 0.7796 GB, free: 9.801 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 6.096e-05/0.5468, allocations: 128.5 kB / 0.7797 GB, free: 9.664 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.5469, allocations: 3.984 kB / 0.7798 GB, free: 9.66 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.5469, allocations: 7.156 kB / 0.7798 GB, free: 9.656 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.5469, allocations: 4 kB / 0.7798 GB, free: 9.652 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.5469, allocations: 0 / 0.7798 GB, free: 9.652 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5469, allocations: 0 / 0.7798 GB, free: 9.652 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.547, allocations: 259.4 kB / 0.78 GB, free: 9.371 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.547, allocations: 0 / 0.78 GB, free: 9.371 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-06/0.547, allocations: 4.812 kB / 0.78 GB, free: 9.367 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.547, allocations: 0 / 0.78 GB, free: 9.367 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.5471, allocations: 4 kB / 0.78 GB, free: 9.363 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.5471, allocations: 0 / 0.78 GB, free: 9.363 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5471, allocations: 0 / 0.78 GB, free: 9.363 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.7e-05/0.5471, allocations: 69.98 kB / 0.7801 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.5471, allocations: 0 / 0.7801 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.5471, allocations: 0.5 kB / 0.7801 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.5472, allocations: 4 kB / 0.7801 GB, free: 9.273 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.5472, allocations: 0 / 0.7801 GB, free: 9.273 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.5472, allocations: 1.062 kB / 0.7801 GB, free: 9.273 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.426e-05/0.5472, allocations: 16.83 kB / 0.7801 GB, free: 9.254 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5e-08/0.5472, allocations: 0 / 0.7801 GB, free: 9.254 MB / 0.6824 GB Notification: Performance of remove unused functions: time 9.894e-05/0.5473, allocations: 8 kB / 0.7801 GB, free: 9.246 MB / 0.6824 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 (1): * Single equations (assignments): 1 * 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 8.914e-05/0.5474, allocations: 84.39 kB / 0.7802 GB, free: 9.152 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 5.552e-05/0.5474, allocations: 20.8 kB / 0.7802 GB, free: 9.129 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5474, allocations: 0 / 0.7802 GB, free: 9.129 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/0.5474, allocations: 4.859 kB / 0.7802 GB, free: 9.121 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.5476, allocations: 8.797 kB / 0.7802 GB, free: 9.113 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.5479, allocations: 124.7 kB / 0.7803 GB, free: 8.969 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.5479, allocations: 63.34 kB / 0.7804 GB, free: 8.887 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.548, allocations: 6.109 kB / 0.7804 GB, free: 8.883 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.548, allocations: 55.36 kB / 0.7805 GB, free: 8.832 MB / 0.6824 GB Notification: Performance of SimCode: time 5.41e-07/0.548, allocations: 4 kB / 0.7805 GB, free: 8.828 MB / 0.6824 GB Notification: Performance of Templates: time 0.002097/0.5501, allocations: 0.6147 MB / 0.7811 GB, free: 8.266 MB / 0.6824 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.126468898262829]