Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.03988/0.03988, allocations: 9.13 MB / 28.99 MB, free: 0.8125 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.000838/0.000838, allocations: 87.28 kB / 35.33 MB, free: 1.074 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.001013/0.001013, allocations: 166.7 kB / 38.73 MB, free: 2.508 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.011/1.011, 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.006618/0.006618, allocations: 0.8324 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.745/1.745, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.187e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001624/0.001645, allocations: 1.325 MB / 0.6391 GB, free: 12.83 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.5195/0.5211, allocations: 142.2 MB / 0.778 GB, free: 11.69 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.5212, allocations: 0 / 0.778 GB, free: 11.69 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.5212, allocations: 3.938 kB / 0.778 GB, free: 11.68 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.5213, allocations: 7.969 kB / 0.778 GB, free: 11.68 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.5218, allocations: 102 kB / 0.7781 GB, free: 11.58 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.5218, allocations: 31.86 kB / 0.7781 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.5219, allocations: 4 kB / 0.7781 GB, free: 11.55 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 7.634e-05/0.522, allocations: 23.95 kB / 0.7782 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.522, allocations: 15.94 kB / 0.7782 GB, free: 11.51 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.5221, allocations: 0 / 0.7782 GB, free: 11.51 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.5223, allocations: 78.48 kB / 0.7782 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.5223, allocations: 7.984 kB / 0.7782 GB, free: 11.43 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.5223, allocations: 15.98 kB / 0.7783 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.5225, allocations: 75.73 kB / 0.7783 GB, free: 11.34 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5225, allocations: 3.938 kB / 0.7783 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5225, allocations: 0 / 0.7783 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.5225, allocations: 0 / 0.7783 GB, free: 11.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003445/0.5229, allocations: 247.6 kB / 0.7786 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5229, allocations: 15.97 kB / 0.7786 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.5231, allocations: 32.78 kB / 0.7786 GB, free: 11.02 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.666e-05/0.5232, allocations: 105.8 kB / 0.7787 GB, free: 10.89 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5232, allocations: 4.375 kB / 0.7787 GB, free: 10.89 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.5232, allocations: 11.94 kB / 0.7787 GB, free: 10.88 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.5233, allocations: 118.8 kB / 0.7789 GB, free: 10.74 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5233, allocations: 0 / 0.7789 GB, free: 10.74 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5233, allocations: 8 kB / 0.7789 GB, free: 10.73 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.5233, allocations: 1.031 kB / 0.7789 GB, free: 10.73 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.5234, allocations: 15.92 kB / 0.7789 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.5235, allocations: 64.31 kB / 0.7789 GB, free: 10.64 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 6.47e-05/0.5235, allocations: 42.62 kB / 0.779 GB, free: 10.59 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.5236, allocations: 8.859 kB / 0.779 GB, free: 10.58 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.5236, allocations: 7.938 kB / 0.779 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.5236, allocations: 34.56 kB / 0.779 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.5236, allocations: 0 / 0.779 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.00102/0.5246, allocations: 325.7 kB / 0.7793 GB, free: 10.18 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.5247, allocations: 51.41 kB / 0.7794 GB, free: 10.11 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.5247, allocations: 98.72 kB / 0.7795 GB, free: 10 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.5247, allocations: 25.7 kB / 0.7795 GB, free: 9.973 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 2.188e-05/0.5247, allocations: 80.14 kB / 0.7796 GB, free: 9.891 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.5248, allocations: 43.62 kB / 0.7796 GB, free: 9.848 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.5248, allocations: 29.7 kB / 0.7797 GB, free: 9.812 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.5249, allocations: 318.8 kB / 0.78 GB, free: 9.492 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.5249, allocations: 8.125 kB / 0.78 GB, free: 9.484 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.891e-05/0.525, allocations: 33.69 kB / 0.78 GB, free: 9.445 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.525, allocations: 46.31 kB / 0.78 GB, free: 9.395 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.525, allocations: 0 / 0.78 GB, free: 9.395 MB / 0.6824 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.076e-05/0.5251, allocations: 66.89 kB / 0.7801 GB, free: 9.324 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5251, allocations: 11.98 kB / 0.7801 GB, free: 9.312 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5251, allocations: 0 / 0.7801 GB, free: 9.312 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5251, allocations: 0 / 0.7801 GB, free: 9.312 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.5252, allocations: 27.94 kB / 0.7801 GB, free: 9.285 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.5252, allocations: 0 / 0.7801 GB, free: 9.285 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.5252, allocations: 0 / 0.7801 GB, free: 9.285 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.5252, allocations: 4 kB / 0.7801 GB, free: 9.281 MB / 0.6824 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 (14): * Single equations (assignments): 14 * 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.908e-05/0.5253, allocations: 129.8 kB / 0.7803 GB, free: 9.145 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.5253, allocations: 11.94 kB / 0.7803 GB, free: 9.133 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.5253, allocations: 10.83 kB / 0.7803 GB, free: 9.125 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5253, allocations: 0 / 0.7803 GB, free: 9.125 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5254, allocations: 4.5 kB / 0.7803 GB, free: 9.121 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5254, allocations: 0 / 0.7803 GB, free: 9.121 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.067e-05/0.5254, allocations: 79.64 kB / 0.7804 GB, free: 9.027 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5254, allocations: 0 / 0.7804 GB, free: 9.027 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/0.5255, allocations: 24.92 kB / 0.7804 GB, free: 9.004 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5255, allocations: 0 / 0.7804 GB, free: 9.004 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.5255, allocations: 7.938 kB / 0.7804 GB, free: 8.996 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.5255, allocations: 0 / 0.7804 GB, free: 8.996 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5255, allocations: 4.703 kB / 0.7804 GB, free: 8.992 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.5257, allocations: 105 kB / 0.7805 GB, free: 8.871 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.5257, allocations: 11.89 kB / 0.7805 GB, free: 8.859 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.5257, allocations: 8.938 kB / 0.7805 GB, free: 8.852 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.5257, allocations: 3.984 kB / 0.7805 GB, free: 8.848 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.5258, allocations: 4 kB / 0.7805 GB, free: 8.844 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.5258, allocations: 7.984 kB / 0.7805 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.691e-05/0.5258, allocations: 12.86 kB / 0.7806 GB, free: 8.82 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4e-08/0.5258, allocations: 0 / 0.7806 GB, free: 8.82 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001175/0.5259, allocations: 12 kB / 0.7806 GB, free: 8.809 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001098/0.526, allocations: 80.92 kB / 0.7806 GB, free: 8.723 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 9.376e-05/0.5261, allocations: 48.77 kB / 0.7807 GB, free: 8.672 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5261, allocations: 0 / 0.7807 GB, free: 8.672 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 2.938e-05/0.5261, allocations: 32.78 kB / 0.7807 GB, free: 8.637 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.5263, allocations: 22.28 kB / 0.7807 GB, free: 8.617 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.5269, allocations: 221.4 kB / 0.781 GB, free: 8.387 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.5269, allocations: 63.34 kB / 0.781 GB, free: 8.305 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.983e-05/0.5269, allocations: 13.23 kB / 0.781 GB, free: 8.293 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.527, allocations: 71.36 kB / 0.7811 GB, free: 8.227 MB / 0.6824 GB Notification: Performance of SimCode: time 1.082e-06/0.527, allocations: 0 / 0.7811 GB, free: 8.227 MB / 0.6824 GB Notification: Performance of Templates: time 0.002785/0.5298, allocations: 0.9391 MB / 0.782 GB, free: 7.355 MB / 0.6824 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.947384930215776]