Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.742/1.742, allocations: 292.6 MB / 307.8 MB, free: 7.125 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.001629/0.00163, allocations: 189 kB / 376.5 MB, free: 4.449 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.417/1.417, allocations: 225.7 MB / 0.655 GB, free: 13.12 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.0007676/0.0007676, allocations: 93 kB / 0.7711 GB, free: 50.28 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.0004342, allocations: 15.98 kB / 0.897 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6564/0.6568, allocations: 118.2 MB / 1.012 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1967/0.8536, allocations: 177.5 MB / 1.186 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.8708, allocations: 13.25 MB / 1.199 GB, free: 8.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.8725, allocations: 27.62 kB / 1.199 GB, free: 8.148 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.8742, allocations: 380.3 kB / 1.199 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005665/0.8799, allocations: 1.64 MB / 1.201 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.8828, allocations: 0.6832 MB / 1.201 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004749/0.8875, allocations: 3.054 MB / 1.204 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.8892, allocations: 0.8855 MB / 1.205 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.8931, allocations: 1.299 MB / 1.207 GB, free: 4.785 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.8958, allocations: 0.8848 MB / 1.207 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.896, allocations: 47.41 kB / 1.207 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.8994, allocations: 1.221 MB / 1.209 GB, free: 4.039 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006806/0.9001, allocations: 447.9 kB / 1.209 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.9013, allocations: 0.558 MB / 1.21 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.9038, allocations: 1.421 MB / 1.211 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.9038, allocations: 1.125 kB / 1.211 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9038, allocations: 0.75 kB / 1.211 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.9039, allocations: 0 / 1.211 GB, free: 3.281 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.00266/0.9066, allocations: 1.23 MB / 1.212 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.9066, allocations: 9.75 kB / 1.212 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.9082, allocations: 255.4 kB / 1.212 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.9101, allocations: 0.8423 MB / 1.213 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/0.9101, allocations: 73.41 kB / 1.213 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.9103, allocations: 99.84 kB / 1.213 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.9123, allocations: 1.17 MB / 1.215 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.9123, allocations: 1.375 kB / 1.215 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.9124, allocations: 45.5 kB / 1.215 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.9124, allocations: 38.95 kB / 1.215 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.9142, allocations: 0.9005 MB / 1.216 GB, free: 0.8672 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.007673/0.9219, allocations: 5.731 MB / 1.221 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.923, allocations: 0.5608 MB / 1.222 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/0.9236, allocations: 330.9 kB / 1.222 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/0.9243, allocations: 327.6 kB / 1.222 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.9243, allocations: 43.08 kB / 1.222 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=51): time 4.479e-06/0.9243, allocations: 2.203 kB / 1.222 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51): time 0.002147/0.9265, allocations: 0.8181 MB / 1.223 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.9266, allocations: 84.38 kB / 1.223 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.9279, allocations: 0.7439 MB / 1.224 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/0.928, allocations: 38.11 kB / 1.224 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000472/0.9284, allocations: 0.5009 MB / 1.224 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.9287, allocations: 183.1 kB / 1.225 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.9287, allocations: 14.56 kB / 1.225 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9289, allocations: 343.6 kB / 1.225 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.9294, allocations: 253 kB / 1.225 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.9301, allocations: 0.572 MB / 1.226 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.9313, allocations: 0.8057 MB / 1.227 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.9313, allocations: 2.062 kB / 1.227 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001675/0.933, allocations: 0.8631 MB / 1.227 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.9331, allocations: 8.125 kB / 1.227 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.9331, allocations: 8.281 kB / 1.227 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.9331, allocations: 12.02 kB / 1.227 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.9338, allocations: 159.1 kB / 1.228 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/0.9338, allocations: 17.19 kB / 1.228 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.935, allocations: 143.4 kB / 1.228 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.9351, allocations: 33.8 kB / 1.228 GB, free: 8.324 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.0006623/0.9358, allocations: 335.7 kB / 1.228 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.936, allocations: 84.91 kB / 1.228 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.9373, allocations: 0.6322 MB / 1.229 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.9373, allocations: 6.219 kB / 1.229 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9373, allocations: 1.688 kB / 1.229 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008992/0.9382, allocations: 0.5265 MB / 1.229 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.9416, allocations: 1.77 MB / 1.231 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.9416, allocations: 7.938 kB / 1.231 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.9422, allocations: 111.3 kB / 1.231 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.9422, allocations: 4 kB / 1.231 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.9422, allocations: 22.83 kB / 1.231 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.9422, allocations: 4.656 kB / 1.231 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.9423, allocations: 8.188 kB / 1.231 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.9438, allocations: 1.076 MB / 1.232 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.9443, allocations: 233.2 kB / 1.232 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.9445, allocations: 13.5 kB / 1.232 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.9451, allocations: 61.92 kB / 1.233 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.9451, allocations: 38.91 kB / 1.233 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.9452, allocations: 22.16 kB / 1.233 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007244/0.9459, allocations: 0.5036 MB / 1.233 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9459, allocations: 1.125 kB / 1.233 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001018/0.947, allocations: 305.4 kB / 1.233 GB, free: 4.207 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.0004969/0.9475, allocations: 229 kB / 1.234 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.9485, allocations: 0.6182 MB / 1.234 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9485, allocations: 7.938 kB / 1.234 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.9489, allocations: 279.5 kB / 1.234 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.9512, allocations: 441.3 kB / 1.235 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.9549, allocations: 2.391 MB / 1.237 GB, free: 0.7656 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009394/0.9559, allocations: 1.125 MB / 1.238 GB, free: 15.76 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00117/0.957, allocations: 272.5 kB / 1.239 GB, free: 15.58 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.9573, allocations: 85.67 kB / 1.239 GB, free: 15.5 MB / 0.823 GB Notification: Performance of SimCode: time 6.61e-07/0.9573, allocations: 0 / 1.239 GB, free: 15.5 MB / 0.823 GB Notification: Performance of Templates: time 0.03097/0.9882, allocations: 15.14 MB / 1.253 GB, free: 2.754 MB / 0.823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)