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.0451/0.0451, allocations: 9.129 MB / 28.99 MB, free: 0.8203 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.0009776/0.0009776, allocations: 95.2 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.001179/0.001179, allocations: 164.7 kB / 38.73 MB, free: 2.492 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.01/1.01, 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.004139/0.004139, allocations: 0.8221 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.776/1.776, 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.694e-06/1.694e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.676e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.TraceSubstances): time 0.5538/0.5538, allocations: 151.3 MB / 0.7856 GB, free: 3.875 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.006444/0.5603, allocations: 4.187 MB / 0.7897 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006714/0.5609, allocations: 51.56 kB / 0.7898 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000816/0.5618, allocations: 274 kB / 0.79 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.5641, allocations: 1.295 MB / 0.7913 GB, free: 14.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.5655, allocations: 0.797 MB / 0.7921 GB, free: 13.28 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002532/0.5681, allocations: 2.568 MB / 0.7946 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.5692, allocations: 0.8316 MB / 0.7954 GB, free: 9.855 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.5714, allocations: 1.535 MB / 0.7969 GB, free: 8.395 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008666/0.5723, allocations: 0.7961 MB / 0.7977 GB, free: 7.598 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.5724, allocations: 108 kB / 0.7978 GB, free: 7.492 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006443/0.573, allocations: 427 kB / 0.7982 GB, free: 7.074 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.5734, allocations: 0.5377 MB / 0.7987 GB, free: 6.535 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.5738, allocations: 459 kB / 0.7991 GB, free: 6.086 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.5749, allocations: 1.215 MB / 0.8003 GB, free: 4.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5749, allocations: 0 / 0.8003 GB, free: 4.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5749, allocations: 4 kB / 0.8003 GB, free: 4.863 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.5749, allocations: 0 / 0.8003 GB, free: 4.863 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.001342/0.5763, allocations: 1.314 MB / 0.8016 GB, free: 3.527 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5763, allocations: 11.98 kB / 0.8016 GB, free: 3.516 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007748/0.5771, allocations: 312.2 kB / 0.8019 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.5778, allocations: 0.6303 MB / 0.8025 GB, free: 2.547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.5779, allocations: 66 kB / 0.8026 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.578, allocations: 96 kB / 0.8027 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.5787, allocations: 0.8768 MB / 0.8035 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.5787, allocations: 3.953 kB / 0.8035 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.5788, allocations: 43.94 kB / 0.8036 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.5788, allocations: 33.94 kB / 0.8036 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.5792, allocations: 318 kB / 0.8039 GB, free: 1.016 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.002747/0.5819, allocations: 3.402 MB / 0.8072 GB, free: 13.51 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.5823, allocations: 278.6 kB / 0.8075 GB, free: 13.22 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.5824, allocations: 110.6 kB / 0.8076 GB, free: 13.11 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/0.5826, allocations: 64.44 kB / 0.8077 GB, free: 13.05 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.5826, allocations: 39.06 kB / 0.8077 GB, free: 13 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=49): time 2.064e-06/0.5826, allocations: 0 / 0.8077 GB, free: 13 MB / 0.7137 GB Notification: Performance of matching and sorting (n=49): time 0.0005277/0.5832, allocations: 309.9 kB / 0.808 GB, free: 12.7 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.5832, allocations: 59.91 kB / 0.8081 GB, free: 12.63 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.5836, allocations: 0.5665 MB / 0.8086 GB, free: 12.05 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.5836, allocations: 37.7 kB / 0.8087 GB, free: 12.01 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.5838, allocations: 453 kB / 0.8091 GB, free: 11.56 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.5839, allocations: 186.4 kB / 0.8093 GB, free: 11.38 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.5841, allocations: 134.6 kB / 0.8094 GB, free: 11.24 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5842, allocations: 386.6 kB / 0.8098 GB, free: 10.85 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.5843, allocations: 76.78 kB / 0.8098 GB, free: 10.78 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.5847, allocations: 0.6402 MB / 0.8105 GB, free: 9.941 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.5851, allocations: 468.2 kB / 0.8109 GB, free: 9.371 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5851, allocations: 5.312 kB / 0.8109 GB, free: 9.367 MB / 0.7137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004695/0.5856, allocations: 429.8 kB / 0.8113 GB, free: 8.941 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5856, allocations: 8.938 kB / 0.8113 GB, free: 8.934 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5856, allocations: 8 kB / 0.8113 GB, free: 8.926 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.5856, allocations: 20.02 kB / 0.8114 GB, free: 8.906 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.5859, allocations: 151.8 kB / 0.8115 GB, free: 8.758 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.5859, allocations: 19.88 kB / 0.8115 GB, free: 8.738 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.5862, allocations: 79.45 kB / 0.8116 GB, free: 8.66 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.5862, allocations: 24 kB / 0.8116 GB, free: 8.637 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.0001678/0.5864, allocations: 164.4 kB / 0.8118 GB, free: 8.465 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.5865, allocations: 67.92 kB / 0.8118 GB, free: 8.398 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.5868, allocations: 283.2 kB / 0.8121 GB, free: 8.113 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5868, allocations: 7.984 kB / 0.8121 GB, free: 8.105 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.5868, allocations: 0 / 0.8121 GB, free: 8.105 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001888/0.587, allocations: 196.2 kB / 0.8123 GB, free: 7.898 MB / 0.7137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009833/0.588, allocations: 0.8936 MB / 0.8132 GB, free: 6.953 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.588, allocations: 4.219 kB / 0.8132 GB, free: 6.949 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.5883, allocations: 107.9 kB / 0.8133 GB, free: 6.844 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.5883, allocations: 4 kB / 0.8133 GB, free: 6.84 MB / 0.7137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.5883, allocations: 19.94 kB / 0.8133 GB, free: 6.82 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5883, allocations: 4 kB / 0.8133 GB, free: 6.816 MB / 0.7137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5883, allocations: 5.562 kB / 0.8133 GB, free: 6.812 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.5888, allocations: 0.527 MB / 0.8138 GB, free: 6.25 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.589, allocations: 115.3 kB / 0.8139 GB, free: 6.137 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.589, allocations: 12 kB / 0.814 GB, free: 6.125 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.5892, allocations: 19.98 kB / 0.814 GB, free: 6.105 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.5893, allocations: 35.88 kB / 0.814 GB, free: 6.07 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.5893, allocations: 16 kB / 0.814 GB, free: 6.055 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.0001917/0.5895, allocations: 254.1 kB / 0.8143 GB, free: 5.812 MB / 0.7137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5895, allocations: 0 / 0.8143 GB, free: 5.812 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.0005028/0.59, allocations: 311.3 kB / 0.8146 GB, free: 5.508 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.0003948/0.5904, allocations: 166.1 kB / 0.8147 GB, free: 5.355 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.5907, allocations: 290.2 kB / 0.815 GB, free: 5.074 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/0.5907, allocations: 12.62 kB / 0.815 GB, free: 5.062 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.5909, allocations: 129.4 kB / 0.8151 GB, free: 4.934 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/0.5918, allocations: 409 kB / 0.8155 GB, free: 4.578 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.5936, allocations: 1.565 MB / 0.8171 GB, free: 2.957 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.5938, allocations: 239.1 kB / 0.8173 GB, free: 2.703 MB / 0.7137 GB Notification: Performance of simCode: alias equations: time 0.0002964/0.5941, allocations: 121.8 kB / 0.8174 GB, free: 2.59 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.5946, allocations: 325.1 kB / 0.8177 GB, free: 2.266 MB / 0.7137 GB Notification: Performance of SimCode: time 8.01e-07/0.5946, allocations: 0 / 0.8177 GB, free: 2.266 MB / 0.7137 GB Notification: Performance of Templates: time 0.01928/0.6139, allocations: 15.38 MB / 0.8327 GB, free: 3.434 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 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.654489397071302]