Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.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.0447/0.0447, allocations: 9.126 MB / 28.99 MB, free: 0.8086 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.00105/0.00105, allocations: 87.28 kB / 35.32 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.001301/0.001301, allocations: 164 kB / 38.73 MB, free: 2.508 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 1.03/1.03, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.006574/0.006574, allocations: 0.8247 MB / 276.5 MB, free: 0.7188 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.718/1.718, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances") translateModel(AixLib.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.517e-05/3.675e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.TraceSubstances): time 0.4277/0.4278, allocations: 151.3 MB / 0.7857 GB, free: 3.766 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.006654/0.4344, allocations: 4.187 MB / 0.7898 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009519/0.4354, allocations: 51.56 kB / 0.7898 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007907/0.4362, allocations: 274.1 kB / 0.7901 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.4384, allocations: 1.278 MB / 0.7914 GB, free: 13.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.4399, allocations: 0.7881 MB / 0.7921 GB, free: 13.2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.4424, allocations: 2.572 MB / 0.7946 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.4441, allocations: 0.8991 MB / 0.7955 GB, free: 9.742 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.4465, allocations: 1.525 MB / 0.797 GB, free: 8.297 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.4477, allocations: 0.8033 MB / 0.7978 GB, free: 7.492 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.4479, allocations: 104 kB / 0.7979 GB, free: 7.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.4487, allocations: 443 kB / 0.7983 GB, free: 6.957 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.449, allocations: 0.5377 MB / 0.7988 GB, free: 6.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.4495, allocations: 459 kB / 0.7993 GB, free: 5.969 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.4509, allocations: 1.207 MB / 0.8004 GB, free: 4.758 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4509, allocations: 0 / 0.8004 GB, free: 4.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4509, allocations: 0 / 0.8004 GB, free: 4.758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.4509, allocations: 4 kB / 0.8005 GB, free: 4.754 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001382/0.4523, allocations: 1.315 MB / 0.8017 GB, free: 3.418 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.4524, allocations: 15.98 kB / 0.8018 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007856/0.4531, allocations: 307.3 kB / 0.802 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/0.454, allocations: 0.6281 MB / 0.8027 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.454, allocations: 77.94 kB / 0.8027 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.4541, allocations: 92 kB / 0.8028 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.4548, allocations: 0.8673 MB / 0.8037 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.4549, allocations: 7.953 kB / 0.8037 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.4549, allocations: 36 kB / 0.8037 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.455, allocations: 42.77 kB / 0.8037 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.4554, allocations: 318 kB / 0.8041 GB, free: 0.9062 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.002646/0.458, allocations: 3.404 MB / 0.8074 GB, free: 13.4 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.4583, allocations: 278 kB / 0.8076 GB, free: 13.11 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.4585, allocations: 115.2 kB / 0.8078 GB, free: 13 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.4586, allocations: 60.44 kB / 0.8078 GB, free: 12.94 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4587, allocations: 35.06 kB / 0.8078 GB, free: 12.9 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=49): time 2.284e-06/0.4587, allocations: 0 / 0.8078 GB, free: 12.9 MB / 0.7137 GB Notification: Performance of matching and sorting (n=49): time 0.0006/0.4593, allocations: 314.9 kB / 0.8081 GB, free: 12.59 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.4593, allocations: 55.91 kB / 0.8082 GB, free: 12.52 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.4598, allocations: 0.5661 MB / 0.8087 GB, free: 11.95 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.4598, allocations: 37.7 kB / 0.8088 GB, free: 11.91 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.46, allocations: 449 kB / 0.8092 GB, free: 11.46 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.4602, allocations: 194.3 kB / 0.8094 GB, free: 11.27 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.4603, allocations: 130.5 kB / 0.8095 GB, free: 11.13 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4605, allocations: 394.5 kB / 0.8099 GB, free: 10.74 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.4606, allocations: 72.8 kB / 0.81 GB, free: 10.67 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.4611, allocations: 0.6363 MB / 0.8106 GB, free: 9.836 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.4616, allocations: 472.2 kB / 0.811 GB, free: 9.262 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4616, allocations: 0 / 0.811 GB, free: 9.262 MB / 0.7137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005979/0.4622, allocations: 436.1 kB / 0.8115 GB, free: 8.828 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4622, allocations: 11.94 kB / 0.8115 GB, free: 8.816 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4623, allocations: 9.875 kB / 0.8115 GB, free: 8.809 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.4623, allocations: 12 kB / 0.8115 GB, free: 8.797 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.4628, allocations: 159.7 kB / 0.8116 GB, free: 8.641 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.4628, allocations: 15.94 kB / 0.8117 GB, free: 8.625 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.4632, allocations: 80.81 kB / 0.8117 GB, free: 8.547 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.4633, allocations: 24 kB / 0.8118 GB, free: 8.523 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0001809/0.4634, allocations: 168.4 kB / 0.8119 GB, free: 8.348 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.4635, allocations: 63.92 kB / 0.812 GB, free: 8.285 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.464, allocations: 286.6 kB / 0.8123 GB, free: 7.996 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.464, allocations: 4 kB / 0.8123 GB, free: 7.992 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.464, allocations: 0 / 0.8123 GB, free: 7.992 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002401/0.4642, allocations: 196.9 kB / 0.8124 GB, free: 7.785 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.4654, allocations: 0.9022 MB / 0.8133 GB, free: 6.832 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4654, allocations: 4 kB / 0.8133 GB, free: 6.828 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.4659, allocations: 140.2 kB / 0.8135 GB, free: 6.691 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.4659, allocations: 4.219 kB / 0.8135 GB, free: 6.688 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.4659, allocations: 16 kB / 0.8135 GB, free: 6.672 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.4659, allocations: 11.92 kB / 0.8135 GB, free: 6.66 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4659, allocations: 9.734 kB / 0.8135 GB, free: 6.652 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.4665, allocations: 0.5266 MB / 0.814 GB, free: 6.086 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.4667, allocations: 111.3 kB / 0.8141 GB, free: 5.977 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/0.4667, allocations: 21.44 kB / 0.8141 GB, free: 5.957 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.467, allocations: 18.19 kB / 0.8142 GB, free: 5.941 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.4671, allocations: 31.94 kB / 0.8142 GB, free: 5.91 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.4671, allocations: 15.98 kB / 0.8142 GB, free: 5.895 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.0002376/0.4673, allocations: 261.6 kB / 0.8145 GB, free: 5.645 MB / 0.7137 GB Notification: Performance of sort global known variables: time 7e-08/0.4673, allocations: 0 / 0.8145 GB, free: 5.645 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.0006774/0.468, allocations: 307.3 kB / 0.8147 GB, free: 5.344 MB / 0.7137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.0003709/0.4684, allocations: 163.4 kB / 0.8149 GB, free: 5.195 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.4688, allocations: 299.1 kB / 0.8152 GB, free: 4.906 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/0.4688, allocations: 12.5 kB / 0.8152 GB, free: 4.895 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.469, allocations: 130 kB / 0.8153 GB, free: 4.766 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.4701, allocations: 406 kB / 0.8157 GB, free: 4.406 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.4725, allocations: 1.557 MB / 0.8172 GB, free: 2.797 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.4727, allocations: 239.1 kB / 0.8175 GB, free: 2.543 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.0004063/0.4731, allocations: 136.5 kB / 0.8176 GB, free: 2.418 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006783/0.4738, allocations: 321.1 kB / 0.8179 GB, free: 2.098 MB / 0.7137 GB Notification: Performance of SimCode: time 7.52e-07/0.4738, allocations: 0 / 0.8179 GB, free: 2.098 MB / 0.7137 GB Notification: Performance of Templates: time 0.02327/0.4971, allocations: 15.47 MB / 0.833 GB, free: 3.168 MB / 0.7293 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3242048639804125]