Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008954/0.008959, allocations: 108.2 kB / 15.06 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001089/0.001089, allocations: 182.5 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.985/1.985, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.182/2.182, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004731, allocations: 19.98 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.5578, allocations: 98.71 MB / 0.6833 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2305/0.7883, allocations: 161.7 MB / 0.8412 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.025/0.8133, allocations: 12.2 MB / 0.8532 GB, free: 124 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.815, allocations: 23.81 kB / 0.8532 GB, free: 100 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002984/0.818, allocations: 0.4938 MB / 0.8537 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006085/0.8242, allocations: 1.554 MB / 0.8552 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.8283, allocations: 0.9861 MB / 0.8561 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003128/0.8314, allocations: 1.524 MB / 0.8576 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.833, allocations: 0.8293 MB / 0.8584 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.8363, allocations: 1.133 MB / 0.8595 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.8378, allocations: 0.6306 MB / 0.8602 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.838, allocations: 48 kB / 0.8602 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.8399, allocations: 0.5382 MB / 0.8607 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005868/0.8405, allocations: 415 kB / 0.8611 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.8409, allocations: 249.1 kB / 0.8614 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.8432, allocations: 1.317 MB / 0.8626 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.761e-06/0.8432, allocations: 0 / 0.8626 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.387e-06/0.8432, allocations: 0 / 0.8626 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.8433, allocations: 0 / 0.8626 GB, free: 6.359 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00267/0.8459, allocations: 1.267 MB / 0.8639 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.846, allocations: 8.031 kB / 0.8639 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.848, allocations: 246.4 kB / 0.8641 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.8499, allocations: 0.7186 MB / 0.8648 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.8501, allocations: 70 kB / 0.8649 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.8503, allocations: 99.94 kB / 0.865 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.8528, allocations: 1.168 MB / 0.8661 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.8529, allocations: 0 / 0.8661 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.853, allocations: 40 kB / 0.8662 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-05/0.8531, allocations: 30 kB / 0.8662 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.8551, allocations: 0.921 MB / 0.8671 GB, free: 1.629 MB / 0.6823 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.008273/0.8634, allocations: 5.661 MB / 0.8726 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.8646, allocations: 0.5542 MB / 0.8732 GB, free: 10.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.8651, allocations: 145.5 kB / 0.8733 GB, free: 10.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.8652, allocations: 50.95 kB / 0.8734 GB, free: 10.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 4.458e-06/0.8652, allocations: 0 / 0.8734 GB, free: 10.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.002271/0.8675, allocations: 0.8182 MB / 0.8742 GB, free: 9.898 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.8676, allocations: 85.48 kB / 0.8742 GB, free: 9.797 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.8689, allocations: 0.7352 MB / 0.875 GB, free: 9.051 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.869, allocations: 37.7 kB / 0.875 GB, free: 9.008 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004845/0.8695, allocations: 0.4911 MB / 0.8755 GB, free: 8.508 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.8698, allocations: 185.4 kB / 0.8756 GB, free: 8.324 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.8699, allocations: 15.94 kB / 0.8757 GB, free: 8.309 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002638/0.8701, allocations: 398.7 kB / 0.876 GB, free: 7.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/0.8707, allocations: 257.8 kB / 0.8763 GB, free: 7.656 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008825/0.8716, allocations: 0.557 MB / 0.8768 GB, free: 6.965 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/0.8724, allocations: 395.6 kB / 0.8772 GB, free: 6.574 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.186e-06/0.8725, allocations: 0 / 0.8772 GB, free: 6.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00202/0.8745, allocations: 0.9052 MB / 0.8781 GB, free: 5.652 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.791e-05/0.8746, allocations: 41.66 kB / 0.8781 GB, free: 5.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.8746, allocations: 4.875 kB / 0.8781 GB, free: 5.602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/0.8747, allocations: 16 kB / 0.8782 GB, free: 5.586 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007984/0.8755, allocations: 159.7 kB / 0.8783 GB, free: 5.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/0.8755, allocations: 19.94 kB / 0.8783 GB, free: 5.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.8768, allocations: 143 kB / 0.8785 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/0.8769, allocations: 36 kB / 0.8785 GB, free: 5.234 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0007008/0.8776, allocations: 337.5 kB / 0.8788 GB, free: 4.895 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.8779, allocations: 86.97 kB / 0.8789 GB, free: 4.809 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.8793, allocations: 0.6215 MB / 0.8795 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.8793, allocations: 4 kB / 0.8795 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.8793, allocations: 0 / 0.8795 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001042/0.8804, allocations: 0.5212 MB / 0.88 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.8842, allocations: 1.679 MB / 0.8817 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.8843, allocations: 4 kB / 0.8817 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/0.885, allocations: 115.9 kB / 0.8818 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.8851, allocations: 8.219 kB / 0.8818 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.8852, allocations: 16 kB / 0.8818 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.211e-06/0.8852, allocations: 7.938 kB / 0.8818 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.084e-06/0.8852, allocations: 3.938 kB / 0.8818 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.8874, allocations: 1.252 MB / 0.883 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/0.888, allocations: 231.9 kB / 0.8833 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.8882, allocations: 15.94 kB / 0.8833 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008611/0.889, allocations: 70.83 kB / 0.8833 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.8891, allocations: 39.91 kB / 0.8834 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/0.8892, allocations: 23.98 kB / 0.8834 GB, free: 4 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009536/0.8902, allocations: 0.4991 MB / 0.8839 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.19e-07/0.8902, allocations: 0 / 0.8839 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001319/0.8915, allocations: 303.4 kB / 0.8842 GB, free: 15.21 MB / 0.7136 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 (52): * Single equations (assignments): 52 * 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.0005821/0.8921, allocations: 222.5 kB / 0.8844 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.8936, allocations: 0.6852 MB / 0.8851 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8e-06/0.8937, allocations: 0 / 0.8851 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005885/0.8943, allocations: 285.5 kB / 0.8853 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/0.8976, allocations: 428.8 kB / 0.8857 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.9021, allocations: 2.353 MB / 0.888 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.9032, allocations: 1.138 MB / 0.8891 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001308/0.9045, allocations: 259.1 kB / 0.8894 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.9048, allocations: 71.42 kB / 0.8895 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of SimCode: time 3.937e-06/0.9048, allocations: 0 / 0.8895 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of Templates: time 0.03776/0.9426, allocations: 14.78 MB / 0.9039 GB, free: 11.21 MB / 0.7292 GB