Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.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.04119/0.04119, allocations: 9.129 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.0008565/0.0008565, allocations: 98.95 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.0009784/0.0009784, allocations: 170.6 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.9586/0.9586, 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.009987/0.009987, allocations: 0.8294 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.769/1.769, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(AixLib.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.831e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.VolumeFlowRate): time 0.571/0.571, allocations: 146 MB / 0.7804 GB, free: 9.254 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.5732, allocations: 1.3 MB / 0.7817 GB, free: 7.965 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.5734, allocations: 15.88 kB / 0.7817 GB, free: 7.949 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.5737, allocations: 83.27 kB / 0.7818 GB, free: 7.867 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0008081/0.5745, allocations: 397.8 kB / 0.7821 GB, free: 7.477 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.5754, allocations: 456.3 kB / 0.7826 GB, free: 7.031 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0006919/0.5761, allocations: 0.6932 MB / 0.7833 GB, free: 6.336 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.5764, allocations: 187.4 kB / 0.7834 GB, free: 6.156 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.5769, allocations: 367 kB / 0.7838 GB, free: 5.797 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.5771, allocations: 187.4 kB / 0.784 GB, free: 5.613 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.5771, allocations: 24 kB / 0.784 GB, free: 5.59 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.5775, allocations: 307.1 kB / 0.7843 GB, free: 5.289 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.5776, allocations: 107.6 kB / 0.7844 GB, free: 5.184 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 9.665e-05/0.5777, allocations: 111.8 kB / 0.7845 GB, free: 5.074 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.5782, allocations: 438.5 kB / 0.7849 GB, free: 4.645 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5782, allocations: 0 / 0.7849 GB, free: 4.645 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5782, allocations: 0 / 0.7849 GB, free: 4.645 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5782, allocations: 0 / 0.7849 GB, free: 4.645 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006538/0.5789, allocations: 0.5287 MB / 0.7854 GB, free: 4.098 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5789, allocations: 11.98 kB / 0.7854 GB, free: 4.086 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/0.5796, allocations: 216.2 kB / 0.7856 GB, free: 3.875 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.5798, allocations: 245.7 kB / 0.7859 GB, free: 3.613 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.5799, allocations: 16.88 kB / 0.7859 GB, free: 3.598 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.5799, allocations: 27.94 kB / 0.7859 GB, free: 3.57 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.5801, allocations: 215.8 kB / 0.7861 GB, free: 3.336 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5801, allocations: 0 / 0.7861 GB, free: 3.336 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5801, allocations: 8.797 kB / 0.7861 GB, free: 3.328 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5802, allocations: 4 kB / 0.7861 GB, free: 3.324 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.5802, allocations: 69.11 kB / 0.7862 GB, free: 3.254 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.0007068/0.5809, allocations: 0.782 MB / 0.787 GB, free: 2.445 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.5811, allocations: 113.9 kB / 0.7871 GB, free: 2.324 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.5811, allocations: 31.67 kB / 0.7871 GB, free: 2.289 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.5813, allocations: 55.95 kB / 0.7872 GB, free: 2.234 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.5813, allocations: 34.5 kB / 0.7872 GB, free: 2.191 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=15): time 1.022e-06/0.5813, allocations: 0 / 0.7872 GB, free: 2.191 MB / 0.6824 GB Notification: Performance of matching and sorting (n=15): time 0.0002516/0.5815, allocations: 123.2 kB / 0.7873 GB, free: 2.066 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.5816, allocations: 55.41 kB / 0.7874 GB, free: 2 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.5817, allocations: 240.9 kB / 0.7876 GB, free: 1.754 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.5817, allocations: 29.7 kB / 0.7876 GB, free: 1.719 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.5818, allocations: 164.6 kB / 0.7878 GB, free: 1.551 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.5818, allocations: 55.52 kB / 0.7878 GB, free: 1.496 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.5819, allocations: 53.64 kB / 0.7879 GB, free: 1.438 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.582, allocations: 334.8 kB / 0.7882 GB, free: 1.102 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.582, allocations: 18.83 kB / 0.7882 GB, free: 1.082 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.639e-05/0.5821, allocations: 148.5 kB / 0.7884 GB, free: 0.9023 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.144e-05/0.5822, allocations: 103 kB / 0.7885 GB, free: 0.7812 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5822, allocations: 4 kB / 0.7885 GB, free: 0.7773 MB / 0.6824 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001312/0.5823, allocations: 123.4 kB / 0.7886 GB, free: 0.6523 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.5823, allocations: 8.094 kB / 0.7886 GB, free: 0.6445 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5823, allocations: 1.391 kB / 0.7886 GB, free: 0.6445 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5823, allocations: 4 kB / 0.7886 GB, free: 0.6406 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.5824, allocations: 43.91 kB / 0.7886 GB, free: 0.5977 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.5824, allocations: 0 / 0.7886 GB, free: 0.5977 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.28e-05/0.5825, allocations: 19.89 kB / 0.7886 GB, free: 0.5781 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.5825, allocations: 8.812 kB / 0.7887 GB, free: 0.5703 MB / 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 (22): * Single equations (assignments): 22 * 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.734e-05/0.5826, allocations: 124.5 kB / 0.7888 GB, free: 448 kB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.5826, allocations: 19.97 kB / 0.7888 GB, free: 428 kB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.5828, allocations: 110.3 kB / 0.7889 GB, free: 316 kB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5828, allocations: 7.984 kB / 0.7889 GB, free: 308 kB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.5828, allocations: 0 / 0.7889 GB, free: 308 kB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5828, allocations: 0 / 0.7889 GB, free: 308 kB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.5832, allocations: 0.4965 MB / 0.7894 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5832, allocations: 8.75 kB / 0.7894 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.5833, allocations: 24.2 kB / 0.7894 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5833, allocations: 9.172 kB / 0.7894 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.5833, allocations: 7.984 kB / 0.7894 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.5833, allocations: 0 / 0.7894 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5833, allocations: 12.44 kB / 0.7895 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.5835, allocations: 316 kB / 0.7898 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.5836, allocations: 23.86 kB / 0.7898 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.5836, allocations: 4 kB / 0.7898 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.5836, allocations: 13.42 kB / 0.7898 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.5837, allocations: 19.86 kB / 0.7898 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.5837, allocations: 11.97 kB / 0.7898 GB, free: 15.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.5837, allocations: 78.77 kB / 0.7899 GB, free: 15.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.5837, allocations: 4 kB / 0.7899 GB, free: 15.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000228/0.584, allocations: 87.78 kB / 0.79 GB, free: 15.1 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 (15): * Single equations (assignments): 15 * 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.0001732/0.5841, allocations: 112.2 kB / 0.7901 GB, free: 14.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.5843, allocations: 89.47 kB / 0.7902 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5843, allocations: 0 / 0.7902 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.5843, allocations: 41.56 kB / 0.7902 GB, free: 14.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.5847, allocations: 123.1 kB / 0.7903 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008433/0.5855, allocations: 0.5666 MB / 0.7909 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.799e-05/0.5856, allocations: 96.3 kB / 0.791 GB, free: 14.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.5857, allocations: 34.88 kB / 0.791 GB, free: 14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.5859, allocations: 125.3 kB / 0.7911 GB, free: 13.87 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.5859, allocations: 0 / 0.7911 GB, free: 13.87 MB / 0.698 GB Notification: Performance of Templates: time 0.007435/0.5933, allocations: 4.981 MB / 0.796 GB, free: 9.156 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.28212561365217]