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.04815/0.04815, allocations: 9.13 MB / 28.99 MB, free: 6.105 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.001012/0.001012, allocations: 94.64 kB / 35.33 MB, free: 0.7617 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.001328/0.001328, allocations: 160.2 kB / 38.73 MB, free: 2.125 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.06/1.06, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.004221/0.004221, allocations: 0.8262 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.832/1.832, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.393e-06/1.393e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.34e-05, allocations: 10.25 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002432/0.002465, allocations: 1.368 MB / 0.6392 GB, free: 12.74 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.5875/0.59, allocations: 142.2 MB / 0.7781 GB, free: 11.58 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.138e-05/0.59, allocations: 0 / 0.7781 GB, free: 11.58 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.5901, allocations: 3.938 kB / 0.7781 GB, free: 11.58 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.5901, allocations: 3.938 kB / 0.7781 GB, free: 11.57 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.5906, allocations: 99.16 kB / 0.7782 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.5907, allocations: 35.89 kB / 0.7782 GB, free: 11.45 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.5908, allocations: 3.938 kB / 0.7782 GB, free: 11.44 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.5909, allocations: 19.98 kB / 0.7782 GB, free: 11.42 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.5909, allocations: 11.97 kB / 0.7783 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.591, allocations: 4 kB / 0.7783 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.5913, allocations: 80.03 kB / 0.7783 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.5913, allocations: 7.938 kB / 0.7783 GB, free: 11.32 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.5913, allocations: 11.98 kB / 0.7784 GB, free: 11.31 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.5915, allocations: 75.75 kB / 0.7784 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5915, allocations: 0 / 0.7784 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.096e-06/0.5915, allocations: 0 / 0.7784 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.5915, allocations: 0 / 0.7784 GB, free: 11.24 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.000409/0.592, allocations: 263.5 kB / 0.7787 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.592, allocations: 11.98 kB / 0.7787 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.5922, allocations: 24.8 kB / 0.7787 GB, free: 10.93 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.449e-05/0.5923, allocations: 101.8 kB / 0.7788 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.5923, allocations: 4.375 kB / 0.7788 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.5924, allocations: 19.92 kB / 0.7788 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.5925, allocations: 122.8 kB / 0.7789 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5925, allocations: 0 / 0.7789 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5926, allocations: 3.984 kB / 0.779 GB, free: 10.63 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.5926, allocations: 7.938 kB / 0.779 GB, free: 10.62 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.5926, allocations: 4 kB / 0.779 GB, free: 10.62 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.5927, allocations: 72.3 kB / 0.779 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 8.543e-05/0.5928, allocations: 38.64 kB / 0.7791 GB, free: 10.49 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.5929, allocations: 18.59 kB / 0.7791 GB, free: 10.47 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.5929, allocations: 4 kB / 0.7791 GB, free: 10.46 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.5929, allocations: 30.56 kB / 0.7791 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.5929, allocations: 4 kB / 0.7791 GB, free: 10.42 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11): time 0.0007784/0.5937, allocations: 316.9 kB / 0.7794 GB, free: 10.08 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.5937, allocations: 51.41 kB / 0.7795 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.5938, allocations: 102.7 kB / 0.7796 GB, free: 9.902 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.5938, allocations: 33.7 kB / 0.7796 GB, free: 9.863 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.5938, allocations: 80.14 kB / 0.7797 GB, free: 9.781 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.5939, allocations: 39.64 kB / 0.7797 GB, free: 9.742 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.5939, allocations: 25.7 kB / 0.7797 GB, free: 9.711 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.594, allocations: 318.8 kB / 0.78 GB, free: 9.391 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.594, allocations: 11.98 kB / 0.7801 GB, free: 9.379 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/0.594, allocations: 21.83 kB / 0.7801 GB, free: 9.352 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.055e-05/0.5941, allocations: 54.86 kB / 0.7801 GB, free: 9.293 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5941, allocations: 0 / 0.7801 GB, free: 9.293 MB / 0.6824 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.992e-05/0.5942, allocations: 74.33 kB / 0.7802 GB, free: 9.215 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.5942, allocations: 8 kB / 0.7802 GB, free: 9.207 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5942, allocations: 0 / 0.7802 GB, free: 9.207 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5942, allocations: 0 / 0.7802 GB, free: 9.207 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.5943, allocations: 23.98 kB / 0.7802 GB, free: 9.184 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5943, allocations: 0.7031 kB / 0.7802 GB, free: 9.184 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.5943, allocations: 4.5 kB / 0.7802 GB, free: 9.18 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5944, allocations: 4 kB / 0.7802 GB, free: 9.176 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 7.451e-05/0.5944, allocations: 121.8 kB / 0.7804 GB, free: 9.047 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.5944, allocations: 11.92 kB / 0.7804 GB, free: 9.035 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.5945, allocations: 11.97 kB / 0.7804 GB, free: 9.023 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5945, allocations: 4 kB / 0.7804 GB, free: 9.02 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5945, allocations: 0.75 kB / 0.7804 GB, free: 9.02 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5945, allocations: 0 / 0.7804 GB, free: 9.02 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.952e-05/0.5946, allocations: 75.52 kB / 0.7805 GB, free: 8.93 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.5946, allocations: 4.656 kB / 0.7805 GB, free: 8.926 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.318e-05/0.5947, allocations: 19.98 kB / 0.7805 GB, free: 8.906 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5947, allocations: 0 / 0.7805 GB, free: 8.906 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5947, allocations: 16.44 kB / 0.7805 GB, free: 8.891 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5947, allocations: 0 / 0.7805 GB, free: 8.891 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5947, allocations: 0 / 0.7805 GB, free: 8.891 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.5948, allocations: 113.8 kB / 0.7806 GB, free: 8.762 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.5949, allocations: 7.953 kB / 0.7806 GB, free: 8.754 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.5949, allocations: 3.938 kB / 0.7806 GB, free: 8.75 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.5949, allocations: 5.781 kB / 0.7806 GB, free: 8.746 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.595, allocations: 7.984 kB / 0.7806 GB, free: 8.738 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.595, allocations: 4 kB / 0.7806 GB, free: 8.734 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 1.097e-05/0.595, allocations: 4.859 kB / 0.7806 GB, free: 8.727 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5e-08/0.595, allocations: 4.094 kB / 0.7806 GB, free: 8.723 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001103/0.5951, allocations: 20 kB / 0.7807 GB, free: 8.703 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.0001152/0.5952, allocations: 80.41 kB / 0.7807 GB, free: 8.617 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 9.672e-05/0.5953, allocations: 49.34 kB / 0.7808 GB, free: 8.566 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5953, allocations: 0 / 0.7808 GB, free: 8.566 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.5953, allocations: 24.8 kB / 0.7808 GB, free: 8.539 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.5955, allocations: 25.17 kB / 0.7808 GB, free: 8.516 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.5961, allocations: 227.8 kB / 0.7811 GB, free: 8.277 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.5961, allocations: 59.36 kB / 0.7811 GB, free: 8.199 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.5962, allocations: 13.38 kB / 0.7811 GB, free: 8.188 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.5963, allocations: 71.36 kB / 0.7812 GB, free: 8.121 MB / 0.6824 GB Notification: Performance of SimCode: time 1.132e-06/0.5963, allocations: 0 / 0.7812 GB, free: 8.121 MB / 0.6824 GB Notification: Performance of Templates: time 0.002977/0.5992, allocations: 0.9373 MB / 0.7821 GB, free: 7.254 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.319908134639263]