Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.AirProperties.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.05737/0.05737, allocations: 9.128 MB / 28.99 MB, free: 344 kB / 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.0007909/0.0007909, allocations: 91.27 kB / 35.33 MB, free: 0.9375 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.001006/0.001006, allocations: 169.9 kB / 38.73 MB, free: 2.402 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.012/1.012, 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.004419/0.004419, allocations: 0.8257 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.833/1.833, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.AirProperties") translateModel(AixLib.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.AirProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.704e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirProperties): time 0.5828/0.5828, allocations: 144.4 MB / 0.779 GB, free: 10.72 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.003519/0.5863, allocations: 3.811 MB / 0.7827 GB, free: 6.918 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.5865, allocations: 0 / 0.7827 GB, free: 6.918 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.5868, allocations: 67.58 kB / 0.7828 GB, free: 6.852 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.5871, allocations: 155 kB / 0.7829 GB, free: 6.699 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.5896, allocations: 1.132 MB / 0.784 GB, free: 5.562 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.000409/0.59, allocations: 343.5 kB / 0.7843 GB, free: 5.227 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.59, allocations: 14.45 kB / 0.7844 GB, free: 5.215 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.5906, allocations: 259.1 kB / 0.7846 GB, free: 4.961 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.5908, allocations: 115.7 kB / 0.7847 GB, free: 4.848 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.5908, allocations: 8 kB / 0.7847 GB, free: 4.84 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.5929, allocations: 1.086 MB / 0.7858 GB, free: 3.75 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.593, allocations: 79.78 kB / 0.7859 GB, free: 3.672 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.593, allocations: 79.83 kB / 0.7859 GB, free: 3.594 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.5941, allocations: 0.6465 MB / 0.7866 GB, free: 2.945 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5941, allocations: 0 / 0.7866 GB, free: 2.945 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5941, allocations: 0 / 0.7866 GB, free: 2.945 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5941, allocations: 4 kB / 0.7866 GB, free: 2.941 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001036/0.5952, allocations: 0.4937 MB / 0.787 GB, free: 2.43 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.5952, allocations: 15.97 kB / 0.7871 GB, free: 2.414 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009379/0.5962, allocations: 236.2 kB / 0.7873 GB, free: 2.184 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.5964, allocations: 157.5 kB / 0.7874 GB, free: 2.004 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.5964, allocations: 12.75 kB / 0.7875 GB, free: 1.992 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.5965, allocations: 19.94 kB / 0.7875 GB, free: 1.973 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.5969, allocations: 491 kB / 0.7879 GB, free: 1.414 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5969, allocations: 0 / 0.7879 GB, free: 1.414 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.5969, allocations: 11.98 kB / 0.788 GB, free: 1.402 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.5969, allocations: 12 kB / 0.788 GB, free: 1.391 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.5974, allocations: 153.1 kB / 0.7881 GB, free: 1.242 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/0.5983, allocations: 0.7773 MB / 0.7889 GB, free: 444 kB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.5985, allocations: 148.5 kB / 0.789 GB, free: 284 kB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.5986, allocations: 40.83 kB / 0.789 GB, free: 240 kB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.5988, allocations: 71.95 kB / 0.7891 GB, free: 168 kB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5988, allocations: 36.59 kB / 0.7892 GB, free: 124 kB / 0.6824 GB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.5988, allocations: 0 / 0.7892 GB, free: 124 kB / 0.6824 GB Notification: Performance of matching and sorting (n=21): time 0.0003597/0.5992, allocations: 151.2 kB / 0.7893 GB, free: 15.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5992, allocations: 59.39 kB / 0.7894 GB, free: 15.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.5993, allocations: 152.2 kB / 0.7895 GB, free: 15.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.5993, allocations: 33.7 kB / 0.7895 GB, free: 15.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.5994, allocations: 156.1 kB / 0.7897 GB, free: 15.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.5994, allocations: 71.38 kB / 0.7897 GB, free: 15.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.5995, allocations: 53.67 kB / 0.7898 GB, free: 15.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.5996, allocations: 330.7 kB / 0.7901 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.5996, allocations: 31.03 kB / 0.7901 GB, free: 15.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.5997, allocations: 108.8 kB / 0.7902 GB, free: 14.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.5999, allocations: 178.7 kB / 0.7904 GB, free: 14.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5999, allocations: 4 kB / 0.7904 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002781/0.6002, allocations: 193.4 kB / 0.7906 GB, free: 14.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.6002, allocations: 4 kB / 0.7906 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6002, allocations: 4 kB / 0.7906 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.6002, allocations: 4.375 kB / 0.7906 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6004, allocations: 64.41 kB / 0.7907 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.6004, allocations: 4 kB / 0.7907 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/0.6005, allocations: 27.78 kB / 0.7907 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.6005, allocations: 8 kB / 0.7907 GB, free: 14.37 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.246e-05/0.6006, allocations: 128.5 kB / 0.7908 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.6007, allocations: 40.59 kB / 0.7909 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.6009, allocations: 157.2 kB / 0.791 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.6009, allocations: 4 kB / 0.791 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6009, allocations: 0.9375 kB / 0.791 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6009, allocations: 0 / 0.791 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.6014, allocations: 395.1 kB / 0.7914 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6014, allocations: 0 / 0.7914 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.6015, allocations: 27.94 kB / 0.7914 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6015, allocations: 0 / 0.7914 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.6015, allocations: 13.36 kB / 0.7914 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6015, allocations: 0 / 0.7914 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6015, allocations: 0 / 0.7914 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.6018, allocations: 312.1 kB / 0.7917 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.6019, allocations: 27.83 kB / 0.7918 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.6019, allocations: 12.06 kB / 0.7918 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.602, allocations: 11.98 kB / 0.7918 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.602, allocations: 7.984 kB / 0.7918 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.602, allocations: 15.98 kB / 0.7918 GB, free: 13.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.6021, allocations: 35.02 kB / 0.7919 GB, free: 13.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.6021, allocations: 0 / 0.7919 GB, free: 13.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000362/0.6024, allocations: 135.7 kB / 0.792 GB, free: 13 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003649/0.6028, allocations: 201.9 kB / 0.7922 GB, free: 12.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.603, allocations: 114.7 kB / 0.7923 GB, free: 12.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.603, allocations: 8 kB / 0.7923 GB, free: 12.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.626e-05/0.6031, allocations: 49.66 kB / 0.7923 GB, free: 12.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.6034, allocations: 89.69 kB / 0.7924 GB, free: 12.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008189/0.6042, allocations: 437.8 kB / 0.7928 GB, free: 12.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.644e-05/0.6043, allocations: 80.83 kB / 0.7929 GB, free: 12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.6045, allocations: 46.61 kB / 0.793 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.6047, allocations: 143.2 kB / 0.7931 GB, free: 11.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/0.6047, allocations: 0 / 0.7931 GB, free: 11.82 MB / 0.698 GB Notification: Performance of Templates: time 0.008529/0.6132, allocations: 5.82 MB / 0.7988 GB, free: 6.297 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Media.Examples.AirProperties.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.AirProperties.pipe ; mkfifo AixLib_AixLib.Media.Examples.AirProperties.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.AirProperties.pipe >> ../files/AixLib_AixLib.Media.Examples.AirProperties.sim & ./AixLib_AixLib.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.439928632229567]