Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.Velocity.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.04028/0.04028, allocations: 9.131 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.0007933/0.0007933, allocations: 99.08 kB / 35.33 MB, free: 1.066 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.001042/0.001042, allocations: 163.7 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 0.994/0.994, 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.005183/0.005183, allocations: 0.8223 MB / 276.5 MB, free: 0.7422 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.747/1.747, 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.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.Velocity") translateModel(AixLib.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.594e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.Velocity): time 0.5886/0.5886, allocations: 146 MB / 0.7804 GB, free: 9.25 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.5912, allocations: 1.304 MB / 0.7817 GB, free: 7.957 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.5916, allocations: 15.88 kB / 0.7817 GB, free: 7.941 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.592, allocations: 87.22 kB / 0.7818 GB, free: 7.855 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.593, allocations: 405.7 kB / 0.7822 GB, free: 7.457 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.5941, allocations: 450.8 kB / 0.7826 GB, free: 7.016 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0009612/0.5951, allocations: 0.7136 MB / 0.7833 GB, free: 6.301 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.5955, allocations: 193.1 kB / 0.7835 GB, free: 6.117 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.5962, allocations: 386.9 kB / 0.7839 GB, free: 5.738 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.5964, allocations: 195.4 kB / 0.7841 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.5965, allocations: 24 kB / 0.7841 GB, free: 5.523 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006081/0.5971, allocations: 303.1 kB / 0.7844 GB, free: 5.227 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.5972, allocations: 115.6 kB / 0.7845 GB, free: 5.113 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.5974, allocations: 119.7 kB / 0.7846 GB, free: 4.996 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.5984, allocations: 450.5 kB / 0.785 GB, free: 4.555 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.5984, allocations: 0 / 0.785 GB, free: 4.555 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5984, allocations: 0 / 0.785 GB, free: 4.555 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5984, allocations: 0 / 0.785 GB, free: 4.555 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006193/0.599, allocations: 0.5288 MB / 0.7855 GB, free: 4.008 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.5991, allocations: 11.98 kB / 0.7856 GB, free: 3.996 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006582/0.5997, allocations: 220.4 kB / 0.7858 GB, free: 3.781 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.6, allocations: 257 kB / 0.786 GB, free: 3.508 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.6001, allocations: 20.5 kB / 0.786 GB, free: 3.488 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.6001, allocations: 24 kB / 0.7861 GB, free: 3.465 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.6003, allocations: 216.5 kB / 0.7863 GB, free: 3.23 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.6004, allocations: 0 / 0.7863 GB, free: 3.23 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.6004, allocations: 8 kB / 0.7863 GB, free: 3.223 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6004, allocations: 4 kB / 0.7863 GB, free: 3.219 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.6005, allocations: 81.91 kB / 0.7864 GB, free: 3.137 MB / 0.6824 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000828/0.6013, allocations: 0.789 MB / 0.7871 GB, free: 2.316 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.6015, allocations: 127.2 kB / 0.7872 GB, free: 2.184 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.6015, allocations: 35.67 kB / 0.7873 GB, free: 2.145 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.6017, allocations: 44.83 kB / 0.7873 GB, free: 2.102 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6017, allocations: 38.56 kB / 0.7874 GB, free: 2.055 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=17): time 2.775e-06/0.6017, allocations: 0 / 0.7874 GB, free: 2.055 MB / 0.6824 GB Notification: Performance of matching and sorting (n=17): time 0.0002907/0.602, allocations: 128.7 kB / 0.7875 GB, free: 1.926 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.602, allocations: 56.5 kB / 0.7875 GB, free: 1.859 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.6022, allocations: 242.9 kB / 0.7878 GB, free: 1.609 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.6022, allocations: 29.7 kB / 0.7878 GB, free: 1.574 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.6023, allocations: 164.7 kB / 0.788 GB, free: 1.406 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.6024, allocations: 63.45 kB / 0.788 GB, free: 1.344 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.6024, allocations: 45.69 kB / 0.7881 GB, free: 1.293 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.6025, allocations: 342.8 kB / 0.7884 GB, free: 0.9492 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.6025, allocations: 18.81 kB / 0.7884 GB, free: 0.9297 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.6026, allocations: 146.2 kB / 0.7885 GB, free: 0.75 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.6028, allocations: 108.6 kB / 0.7886 GB, free: 0.625 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6028, allocations: 0.5 kB / 0.7886 GB, free: 0.625 MB / 0.6824 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001449/0.6029, allocations: 135 kB / 0.7888 GB, free: 496 kB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.6029, allocations: 8.094 kB / 0.7888 GB, free: 488 kB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6029, allocations: 4 kB / 0.7888 GB, free: 484 kB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.6029, allocations: 4 kB / 0.7888 GB, free: 480 kB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.603, allocations: 41.56 kB / 0.7888 GB, free: 440 kB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.603, allocations: 4 kB / 0.7888 GB, free: 436 kB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.6031, allocations: 23.83 kB / 0.7889 GB, free: 412 kB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.6032, allocations: 15.94 kB / 0.7889 GB, free: 396 kB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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 8.642e-05/0.6032, allocations: 120.6 kB / 0.789 GB, free: 264 kB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.6033, allocations: 23.92 kB / 0.789 GB, free: 240 kB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.6034, allocations: 113.4 kB / 0.7891 GB, free: 116 kB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6035, allocations: 8 kB / 0.7891 GB, free: 108 kB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6035, allocations: 3.984 kB / 0.7891 GB, free: 104 kB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.6035, allocations: 0 / 0.7891 GB, free: 104 kB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.604, allocations: 0.5076 MB / 0.7896 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.604, allocations: 0.5 kB / 0.7896 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.6041, allocations: 35.92 kB / 0.7897 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6041, allocations: 9.016 kB / 0.7897 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.6041, allocations: 5.438 kB / 0.7897 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6041, allocations: 0 / 0.7897 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6041, allocations: 4.547 kB / 0.7897 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.6044, allocations: 329.1 kB / 0.79 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.6045, allocations: 23.86 kB / 0.79 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.6045, allocations: 8 kB / 0.79 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.6046, allocations: 7.984 kB / 0.79 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.6046, allocations: 23.86 kB / 0.79 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.6046, allocations: 8.031 kB / 0.7901 GB, free: 15.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.562e-05/0.6047, allocations: 88.62 kB / 0.7901 GB, free: 14.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6047, allocations: 0 / 0.7901 GB, free: 14.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002837/0.605, allocations: 95.78 kB / 0.7902 GB, free: 14.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.0002106/0.6052, allocations: 105.2 kB / 0.7903 GB, free: 14.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.6054, allocations: 104.7 kB / 0.7904 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.6054, allocations: 4 kB / 0.7904 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.6054, allocations: 40.77 kB / 0.7905 GB, free: 14.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.6058, allocations: 128.4 kB / 0.7906 GB, free: 14.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6068, allocations: 0.5893 MB / 0.7912 GB, free: 13.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.631e-05/0.6069, allocations: 96.3 kB / 0.7913 GB, free: 13.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.607, allocations: 41.39 kB / 0.7913 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.6072, allocations: 129.3 kB / 0.7914 GB, free: 13.6 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/0.6072, allocations: 0 / 0.7914 GB, free: 13.6 MB / 0.698 GB Notification: Performance of Templates: time 0.008442/0.6157, allocations: 5.055 MB / 0.7964 GB, free: 8.828 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.Velocity.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.Velocity.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.298717971891165]