Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.04819/0.04819, allocations: 9.13 MB / 28.99 MB, free: 0.8281 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.0008983/0.0008983, allocations: 91.16 kB / 35.33 MB, free: 1.086 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.001233/0.001233, allocations: 167.6 kB / 38.73 MB, free: 2.523 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.9454/0.9454, 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.004016/0.004016, allocations: 0.8224 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.66/1.66, allocations: 274.9 MB / 0.5419 GB, free: 0.6484 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.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.38e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5327/0.5327, allocations: 147.4 MB / 0.7818 GB, free: 7.801 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.003899/0.5366, allocations: 2.82 MB / 0.7846 GB, free: 4.996 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/0.5369, allocations: 35.69 kB / 0.7846 GB, free: 4.961 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.5374, allocations: 178.7 kB / 0.7848 GB, free: 4.785 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.5384, allocations: 0.7537 MB / 0.7855 GB, free: 4.027 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007817/0.5392, allocations: 0.5509 MB / 0.7861 GB, free: 3.477 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.5404, allocations: 1.541 MB / 0.7876 GB, free: 1.934 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.5408, allocations: 398.2 kB / 0.7879 GB, free: 1.551 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.5419, allocations: 0.8139 MB / 0.7887 GB, free: 0.7461 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.5424, allocations: 416.4 kB / 0.7891 GB, free: 348 kB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.5424, allocations: 56 kB / 0.7892 GB, free: 292 kB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.5429, allocations: 347 kB / 0.7895 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.5432, allocations: 267.2 kB / 0.7898 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.5434, allocations: 239.5 kB / 0.79 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.544, allocations: 0.701 MB / 0.7907 GB, free: 14.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.544, allocations: 0 / 0.7907 GB, free: 14.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.21e-07/0.544, allocations: 0 / 0.7907 GB, free: 14.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.544, allocations: 0 / 0.7907 GB, free: 14.75 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008025/0.5448, allocations: 0.7855 MB / 0.7914 GB, free: 13.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.5449, allocations: 11.98 kB / 0.7915 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006019/0.5455, allocations: 216.4 kB / 0.7917 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.5459, allocations: 402.1 kB / 0.792 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.5459, allocations: 37 kB / 0.7921 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.546, allocations: 44 kB / 0.7921 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.5463, allocations: 0.5179 MB / 0.7926 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.5464, allocations: 0 / 0.7926 GB, free: 12.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.5464, allocations: 19.94 kB / 0.7927 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.5464, allocations: 17 kB / 0.7927 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.5466, allocations: 130.8 kB / 0.7928 GB, free: 12.47 MB / 0.698 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.001107/0.5477, allocations: 0.8936 MB / 0.7937 GB, free: 11.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.5479, allocations: 208.8 kB / 0.7939 GB, free: 11.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.882e-05/0.548, allocations: 60.55 kB / 0.7939 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.832e-05/0.548, allocations: 28.81 kB / 0.7939 GB, free: 11.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5481, allocations: 42.55 kB / 0.794 GB, free: 11.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.5481, allocations: 0 / 0.794 GB, free: 11.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0008128/0.5489, allocations: 0.5168 MB / 0.7945 GB, free: 10.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.5489, allocations: 55.41 kB / 0.7945 GB, free: 10.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.5491, allocations: 307.4 kB / 0.7948 GB, free: 10.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.5491, allocations: 37.7 kB / 0.7949 GB, free: 10.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.5492, allocations: 225.4 kB / 0.7951 GB, free: 10.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.5493, allocations: 122.9 kB / 0.7952 GB, free: 9.891 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.5494, allocations: 69.61 kB / 0.7953 GB, free: 9.816 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.5494, allocations: 362.7 kB / 0.7956 GB, free: 9.453 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.5495, allocations: 38.81 kB / 0.7957 GB, free: 9.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.784e-05/0.5496, allocations: 142.9 kB / 0.7958 GB, free: 9.242 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.5499, allocations: 261.6 kB / 0.796 GB, free: 8.973 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5499, allocations: 3.938 kB / 0.796 GB, free: 8.969 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001967/0.5501, allocations: 184.8 kB / 0.7962 GB, free: 8.785 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.5501, allocations: 11.94 kB / 0.7962 GB, free: 8.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5501, allocations: 0 / 0.7962 GB, free: 8.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5501, allocations: 4 kB / 0.7962 GB, free: 8.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.5503, allocations: 72.47 kB / 0.7963 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.5503, allocations: 4 kB / 0.7963 GB, free: 8.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.5504, allocations: 11.94 kB / 0.7963 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.5504, allocations: 12 kB / 0.7963 GB, free: 8.672 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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 0.0001183/0.5506, allocations: 149.4 kB / 0.7965 GB, free: 8.516 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.5506, allocations: 43.89 kB / 0.7965 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.5507, allocations: 49 kB / 0.7966 GB, free: 8.426 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5507, allocations: 4 kB / 0.7966 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.5507, allocations: 0 / 0.7966 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001632/0.5508, allocations: 212.4 kB / 0.7968 GB, free: 8.184 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007464/0.5516, allocations: 0.7637 MB / 0.7975 GB, free: 7.328 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5516, allocations: 4 kB / 0.7975 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.5517, allocations: 72.53 kB / 0.7976 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.5518, allocations: 4 kB / 0.7976 GB, free: 7.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.5518, allocations: 12 kB / 0.7976 GB, free: 7.238 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.5518, allocations: 15.86 kB / 0.7976 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5518, allocations: 5.75 kB / 0.7976 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.5522, allocations: 484.7 kB / 0.7981 GB, free: 6.664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.5523, allocations: 63.72 kB / 0.7981 GB, free: 6.602 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.5524, allocations: 19.92 kB / 0.7982 GB, free: 6.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.5525, allocations: 12.94 kB / 0.7982 GB, free: 6.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.5526, allocations: 35.83 kB / 0.7982 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.5526, allocations: 16 kB / 0.7982 GB, free: 6.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.18e-05/0.5527, allocations: 128.7 kB / 0.7984 GB, free: 6.391 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5527, allocations: 4.031 kB / 0.7984 GB, free: 6.387 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003009/0.553, allocations: 143.9 kB / 0.7985 GB, free: 6.246 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0001722/0.5531, allocations: 122.1 kB / 0.7986 GB, free: 6.121 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.5533, allocations: 156 kB / 0.7988 GB, free: 5.969 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5534, allocations: 8 kB / 0.7988 GB, free: 5.961 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.5534, allocations: 94.03 kB / 0.7989 GB, free: 5.867 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.5541, allocations: 310.1 kB / 0.7992 GB, free: 5.609 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.5553, allocations: 0.9542 MB / 0.8001 GB, free: 4.578 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.376e-05/0.5554, allocations: 138 kB / 0.8002 GB, free: 4.422 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000209/0.5556, allocations: 77.75 kB / 0.8003 GB, free: 4.352 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.556, allocations: 243.1 kB / 0.8005 GB, free: 4.113 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.556, allocations: 0 / 0.8005 GB, free: 4.113 MB / 0.698 GB Notification: Performance of Templates: time 0.01214/0.5682, allocations: 10.44 MB / 0.8107 GB, free: 10.14 MB / 0.7137 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.284717615693808]