Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.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.04219/0.04219, allocations: 9.132 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.0007114/0.0007114, allocations: 95.2 kB / 35.33 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.001087/0.001087, allocations: 163.8 kB / 38.73 MB, free: 2.516 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.037/1.037, 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.004508/0.004508, allocations: 0.8222 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.725/1.725, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(AixLib.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.513e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5097/0.5097, allocations: 143.6 MB / 0.778 GB, free: 11.7 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.5099, allocations: 51.17 kB / 0.7781 GB, free: 11.66 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.5099, allocations: 4 kB / 0.7781 GB, free: 11.65 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.51, allocations: 0 / 0.7781 GB, free: 11.65 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.5101, allocations: 15.86 kB / 0.7781 GB, free: 11.64 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.5108, allocations: 225.6 kB / 0.7783 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.5108, allocations: 35.84 kB / 0.7783 GB, free: 11.39 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.5109, allocations: 8 kB / 0.7783 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.5109, allocations: 19.92 kB / 0.7784 GB, free: 11.36 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 6.47e-05/0.511, allocations: 15.97 kB / 0.7784 GB, free: 11.35 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.511, allocations: 0 / 0.7784 GB, free: 11.35 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.5113, allocations: 165.9 kB / 0.7785 GB, free: 11.19 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.5113, allocations: 7.984 kB / 0.7785 GB, free: 11.18 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.5113, allocations: 8 kB / 0.7786 GB, free: 11.17 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.5115, allocations: 120.3 kB / 0.7787 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5115, allocations: 0 / 0.7787 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5115, allocations: 4 kB / 0.7787 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.5115, allocations: 4 kB / 0.7787 GB, free: 11.05 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.0002849/0.5118, allocations: 235.7 kB / 0.7789 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.5119, allocations: 15.98 kB / 0.7789 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.5121, allocations: 36.84 kB / 0.7789 GB, free: 10.75 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.5122, allocations: 106.6 kB / 0.779 GB, free: 10.62 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.5122, allocations: 59.72 kB / 0.7791 GB, free: 10.55 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.5123, allocations: 0 / 0.7791 GB, free: 10.55 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5134, allocations: 82.91 kB / 0.7792 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5134, allocations: 1.125 kB / 0.7792 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.5134, allocations: 7.938 kB / 0.7792 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5134, allocations: 0 / 0.7792 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.5134, allocations: 8 kB / 0.7792 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.5136, allocations: 161.9 kB / 0.7794 GB, free: 10.26 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 3.72e-05/0.5137, allocations: 22.58 kB / 0.7794 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.5137, allocations: 8.922 kB / 0.7794 GB, free: 10.21 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 8.159e-05/0.5138, allocations: 19.92 kB / 0.7794 GB, free: 10.2 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.5138, allocations: 42.48 kB / 0.7794 GB, free: 10.14 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2): time 1.824e-06/0.5138, allocations: 0.6094 kB / 0.7794 GB, free: 10.14 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2): time 0.000152/0.514, allocations: 44.95 kB / 0.7795 GB, free: 10.1 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.514, allocations: 59.41 kB / 0.7795 GB, free: 10.03 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.47e-05/0.514, allocations: 103.3 kB / 0.7796 GB, free: 9.914 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.5141, allocations: 25.7 kB / 0.7797 GB, free: 9.883 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.5141, allocations: 92.06 kB / 0.7798 GB, free: 9.789 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.5141, allocations: 7.953 kB / 0.7798 GB, free: 9.781 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.5141, allocations: 13.84 kB / 0.7798 GB, free: 9.762 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.5142, allocations: 322.8 kB / 0.7801 GB, free: 9.438 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-06/0.5142, allocations: 4 kB / 0.7801 GB, free: 9.434 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.5142, allocations: 26.5 kB / 0.7801 GB, free: 9.398 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.5143, allocations: 33.39 kB / 0.7801 GB, free: 9.355 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5143, allocations: 0 / 0.7801 GB, free: 9.355 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.56e-05/0.5143, allocations: 45.62 kB / 0.7802 GB, free: 9.305 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.5143, allocations: 4.094 kB / 0.7802 GB, free: 9.301 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5143, allocations: 4 kB / 0.7802 GB, free: 9.297 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5143, allocations: 4 kB / 0.7802 GB, free: 9.293 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.5144, allocations: 14.55 kB / 0.7802 GB, free: 9.281 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.5144, allocations: 0 / 0.7802 GB, free: 9.281 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.5144, allocations: 4 kB / 0.7802 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.5144, allocations: 0 / 0.7802 GB, free: 9.277 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.447e-05/0.5145, allocations: 120.6 kB / 0.7803 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.5145, allocations: 0 / 0.7803 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.5145, allocations: 3.312 kB / 0.7803 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5145, allocations: 0 / 0.7803 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.5145, allocations: 4 kB / 0.7803 GB, free: 9.145 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5145, allocations: 4 kB / 0.7803 GB, free: 9.141 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.5147, allocations: 279.7 kB / 0.7806 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5147, allocations: 0 / 0.7806 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.5147, allocations: 4 kB / 0.7806 GB, free: 8.832 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5147, allocations: 0 / 0.7806 GB, free: 8.832 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-06/0.5147, allocations: 0.5 kB / 0.7806 GB, free: 8.832 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.5147, allocations: 0 / 0.7806 GB, free: 8.832 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5147, allocations: 0 / 0.7806 GB, free: 8.832 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.632e-05/0.5148, allocations: 81.86 kB / 0.7807 GB, free: 8.73 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.5148, allocations: 4.703 kB / 0.7807 GB, free: 8.727 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.5148, allocations: 8 kB / 0.7807 GB, free: 8.719 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.5148, allocations: 0 / 0.7807 GB, free: 8.719 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.5149, allocations: 3.984 kB / 0.7807 GB, free: 8.715 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.5149, allocations: 4 kB / 0.7807 GB, free: 8.711 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.025e-05/0.5149, allocations: 8.859 kB / 0.7807 GB, free: 8.699 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6e-08/0.5149, allocations: 0 / 0.7807 GB, free: 8.699 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001685/0.515, allocations: 7.938 kB / 0.7807 GB, free: 8.691 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001087/0.5151, allocations: 84.95 kB / 0.7808 GB, free: 8.598 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 5.404e-05/0.5152, allocations: 24.78 kB / 0.7808 GB, free: 8.57 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5152, allocations: 4 kB / 0.7808 GB, free: 8.566 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 8.275e-06/0.5152, allocations: 4.859 kB / 0.7808 GB, free: 8.559 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.5153, allocations: 13.34 kB / 0.7809 GB, free: 8.547 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.5156, allocations: 135.8 kB / 0.781 GB, free: 8.391 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.702e-05/0.5157, allocations: 55.34 kB / 0.781 GB, free: 8.316 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.5157, allocations: 5.172 kB / 0.781 GB, free: 8.312 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.5158, allocations: 59.36 kB / 0.7811 GB, free: 8.258 MB / 0.6824 GB Notification: Performance of SimCode: time 4.01e-07/0.5158, allocations: 4 kB / 0.7811 GB, free: 8.254 MB / 0.6824 GB Notification: Performance of Templates: time 0.002367/0.5181, allocations: 0.781 MB / 0.7819 GB, free: 7.523 MB / 0.6824 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.304421906359494]