Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.686/1.686, allocations: 291.7 MB / 306.8 MB, free: 7.688 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 185.7 kB / 375.4 MB, free: 5.121 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.6 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 103.5 kB / 0.7699 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004323, allocations: 12.94 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7596/0.7601, allocations: 118.1 MB / 1.011 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1929/0.9531, allocations: 177.5 MB / 1.184 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01641/0.9695, allocations: 13.26 MB / 1.197 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.9708, allocations: 28.44 kB / 1.197 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.9722, allocations: 349.3 kB / 1.198 GB, free: 8.328 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.9768, allocations: 1.376 MB / 1.199 GB, free: 7.582 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.9792, allocations: 0.6589 MB / 1.2 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.00429/0.9835, allocations: 3.048 MB / 1.203 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.9851, allocations: 0.8964 MB / 1.203 GB, free: 5.789 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.9883, allocations: 1.194 MB / 1.205 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.9902, allocations: 0.8943 MB / 1.205 GB, free: 4.98 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.9903, allocations: 47.69 kB / 1.206 GB, free: 4.98 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.9922, allocations: 0.563 MB / 1.206 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004997/0.9927, allocations: 450.5 kB / 1.206 GB, free: 4.68 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.9931, allocations: 257.3 kB / 1.207 GB, free: 4.543 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.9948, allocations: 1.352 MB / 1.208 GB, free: 4.234 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9948, allocations: 0 / 1.208 GB, free: 4.234 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.178e-06/0.9948, allocations: 1.219 kB / 1.208 GB, free: 4.234 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.9948, allocations: 3.938 kB / 1.208 GB, free: 4.23 MB / 0.7917 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.002318/0.9972, allocations: 1.226 MB / 1.209 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.9972, allocations: 9.688 kB / 1.209 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.9985, allocations: 256.3 kB / 1.21 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/1, allocations: 0.8439 MB / 1.21 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.672e-05/1, allocations: 72.75 kB / 1.21 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/1, allocations: 99.56 kB / 1.211 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/1.002, allocations: 1.166 MB / 1.212 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/1.002, allocations: 5.312 kB / 1.212 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/1.002, allocations: 41.56 kB / 1.212 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/1.002, allocations: 36.38 kB / 1.212 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/1.004, allocations: 0.8953 MB / 1.213 GB, free: 1.832 MB / 0.7917 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.006174/1.01, allocations: 5.743 MB / 1.218 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/1.011, allocations: 0.5621 MB / 1.219 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/1.011, allocations: 329.7 kB / 1.219 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/1.012, allocations: 323.8 kB / 1.219 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/1.012, allocations: 46.44 kB / 1.219 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=51): time 2.585e-06/1.012, allocations: 2.344 kB / 1.219 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51): time 0.001652/1.014, allocations: 0.8153 MB / 1.22 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/1.014, allocations: 82.8 kB / 1.22 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/1.015, allocations: 0.7443 MB / 1.221 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/1.015, allocations: 41.92 kB / 1.221 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/1.015, allocations: 0.5061 MB / 1.222 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/1.016, allocations: 182.5 kB / 1.222 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/1.016, allocations: 14.72 kB / 1.222 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.016, allocations: 339.1 kB / 1.222 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/1.016, allocations: 252.8 kB / 1.222 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/1.017, allocations: 0.5762 MB / 1.223 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/1.018, allocations: 0.8012 MB / 1.224 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/1.018, allocations: 2.625 kB / 1.224 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00182/1.02, allocations: 0.8595 MB / 1.224 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/1.02, allocations: 8.281 kB / 1.225 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/1.02, allocations: 7.812 kB / 1.225 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/1.02, allocations: 18.03 kB / 1.225 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/1.021, allocations: 163.9 kB / 1.225 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.412e-05/1.021, allocations: 17.86 kB / 1.225 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.022, allocations: 146.2 kB / 1.225 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/1.022, allocations: 38.02 kB / 1.225 GB, free: 9.27 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008772/1.023, allocations: 338 kB / 1.225 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/1.024, allocations: 85.27 kB / 1.225 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.025, allocations: 0.624 MB / 1.226 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.025, allocations: 6.406 kB / 1.226 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.025, allocations: 1.031 kB / 1.226 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008631/1.026, allocations: 0.5244 MB / 1.226 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/1.029, allocations: 1.766 MB / 1.228 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.029, allocations: 6.219 kB / 1.228 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/1.029, allocations: 117 kB / 1.228 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/1.029, allocations: 8 kB / 1.228 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/1.029, allocations: 17.41 kB / 1.228 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.03, allocations: 8.781 kB / 1.228 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.03, allocations: 0 / 1.228 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/1.031, allocations: 1.08 MB / 1.229 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/1.031, allocations: 232.7 kB / 1.23 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.032, allocations: 13.12 kB / 1.23 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/1.032, allocations: 67.89 kB / 1.23 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/1.032, allocations: 31.44 kB / 1.23 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/1.032, allocations: 21.97 kB / 1.23 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007202/1.033, allocations: 0.5041 MB / 1.23 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.81e-07/1.033, allocations: 0 / 1.23 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00113/1.034, allocations: 305.1 kB / 1.23 GB, free: 5.441 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005513/1.035, allocations: 233.5 kB / 1.231 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001153/1.036, allocations: 0.6183 MB / 1.231 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.036, allocations: 0 / 1.231 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/1.036, allocations: 291 kB / 1.232 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.039, allocations: 429.3 kB / 1.232 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/1.042, allocations: 2.386 MB / 1.234 GB, free: 2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/1.043, allocations: 1.12 MB / 1.235 GB, free: 1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001051/1.044, allocations: 278 kB / 1.236 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.044, allocations: 81.3 kB / 1.236 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/1.044, allocations: 0 / 1.236 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of Templates: time 0.02827/1.073, allocations: 14.9 MB / 1.25 GB, free: 4.664 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)