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.04218/0.04218, allocations: 9.131 MB / 28.99 MB, free: 0.8242 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.0009059/0.0009059, allocations: 99.08 kB / 35.33 MB, free: 1.078 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.001102/0.001102, allocations: 166.1 kB / 38.73 MB, free: 2.52 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.9708/0.9708, allocations: 177.1 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.004115/0.004115, allocations: 0.8337 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.75/1.75, allocations: 274.9 MB / 0.5419 GB, free: 0.6523 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.182e-06/1.182e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.686e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.Velocity): time 0.4263/0.4263, allocations: 146 MB / 0.7805 GB, free: 9.125 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.4282, allocations: 1.309 MB / 0.7818 GB, free: 7.828 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.4285, allocations: 19.81 kB / 0.7818 GB, free: 7.809 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.4288, allocations: 79.28 kB / 0.7819 GB, free: 7.73 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0007693/0.4295, allocations: 401.7 kB / 0.7823 GB, free: 7.336 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.4304, allocations: 450.7 kB / 0.7827 GB, free: 6.895 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0006301/0.431, allocations: 0.7136 MB / 0.7834 GB, free: 6.18 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.4313, allocations: 183.4 kB / 0.7836 GB, free: 6.004 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005001/0.4318, allocations: 382.9 kB / 0.7839 GB, free: 5.629 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.432, allocations: 191.4 kB / 0.7841 GB, free: 5.441 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.432, allocations: 24 kB / 0.7842 GB, free: 5.418 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.4325, allocations: 319.1 kB / 0.7845 GB, free: 5.105 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.4326, allocations: 111.6 kB / 0.7846 GB, free: 4.996 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 9.559e-05/0.4327, allocations: 119.8 kB / 0.7847 GB, free: 4.879 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.4332, allocations: 442.5 kB / 0.7851 GB, free: 4.445 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4332, allocations: 0 / 0.7851 GB, free: 4.445 MB / 0.6824 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4332, allocations: 0 / 0.7851 GB, free: 4.445 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.4332, allocations: 0 / 0.7851 GB, free: 4.445 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.0005713/0.4338, allocations: 0.5327 MB / 0.7856 GB, free: 3.895 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4338, allocations: 19.92 kB / 0.7856 GB, free: 3.875 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007277/0.4346, allocations: 217.5 kB / 0.7858 GB, free: 3.664 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.4349, allocations: 245.1 kB / 0.7861 GB, free: 3.402 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4349, allocations: 20.5 kB / 0.7861 GB, free: 3.383 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.4349, allocations: 27.94 kB / 0.7861 GB, free: 3.355 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.4353, allocations: 220.5 kB / 0.7863 GB, free: 3.117 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4353, allocations: 3.984 kB / 0.7863 GB, free: 3.113 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.4354, allocations: 8 kB / 0.7863 GB, free: 3.105 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.4354, allocations: 8 kB / 0.7864 GB, free: 3.098 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.4355, allocations: 78.53 kB / 0.7864 GB, free: 3.02 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.0007061/0.4362, allocations: 0.7876 MB / 0.7872 GB, free: 2.203 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.4363, allocations: 127.2 kB / 0.7873 GB, free: 2.07 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.4363, allocations: 40.11 kB / 0.7874 GB, free: 2.027 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.4365, allocations: 49.2 kB / 0.7874 GB, free: 1.98 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4365, allocations: 34.56 kB / 0.7874 GB, free: 1.938 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.4365, allocations: 4 kB / 0.7874 GB, free: 1.934 MB / 0.6824 GB Notification: Performance of matching and sorting (n=17): time 0.0002617/0.4368, allocations: 123 kB / 0.7876 GB, free: 1.809 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.4368, allocations: 52.5 kB / 0.7876 GB, free: 1.746 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.4369, allocations: 246.9 kB / 0.7878 GB, free: 1.492 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.437, allocations: 29.7 kB / 0.7879 GB, free: 1.457 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.437, allocations: 164.7 kB / 0.788 GB, free: 1.289 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.4371, allocations: 63.47 kB / 0.7881 GB, free: 1.227 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.4371, allocations: 41.69 kB / 0.7881 GB, free: 1.18 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.4372, allocations: 338.8 kB / 0.7885 GB, free: 0.8398 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.4372, allocations: 30.75 kB / 0.7885 GB, free: 0.8086 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.4373, allocations: 143 kB / 0.7886 GB, free: 0.6328 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.418e-05/0.4374, allocations: 104.2 kB / 0.7887 GB, free: 0.5117 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4374, allocations: 0 / 0.7887 GB, free: 0.5117 MB / 0.6824 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001459/0.4375, allocations: 135 kB / 0.7888 GB, free: 380 kB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.4376, allocations: 4 kB / 0.7888 GB, free: 376 kB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4376, allocations: 4 kB / 0.7889 GB, free: 372 kB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4376, allocations: 8.094 kB / 0.7889 GB, free: 364 kB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4377, allocations: 48.59 kB / 0.7889 GB, free: 316 kB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4377, allocations: 4.547 kB / 0.7889 GB, free: 312 kB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/0.4378, allocations: 23.84 kB / 0.7889 GB, free: 288 kB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.4378, allocations: 4 kB / 0.7889 GB, free: 284 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 7.059e-05/0.4379, allocations: 128.6 kB / 0.7891 GB, free: 144 kB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.4379, allocations: 20.67 kB / 0.7891 GB, free: 124 kB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.438, allocations: 129 kB / 0.7892 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.438, allocations: 0 / 0.7892 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.438, allocations: 0.875 kB / 0.7892 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.438, allocations: 4 kB / 0.7892 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.4385, allocations: 0.5037 MB / 0.7897 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4385, allocations: 0 / 0.7897 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.4386, allocations: 39.91 kB / 0.7897 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4386, allocations: 5.172 kB / 0.7897 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4386, allocations: 5.031 kB / 0.7897 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4386, allocations: 8 kB / 0.7898 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.4386, allocations: 4 kB / 0.7898 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.4388, allocations: 321.5 kB / 0.7901 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.4388, allocations: 27.84 kB / 0.7901 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.4389, allocations: 8 kB / 0.7901 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.4389, allocations: 4.5 kB / 0.7901 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.439, allocations: 23.84 kB / 0.7901 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.439, allocations: 4 kB / 0.7901 GB, free: 14.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.715e-05/0.439, allocations: 88.62 kB / 0.7902 GB, free: 14.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.439, allocations: 4.031 kB / 0.7902 GB, free: 14.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002298/0.4393, allocations: 95.78 kB / 0.7903 GB, free: 14.75 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.0001687/0.4394, allocations: 108.3 kB / 0.7904 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.4396, allocations: 91.11 kB / 0.7905 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4396, allocations: 4 kB / 0.7905 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.4396, allocations: 55.17 kB / 0.7906 GB, free: 14.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.44, allocations: 122.9 kB / 0.7907 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008578/0.4409, allocations: 0.5915 MB / 0.7913 GB, free: 13.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.201e-05/0.4409, allocations: 104.2 kB / 0.7914 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000107/0.441, allocations: 35.55 kB / 0.7914 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.4412, allocations: 125.3 kB / 0.7915 GB, free: 13.48 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/0.4412, allocations: 0 / 0.7915 GB, free: 13.48 MB / 0.698 GB Notification: Performance of Templates: time 0.007028/0.4483, allocations: 5.057 MB / 0.7964 GB, free: 8.703 MB / 0.698 GB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.997686906717718]