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.04323/0.04323, allocations: 9.131 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.000895/0.000895, allocations: 98.36 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.001227/0.001227, allocations: 168.7 kB / 38.73 MB, free: 2.406 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.9983/0.9983, 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.005944/0.005944, allocations: 0.8227 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.711/1.711, 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.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.212e-06/1.212e-06, allocations: 3.938 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.096e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4355/0.4355, allocations: 146 MB / 0.7805 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.4378, allocations: 1.3 MB / 0.7818 GB, free: 7.859 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.438, allocations: 15.88 kB / 0.7818 GB, free: 7.844 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.4384, allocations: 79.28 kB / 0.7818 GB, free: 7.766 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0008117/0.4392, allocations: 397.8 kB / 0.7822 GB, free: 7.375 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009366/0.4401, allocations: 459.6 kB / 0.7827 GB, free: 6.926 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0007595/0.4409, allocations: 0.6854 MB / 0.7833 GB, free: 6.238 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003104/0.4412, allocations: 179.4 kB / 0.7835 GB, free: 6.066 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.4417, allocations: 355 kB / 0.7838 GB, free: 5.719 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.4419, allocations: 191.4 kB / 0.784 GB, free: 5.531 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.4419, allocations: 28 kB / 0.784 GB, free: 5.504 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005089/0.4425, allocations: 311.1 kB / 0.7843 GB, free: 5.199 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.4426, allocations: 115.6 kB / 0.7845 GB, free: 5.086 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.4427, allocations: 115.7 kB / 0.7846 GB, free: 4.973 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.4433, allocations: 430.6 kB / 0.785 GB, free: 4.551 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4433, allocations: 3.938 kB / 0.785 GB, free: 4.547 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4433, allocations: 0 / 0.785 GB, free: 4.547 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.4433, allocations: 3.984 kB / 0.785 GB, free: 4.543 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.0006444/0.4439, allocations: 0.5171 MB / 0.7855 GB, free: 4.008 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.444, allocations: 15.98 kB / 0.7855 GB, free: 3.992 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007385/0.4447, allocations: 220.2 kB / 0.7857 GB, free: 3.777 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.445, allocations: 233.8 kB / 0.7859 GB, free: 3.527 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.445, allocations: 26.23 kB / 0.786 GB, free: 3.504 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.4451, allocations: 27.92 kB / 0.786 GB, free: 3.477 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.4455, allocations: 211.8 kB / 0.7862 GB, free: 3.246 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4455, allocations: 0 / 0.7862 GB, free: 3.246 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.4455, allocations: 12 kB / 0.7862 GB, free: 3.234 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4455, allocations: 4 kB / 0.7862 GB, free: 3.23 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4456, allocations: 77.09 kB / 0.7863 GB, free: 3.152 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.0007698/0.4464, allocations: 0.7747 MB / 0.787 GB, free: 2.352 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.4465, allocations: 114.5 kB / 0.7871 GB, free: 2.23 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.4466, allocations: 33.66 kB / 0.7872 GB, free: 2.195 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.4467, allocations: 55.94 kB / 0.7872 GB, free: 2.141 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.4468, allocations: 38.44 kB / 0.7873 GB, free: 2.094 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.4468, allocations: 7.938 kB / 0.7873 GB, free: 2.086 MB / 0.6824 GB Notification: Performance of matching and sorting (n=15): time 0.0002742/0.447, allocations: 117.9 kB / 0.7874 GB, free: 1.965 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.4471, allocations: 55.39 kB / 0.7874 GB, free: 1.898 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.4472, allocations: 236.9 kB / 0.7877 GB, free: 1.656 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.4472, allocations: 25.7 kB / 0.7877 GB, free: 1.625 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.4473, allocations: 168.7 kB / 0.7879 GB, free: 1.453 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.4473, allocations: 51.52 kB / 0.7879 GB, free: 1.402 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.4474, allocations: 49.64 kB / 0.7879 GB, free: 1.348 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.4475, allocations: 338.8 kB / 0.7883 GB, free: 1.008 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.4e-05/0.4475, allocations: 23.31 kB / 0.7883 GB, free: 0.9844 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.4476, allocations: 146.1 kB / 0.7884 GB, free: 0.8047 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.4477, allocations: 102.9 kB / 0.7885 GB, free: 0.6836 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4477, allocations: 0.75 kB / 0.7885 GB, free: 0.6836 MB / 0.6824 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001456/0.4479, allocations: 127.2 kB / 0.7887 GB, free: 0.5547 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.4479, allocations: 4 kB / 0.7887 GB, free: 0.5508 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4479, allocations: 4.094 kB / 0.7887 GB, free: 0.5469 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4479, allocations: 4 kB / 0.7887 GB, free: 0.543 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.448, allocations: 39.92 kB / 0.7887 GB, free: 0.5039 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.448, allocations: 4 kB / 0.7887 GB, free: 0.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.4481, allocations: 20.39 kB / 0.7887 GB, free: 492 kB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.4481, allocations: 9.203 kB / 0.7887 GB, free: 484 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 (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.912e-05/0.4482, allocations: 128.5 kB / 0.7889 GB, free: 344 kB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.4482, allocations: 15.98 kB / 0.7889 GB, free: 328 kB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.4484, allocations: 106.1 kB / 0.789 GB, free: 220 kB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4484, allocations: 4 kB / 0.789 GB, free: 216 kB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.4484, allocations: 4.5 kB / 0.789 GB, free: 212 kB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4484, allocations: 0 / 0.789 GB, free: 212 kB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.4488, allocations: 0.4998 MB / 0.7895 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4488, allocations: 0.5625 kB / 0.7895 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.4489, allocations: 31.98 kB / 0.7895 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4489, allocations: 4.219 kB / 0.7895 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4489, allocations: 8 kB / 0.7895 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4489, allocations: 0.875 kB / 0.7895 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4489, allocations: 11.88 kB / 0.7895 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.4491, allocations: 319.8 kB / 0.7898 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.4492, allocations: 37.23 kB / 0.7899 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4492, allocations: 0 / 0.7899 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.4493, allocations: 12 kB / 0.7899 GB, free: 15.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.4493, allocations: 15.91 kB / 0.7899 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4493, allocations: 8.812 kB / 0.7899 GB, free: 15.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.194e-05/0.4494, allocations: 78.81 kB / 0.79 GB, free: 15.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.4494, allocations: 0 / 0.79 GB, free: 15.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002292/0.4496, allocations: 95.77 kB / 0.7901 GB, free: 15 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.0002049/0.4498, allocations: 112.2 kB / 0.7902 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.4499, allocations: 81.64 kB / 0.7903 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4499, allocations: 192 / 0.7903 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.45, allocations: 50.11 kB / 0.7903 GB, free: 14.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.4504, allocations: 126.4 kB / 0.7904 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/0.4512, allocations: 0.556 MB / 0.791 GB, free: 14.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.4513, allocations: 96.3 kB / 0.7911 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.4514, allocations: 35.61 kB / 0.7911 GB, free: 13.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.4516, allocations: 125.3 kB / 0.7912 GB, free: 13.77 MB / 0.698 GB Notification: Performance of SimCode: time 9.81e-07/0.4516, allocations: 0 / 0.7912 GB, free: 13.77 MB / 0.698 GB Notification: Performance of Templates: time 0.00712/0.4587, allocations: 4.976 MB / 0.7961 GB, free: 9.062 MB / 0.698 GB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.10922868270427]