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.0439/0.0439, allocations: 9.131 MB / 28.99 MB, free: 6.109 MB / 24.77 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.0008279/0.0008279, allocations: 94.64 kB / 35.33 MB, free: 0.7734 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.001205/0.001205, allocations: 160.8 kB / 38.73 MB, free: 2.113 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.083/1.083, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004686/0.004686, allocations: 0.8224 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.714/1.714, 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.313e-06/1.313e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.408e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4877/0.4877, allocations: 143.1 MB / 0.7776 GB, free: 12.09 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0001506/0.4879, allocations: 62.97 kB / 0.7777 GB, free: 12.04 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.4879, allocations: 0 / 0.7777 GB, free: 12.04 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.488, allocations: 3.938 kB / 0.7777 GB, free: 12.04 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.4881, allocations: 15.91 kB / 0.7777 GB, free: 12.02 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.4886, allocations: 118.3 kB / 0.7778 GB, free: 11.91 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.4887, allocations: 39.84 kB / 0.7778 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.4887, allocations: 3.984 kB / 0.7778 GB, free: 11.86 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 6.318e-05/0.4888, allocations: 15.98 kB / 0.7779 GB, free: 11.85 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.4888, allocations: 15.91 kB / 0.7779 GB, free: 11.83 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.4888, allocations: 0 / 0.7779 GB, free: 11.83 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.4891, allocations: 73.3 kB / 0.7779 GB, free: 11.76 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.4891, allocations: 11.97 kB / 0.7779 GB, free: 11.75 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.4891, allocations: 12 kB / 0.778 GB, free: 11.74 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.4893, allocations: 71.44 kB / 0.778 GB, free: 11.67 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4893, allocations: 4 kB / 0.778 GB, free: 11.67 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4893, allocations: 0 / 0.778 GB, free: 11.67 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.4893, allocations: 0 / 0.778 GB, free: 11.67 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.0002761/0.4896, allocations: 239.7 kB / 0.7783 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4896, allocations: 11.98 kB / 0.7783 GB, free: 11.4 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.4898, allocations: 28.84 kB / 0.7783 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.36e-05/0.4899, allocations: 109.8 kB / 0.7784 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.4899, allocations: 55.72 kB / 0.7785 GB, free: 11.18 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.4899, allocations: 8 kB / 0.7785 GB, free: 11.17 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.49, allocations: 84.69 kB / 0.7785 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.4901, allocations: 0 / 0.7785 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4901, allocations: 0 / 0.7785 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.4901, allocations: 4 kB / 0.7785 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.4901, allocations: 7.984 kB / 0.7786 GB, free: 11.06 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.4903, allocations: 169.2 kB / 0.7787 GB, free: 10.88 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 3.253e-05/0.4904, allocations: 18.58 kB / 0.7787 GB, free: 10.85 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.4904, allocations: 12.8 kB / 0.7787 GB, free: 10.84 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.4904, allocations: 0 / 0.7787 GB, free: 10.84 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.4904, allocations: 30.56 kB / 0.7788 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.4904, allocations: 64 / 0.7788 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 8.716e-05/0.4905, allocations: 37.73 kB / 0.7788 GB, free: 10.75 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.4905, allocations: 51.41 kB / 0.7789 GB, free: 10.69 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.4906, allocations: 110.7 kB / 0.779 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.4906, allocations: 25.7 kB / 0.779 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.4906, allocations: 92.03 kB / 0.7791 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-06/0.4907, allocations: 3.953 kB / 0.7791 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.4907, allocations: 17.84 kB / 0.7791 GB, free: 10.42 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.4908, allocations: 326.8 kB / 0.7794 GB, free: 10.09 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.4908, allocations: 3.938 kB / 0.7794 GB, free: 10.09 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.4908, allocations: 19.14 kB / 0.7794 GB, free: 10.06 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.4908, allocations: 29.41 kB / 0.7795 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4908, allocations: 0 / 0.7795 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.577e-05/0.4909, allocations: 45.62 kB / 0.7795 GB, free: 9.969 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4909, allocations: 19.97 kB / 0.7795 GB, free: 9.949 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4909, allocations: 0 / 0.7795 GB, free: 9.949 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.4909, allocations: 3.984 kB / 0.7795 GB, free: 9.945 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.1e-05/0.4909, allocations: 8 kB / 0.7795 GB, free: 9.938 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.491, allocations: 0 / 0.7795 GB, free: 9.938 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.491, allocations: 0 / 0.7795 GB, free: 9.938 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.491, allocations: 4 kB / 0.7795 GB, free: 9.934 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 5.627e-05/0.491, allocations: 112.6 kB / 0.7796 GB, free: 9.812 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.491, allocations: 5.547 kB / 0.7797 GB, free: 9.809 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.4911, allocations: 7.656 kB / 0.7797 GB, free: 9.805 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4911, allocations: 4 kB / 0.7797 GB, free: 9.801 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.4911, allocations: 3.984 kB / 0.7797 GB, free: 9.797 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4911, allocations: 0 / 0.7797 GB, free: 9.797 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.4912, allocations: 263.6 kB / 0.7799 GB, free: 9.512 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4912, allocations: 0 / 0.7799 GB, free: 9.512 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.4913, allocations: 7.984 kB / 0.7799 GB, free: 9.504 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4913, allocations: 0 / 0.7799 GB, free: 9.504 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-06/0.4913, allocations: 0 / 0.7799 GB, free: 9.504 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4913, allocations: 1.438 kB / 0.7799 GB, free: 9.504 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4913, allocations: 0.7031 kB / 0.7799 GB, free: 9.504 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.29e-05/0.4913, allocations: 61.11 kB / 0.78 GB, free: 9.426 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.4913, allocations: 3.984 kB / 0.78 GB, free: 9.422 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.4913, allocations: 0 / 0.78 GB, free: 9.422 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.309e-05/0.4914, allocations: 8 kB / 0.78 GB, free: 9.414 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.4914, allocations: 3.938 kB / 0.78 GB, free: 9.41 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.4914, allocations: 0 / 0.78 GB, free: 9.41 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.742e-05/0.4914, allocations: 10.11 kB / 0.78 GB, free: 9.398 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4914, allocations: 0 / 0.78 GB, free: 9.398 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001162/0.4915, allocations: 8 kB / 0.78 GB, free: 9.391 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 0.0001096/0.4916, allocations: 88.38 kB / 0.7801 GB, free: 9.293 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.4917, allocations: 12.86 kB / 0.7801 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4917, allocations: 0 / 0.7801 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 6.271e-06/0.4917, allocations: 8.797 kB / 0.7801 GB, free: 9.266 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.4918, allocations: 15.98 kB / 0.7801 GB, free: 9.25 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.4922, allocations: 120.5 kB / 0.7803 GB, free: 9.109 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.455e-05/0.4923, allocations: 55.61 kB / 0.7803 GB, free: 9.035 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.428e-05/0.4923, allocations: 13.56 kB / 0.7803 GB, free: 9.023 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.4924, allocations: 59.36 kB / 0.7804 GB, free: 8.969 MB / 0.6824 GB Notification: Performance of SimCode: time 8.21e-07/0.4924, allocations: 0 / 0.7804 GB, free: 8.969 MB / 0.6824 GB Notification: Performance of Templates: time 0.002251/0.4947, allocations: 0.6237 MB / 0.781 GB, free: 8.398 MB / 0.6824 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2049719779752195]