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.04573/0.04573, allocations: 9.129 MB / 28.99 MB, free: 0.8086 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.0008376/0.0008376, allocations: 90.66 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.001072/0.001072, allocations: 163.6 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 0.9775/0.9775, allocations: 177.1 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.004007/0.004007, allocations: 0.8292 MB / 276.5 MB, free: 0.7383 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.663/1.663, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.342e-06/1.342e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.732e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.AirProperties): time 0.499/0.499, allocations: 144.4 MB / 0.7789 GB, free: 10.81 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.003696/0.5027, allocations: 3.821 MB / 0.7826 GB, free: 7 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.5028, allocations: 0 / 0.7826 GB, free: 7 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.5032, allocations: 63.66 kB / 0.7827 GB, free: 6.938 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.5035, allocations: 147 kB / 0.7828 GB, free: 6.793 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.5057, allocations: 1.164 MB / 0.7839 GB, free: 5.625 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.506, allocations: 343.5 kB / 0.7843 GB, free: 5.289 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.5061, allocations: 10.47 kB / 0.7843 GB, free: 5.281 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.5065, allocations: 271 kB / 0.7845 GB, free: 5.016 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.5067, allocations: 107.7 kB / 0.7846 GB, free: 4.91 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.5067, allocations: 8 kB / 0.7847 GB, free: 4.902 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.5082, allocations: 1.063 MB / 0.7857 GB, free: 3.836 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.5083, allocations: 75.78 kB / 0.7858 GB, free: 3.762 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.5084, allocations: 87.81 kB / 0.7858 GB, free: 3.676 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0009113/0.5093, allocations: 0.6387 MB / 0.7865 GB, free: 3.035 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5093, allocations: 4 kB / 0.7865 GB, free: 3.031 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5093, allocations: 0 / 0.7865 GB, free: 3.031 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.5093, allocations: 0 / 0.7865 GB, free: 3.031 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.0007895/0.5101, allocations: 0.4937 MB / 0.787 GB, free: 2.52 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.5101, allocations: 15.98 kB / 0.787 GB, free: 2.504 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/0.5108, allocations: 236.2 kB / 0.7872 GB, free: 2.273 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.511, allocations: 161.5 kB / 0.7874 GB, free: 2.09 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.511, allocations: 12.75 kB / 0.7874 GB, free: 2.078 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.5111, allocations: 23.94 kB / 0.7874 GB, free: 2.055 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.5114, allocations: 483 kB / 0.7878 GB, free: 1.504 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5114, allocations: 4 kB / 0.7878 GB, free: 1.5 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.5115, allocations: 8 kB / 0.7879 GB, free: 1.492 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.5115, allocations: 15.98 kB / 0.7879 GB, free: 1.477 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.5117, allocations: 149.1 kB / 0.788 GB, free: 1.332 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.5125, allocations: 0.769 MB / 0.7888 GB, free: 0.5312 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.5127, allocations: 154.8 kB / 0.7889 GB, free: 376 kB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.5128, allocations: 40.83 kB / 0.789 GB, free: 332 kB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.513, allocations: 79.3 kB / 0.789 GB, free: 256 kB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.513, allocations: 36.59 kB / 0.7891 GB, free: 212 kB / 0.6824 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.513, allocations: 3.938 kB / 0.7891 GB, free: 208 kB / 0.6824 GB Notification: Performance of matching and sorting (n=21): time 0.0003043/0.5133, allocations: 142.4 kB / 0.7892 GB, free: 60 kB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003121/0.5136, allocations: 59.34 kB / 0.7893 GB, free: 15.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.5137, allocations: 161.3 kB / 0.7894 GB, free: 15.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5137, allocations: 29.7 kB / 0.7894 GB, free: 15.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.5138, allocations: 156.1 kB / 0.7896 GB, free: 15.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.5138, allocations: 79.36 kB / 0.7897 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.5139, allocations: 49.69 kB / 0.7897 GB, free: 15.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.514, allocations: 326.7 kB / 0.79 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.514, allocations: 27.09 kB / 0.7901 GB, free: 15.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.5141, allocations: 112.7 kB / 0.7902 GB, free: 14.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.5142, allocations: 174.6 kB / 0.7903 GB, free: 14.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5142, allocations: 0 / 0.7903 GB, free: 14.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002175/0.5144, allocations: 198 kB / 0.7905 GB, free: 14.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5144, allocations: 11.98 kB / 0.7905 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5144, allocations: 0.7031 kB / 0.7905 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5145, allocations: 8 kB / 0.7905 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.5146, allocations: 51.92 kB / 0.7906 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5146, allocations: 4 kB / 0.7906 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.5147, allocations: 27.78 kB / 0.7906 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.5147, allocations: 8 kB / 0.7906 GB, free: 14.46 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 7.942e-05/0.5148, allocations: 132.5 kB / 0.7907 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.5148, allocations: 35.98 kB / 0.7908 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.515, allocations: 157.4 kB / 0.7909 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.515, allocations: 0.5 kB / 0.7909 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.515, allocations: 4 kB / 0.7909 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.515, allocations: 0 / 0.7909 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.5154, allocations: 389.7 kB / 0.7913 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5154, allocations: 4.625 kB / 0.7913 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.5154, allocations: 27.92 kB / 0.7913 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5154, allocations: 0 / 0.7913 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.5154, allocations: 8 kB / 0.7913 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5154, allocations: 5.125 kB / 0.7914 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5154, allocations: 4 kB / 0.7914 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.5157, allocations: 307.6 kB / 0.7916 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.5157, allocations: 27.83 kB / 0.7917 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.5158, allocations: 7.984 kB / 0.7917 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.5158, allocations: 4 kB / 0.7917 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.5159, allocations: 19.92 kB / 0.7917 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.5159, allocations: 11.98 kB / 0.7917 GB, free: 13.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.665e-05/0.5159, allocations: 38.08 kB / 0.7918 GB, free: 13.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.5159, allocations: 4 kB / 0.7918 GB, free: 13.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002985/0.5162, allocations: 135.7 kB / 0.7919 GB, free: 13.09 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.0002912/0.5165, allocations: 201.2 kB / 0.7921 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.5167, allocations: 113.8 kB / 0.7922 GB, free: 12.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5167, allocations: 0.5 kB / 0.7922 GB, free: 12.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.5167, allocations: 61.78 kB / 0.7922 GB, free: 12.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.517, allocations: 86.88 kB / 0.7923 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.5177, allocations: 427.5 kB / 0.7927 GB, free: 12.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.423e-05/0.5178, allocations: 88.81 kB / 0.7928 GB, free: 12.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001286/0.5179, allocations: 43.55 kB / 0.7929 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.5181, allocations: 143.2 kB / 0.793 GB, free: 11.92 MB / 0.698 GB Notification: Performance of SimCode: time 6.72e-07/0.5181, allocations: 0 / 0.793 GB, free: 11.92 MB / 0.698 GB Notification: Performance of Templates: time 0.007337/0.5254, allocations: 5.827 MB / 0.7987 GB, free: 6.391 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 -lv LOG_STATS > AixLib_AixLib.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.221039736643434]