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.04439/0.04439, allocations: 9.135 MB / 28.99 MB, free: 0.7969 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.0009121/0.0009121, allocations: 95.03 kB / 35.33 MB, free: 1.059 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.001307/0.001307, allocations: 161 kB / 38.73 MB, free: 2.504 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.1 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.004214/0.004214, allocations: 0.8224 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.849/1.849, allocations: 274.9 MB / 0.5419 GB, free: 0.6562 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.904e-06/1.904e-06, allocations: 0 / 0.6379 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.41e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5047/0.5048, allocations: 143.6 MB / 0.7781 GB, free: 11.61 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.5049, allocations: 55.17 kB / 0.7782 GB, free: 11.56 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.5049, allocations: 0 / 0.7782 GB, free: 11.56 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.5051, allocations: 0 / 0.7782 GB, free: 11.56 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 8.982e-05/0.5052, allocations: 11.92 kB / 0.7782 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006693/0.5058, allocations: 233.1 kB / 0.7784 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.5059, allocations: 39.84 kB / 0.7784 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.5059, allocations: 0 / 0.7784 GB, free: 11.29 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.506, allocations: 19.97 kB / 0.7784 GB, free: 11.27 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.5061, allocations: 7.984 kB / 0.7785 GB, free: 11.26 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.5061, allocations: 0 / 0.7785 GB, free: 11.26 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.5064, allocations: 174.3 kB / 0.7786 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.5065, allocations: 4 kB / 0.7786 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.5065, allocations: 19.97 kB / 0.7786 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.5067, allocations: 107.7 kB / 0.7787 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5067, allocations: 11.92 kB / 0.7788 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5067, allocations: 0 / 0.7788 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5067, allocations: 0 / 0.7788 GB, free: 10.95 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.0003072/0.507, allocations: 235.7 kB / 0.779 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.507, allocations: 11.98 kB / 0.779 GB, free: 10.69 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.5073, allocations: 40.83 kB / 0.779 GB, free: 10.65 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/0.5074, allocations: 108.4 kB / 0.7791 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.5075, allocations: 63.7 kB / 0.7792 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.5075, allocations: 4 kB / 0.7792 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.5076, allocations: 78.86 kB / 0.7793 GB, free: 10.35 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.5076, allocations: 0 / 0.7793 GB, free: 10.35 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.5076, allocations: 0 / 0.7793 GB, free: 10.35 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.5076, allocations: 4 kB / 0.7793 GB, free: 10.35 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.5077, allocations: 7.938 kB / 0.7793 GB, free: 10.34 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.5079, allocations: 165.9 kB / 0.7794 GB, free: 10.16 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 3.763e-05/0.5079, allocations: 26.56 kB / 0.7795 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.257e-05/0.5079, allocations: 8.859 kB / 0.7795 GB, free: 10.11 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 9.154e-05/0.508, allocations: 16.05 kB / 0.7795 GB, free: 10.1 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.5081, allocations: 34.56 kB / 0.7795 GB, free: 10.05 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5081, allocations: 0 / 0.7795 GB, free: 10.05 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.5082, allocations: 48.89 kB / 0.7796 GB, free: 10 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.5083, allocations: 51.41 kB / 0.7796 GB, free: 9.941 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.5083, allocations: 112.5 kB / 0.7797 GB, free: 9.82 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.5083, allocations: 33.7 kB / 0.7798 GB, free: 9.781 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.5084, allocations: 88.08 kB / 0.7798 GB, free: 9.691 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.5084, allocations: 3.953 kB / 0.7799 GB, free: 9.688 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.5084, allocations: 13.72 kB / 0.7799 GB, free: 9.668 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.5085, allocations: 322.8 kB / 0.7802 GB, free: 9.344 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.5085, allocations: 0 / 0.7802 GB, free: 9.344 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.5085, allocations: 26.56 kB / 0.7802 GB, free: 9.309 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.5086, allocations: 37.33 kB / 0.7802 GB, free: 9.262 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5086, allocations: 4 kB / 0.7802 GB, free: 9.258 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.868e-05/0.5086, allocations: 41.64 kB / 0.7803 GB, free: 9.211 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5086, allocations: 11.98 kB / 0.7803 GB, free: 9.199 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5086, allocations: 0 / 0.7803 GB, free: 9.199 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5087, allocations: 0 / 0.7803 GB, free: 9.199 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.437e-05/0.5087, allocations: 8 kB / 0.7803 GB, free: 9.191 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5087, allocations: 3.938 kB / 0.7803 GB, free: 9.188 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.5087, allocations: 0 / 0.7803 GB, free: 9.188 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.5087, allocations: 4 kB / 0.7803 GB, free: 9.184 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.061e-05/0.5088, allocations: 120.7 kB / 0.7804 GB, free: 9.055 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.5088, allocations: 4 kB / 0.7804 GB, free: 9.051 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.5088, allocations: 7.297 kB / 0.7804 GB, free: 9.047 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5088, allocations: 0 / 0.7804 GB, free: 9.047 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.5088, allocations: 0 / 0.7804 GB, free: 9.047 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5088, allocations: 3.938 kB / 0.7804 GB, free: 9.043 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.509, allocations: 276.5 kB / 0.7807 GB, free: 8.742 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.509, allocations: 0 / 0.7807 GB, free: 8.742 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.509, allocations: 4 kB / 0.7807 GB, free: 8.738 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.509, allocations: 64 / 0.7807 GB, free: 8.738 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-06/0.5091, allocations: 8 kB / 0.7807 GB, free: 8.73 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5091, allocations: 0.6875 kB / 0.7807 GB, free: 8.73 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5091, allocations: 0 / 0.7807 GB, free: 8.73 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.07e-05/0.5091, allocations: 74.98 kB / 0.7808 GB, free: 8.637 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.5091, allocations: 3.953 kB / 0.7808 GB, free: 8.633 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.5091, allocations: 0 / 0.7808 GB, free: 8.633 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.852e-05/0.5092, allocations: 8.797 kB / 0.7808 GB, free: 8.625 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.5092, allocations: 4 kB / 0.7808 GB, free: 8.621 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.5092, allocations: 0 / 0.7808 GB, free: 8.621 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.225e-05/0.5092, allocations: 8.859 kB / 0.7808 GB, free: 8.609 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5e-08/0.5092, allocations: 4.031 kB / 0.7808 GB, free: 8.605 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001058/0.5093, allocations: 11.94 kB / 0.7808 GB, free: 8.594 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.000113/0.5094, allocations: 80.36 kB / 0.7809 GB, free: 8.504 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 6.314e-05/0.5095, allocations: 21.81 kB / 0.7809 GB, free: 8.48 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5095, allocations: 0 / 0.7809 GB, free: 8.48 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.5095, allocations: 17.03 kB / 0.7809 GB, free: 8.461 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.5096, allocations: 16.8 kB / 0.781 GB, free: 8.445 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.51, allocations: 123.5 kB / 0.7811 GB, free: 8.301 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.5101, allocations: 59.34 kB / 0.7811 GB, free: 8.223 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.5101, allocations: 8.984 kB / 0.7811 GB, free: 8.215 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.5102, allocations: 59.36 kB / 0.7812 GB, free: 8.16 MB / 0.6824 GB Notification: Performance of SimCode: time 7.41e-07/0.5102, allocations: 0 / 0.7812 GB, free: 8.16 MB / 0.6824 GB Notification: Performance of Templates: time 0.00252/0.5127, allocations: 0.7775 MB / 0.782 GB, free: 7.434 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.255110116209835]