Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 297.4 MB / 312.6 MB, free: 2.926 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.001499/0.0015, allocations: 186 kB / 382.3 MB, free: 14.83 MB / 314.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.456/1.456, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.0007934/0.0007934, allocations: 102.7 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004993, allocations: 15.98 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6429/0.6434, allocations: 119.2 MB / 1.022 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2059/0.8493, allocations: 186.8 MB / 1.205 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.8736, allocations: 17.45 MB / 1.222 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.8756, allocations: 31.81 kB / 1.222 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.8776, allocations: 412.2 kB / 1.222 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007076/0.8847, allocations: 1.775 MB / 1.224 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.8882, allocations: 0.7702 MB / 1.225 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005694/0.8939, allocations: 3.607 MB / 1.228 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.8962, allocations: 0.9124 MB / 1.229 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.9012, allocations: 1.358 MB / 1.23 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.9044, allocations: 0.9193 MB / 1.231 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0004753/0.9049, allocations: 51.94 kB / 1.231 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.9087, allocations: 1.221 MB / 1.233 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.9098, allocations: 448.7 kB / 1.233 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.9116, allocations: 0.5831 MB / 1.234 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.9158, allocations: 1.905 MB / 1.235 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.9158, allocations: 4 kB / 1.235 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9158, allocations: 0 / 1.235 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.157e-05/0.9159, allocations: 4 kB / 1.235 GB, free: 5.262 MB / 0.8073 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.002689/0.9186, allocations: 1.227 MB / 1.237 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.9187, allocations: 15.97 kB / 1.237 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.9202, allocations: 254.3 kB / 1.237 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.9222, allocations: 0.8428 MB / 1.238 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-05/0.9223, allocations: 70 kB / 1.238 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.9225, allocations: 92 kB / 1.238 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.9247, allocations: 1.169 MB / 1.239 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.9247, allocations: 3.938 kB / 1.239 GB, free: 1.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/0.9248, allocations: 47.94 kB / 1.239 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.9249, allocations: 37.98 kB / 1.239 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.9264, allocations: 0.8937 MB / 1.24 GB, free: 460 kB / 0.8073 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.006486/0.9328, allocations: 5.735 MB / 1.246 GB, free: 10.25 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/0.9337, allocations: 0.5616 MB / 1.246 GB, free: 9.676 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.9342, allocations: 330.8 kB / 1.246 GB, free: 9.352 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.9348, allocations: 323.8 kB / 1.247 GB, free: 8.98 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.9349, allocations: 39 kB / 1.247 GB, free: 8.934 MB / 0.823 GB Notification: Performance of pre-optimization done (n=51): time 2.815e-06/0.9349, allocations: 4 kB / 1.247 GB, free: 8.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=51): time 0.001641/0.9366, allocations: 0.822 MB / 1.248 GB, free: 8.102 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.9366, allocations: 85.48 kB / 1.248 GB, free: 8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.9377, allocations: 0.7469 MB / 1.248 GB, free: 7.246 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.9377, allocations: 37.7 kB / 1.248 GB, free: 7.203 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.9381, allocations: 0.5065 MB / 1.249 GB, free: 6.688 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.9383, allocations: 189.5 kB / 1.249 GB, free: 6.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.9384, allocations: 16 kB / 1.249 GB, free: 6.484 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9385, allocations: 337.9 kB / 1.249 GB, free: 6.148 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.9389, allocations: 249.8 kB / 1.25 GB, free: 5.902 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.9396, allocations: 0.5784 MB / 1.25 GB, free: 5.184 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.9406, allocations: 0.7987 MB / 1.251 GB, free: 4.277 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.9406, allocations: 8 kB / 1.251 GB, free: 4.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001322/0.9419, allocations: 0.8502 MB / 1.252 GB, free: 3.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.942, allocations: 8 kB / 1.252 GB, free: 3.402 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.942, allocations: 14.33 kB / 1.252 GB, free: 3.391 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.942, allocations: 16 kB / 1.252 GB, free: 3.375 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/0.9426, allocations: 159.8 kB / 1.252 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.9426, allocations: 19.92 kB / 1.252 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/0.9436, allocations: 137.1 kB / 1.252 GB, free: 3.066 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.9437, allocations: 35.98 kB / 1.252 GB, free: 3.031 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005266/0.9442, allocations: 334.1 kB / 1.253 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.9444, allocations: 86.95 kB / 1.253 GB, free: 2.609 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.9454, allocations: 0.6334 MB / 1.253 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.9455, allocations: 4 kB / 1.253 GB, free: 1.969 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.9455, allocations: 4 kB / 1.253 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007274/0.9462, allocations: 0.5134 MB / 1.254 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.949, allocations: 1.78 MB / 1.255 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.9491, allocations: 7.938 kB / 1.256 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.9496, allocations: 119.8 kB / 1.256 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.9497, allocations: 4 kB / 1.256 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.9497, allocations: 19.98 kB / 1.256 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.9497, allocations: 8.25 kB / 1.256 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.9497, allocations: 4 kB / 1.256 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.9512, allocations: 1.068 MB / 1.257 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.9516, allocations: 235.9 kB / 1.257 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.9518, allocations: 12 kB / 1.257 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000638/0.9524, allocations: 67.97 kB / 1.257 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.9525, allocations: 39.95 kB / 1.257 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.9526, allocations: 23.92 kB / 1.257 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000665/0.9532, allocations: 0.5029 MB / 1.258 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9533, allocations: 3.938 kB / 1.258 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009175/0.9542, allocations: 299.3 kB / 1.258 GB, free: 13.12 MB / 0.8386 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 (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.000521/0.9547, allocations: 225.5 kB / 1.258 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.9557, allocations: 0.6181 MB / 1.259 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.9558, allocations: 5.875 kB / 1.259 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.9561, allocations: 279.6 kB / 1.259 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.9584, allocations: 439.3 kB / 1.259 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.9624, allocations: 2.429 MB / 1.262 GB, free: 9.113 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.9636, allocations: 1.118 MB / 1.263 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001173/0.9648, allocations: 280.8 kB / 1.263 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.965, allocations: 79.42 kB / 1.263 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of SimCode: time 1.232e-06/0.965, allocations: 4 kB / 1.263 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of Templates: time 0.0287/0.9937, allocations: 15.34 MB / 1.278 GB, free: 8.492 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)