Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 255.9 MB / 271.2 MB, free: 8.891 MB / 218.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.001716/0.001716, allocations: 186.1 kB / 330.8 MB, free: 488 kB / 250.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.645/1.645, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.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.001031/0.001031, allocations: 103.6 kB / 0.709 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 9.781 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2053, allocations: 109.2 MB / 0.9328 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6261/0.8315, allocations: 187 MB / 1.115 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.8498, allocations: 17.54 MB / 1.133 GB, free: 9.996 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.8511, allocations: 27.97 kB / 1.133 GB, free: 9.984 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.8525, allocations: 417.4 kB / 1.133 GB, free: 9.652 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005008/0.8575, allocations: 1.781 MB / 1.135 GB, free: 8.305 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.8599, allocations: 0.7843 MB / 1.135 GB, free: 7.723 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004156/0.8641, allocations: 3.674 MB / 1.139 GB, free: 5.746 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.8655, allocations: 0.9154 MB / 1.14 GB, free: 5.219 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.8689, allocations: 1.362 MB / 1.141 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.871, allocations: 0.9306 MB / 1.142 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.8711, allocations: 47.16 kB / 1.142 GB, free: 3.926 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.874, allocations: 1.228 MB / 1.143 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.8746, allocations: 447 kB / 1.144 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008647/0.8755, allocations: 0.5871 MB / 1.144 GB, free: 2.617 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.8784, allocations: 1.92 MB / 1.146 GB, free: 1.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8785, allocations: 0 / 1.146 GB, free: 1.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8785, allocations: 0 / 1.146 GB, free: 1.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.582e-05/0.8785, allocations: 0 / 1.146 GB, free: 1.387 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002291/0.8808, allocations: 1.231 MB / 1.148 GB, free: 428 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.8809, allocations: 14.45 kB / 1.148 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.8822, allocations: 248.9 kB / 1.148 GB, free: 308 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.8838, allocations: 0.8533 MB / 1.149 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.8839, allocations: 68.75 kB / 1.149 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.884, allocations: 95.16 kB / 1.149 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.8858, allocations: 1.175 MB / 1.15 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.8859, allocations: 5.75 kB / 1.15 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.886, allocations: 47.17 kB / 1.15 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.886, allocations: 36.52 kB / 1.15 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.8873, allocations: 0.9069 MB / 1.151 GB, free: 14.32 MB / 0.7136 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.005771/0.8931, allocations: 5.736 MB / 1.156 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/0.8939, allocations: 0.5283 MB / 1.157 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.8943, allocations: 329.5 kB / 1.157 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/0.8949, allocations: 327.9 kB / 1.158 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.8949, allocations: 42.28 kB / 1.158 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.096e-06/0.895, allocations: 0 / 1.158 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.001462/0.8964, allocations: 0.809 MB / 1.158 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.8965, allocations: 90.67 kB / 1.159 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009295/0.8974, allocations: 0.7361 MB / 1.159 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.8975, allocations: 36.27 kB / 1.159 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.8979, allocations: 0.5017 MB / 1.16 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.898, allocations: 182.1 kB / 1.16 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.8981, allocations: 15.06 kB / 1.16 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.8983, allocations: 393.8 kB / 1.16 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.8987, allocations: 252.5 kB / 1.161 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/0.8993, allocations: 0.5544 MB / 1.161 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.9003, allocations: 0.8065 MB / 1.162 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9004, allocations: 0 / 1.162 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001297/0.9017, allocations: 0.8498 MB / 1.163 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.9017, allocations: 8.969 kB / 1.163 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.9017, allocations: 8 kB / 1.163 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.9018, allocations: 19.94 kB / 1.163 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/0.9023, allocations: 155.8 kB / 1.163 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.9024, allocations: 15.94 kB / 1.163 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008833/0.9033, allocations: 135 kB / 1.163 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.9033, allocations: 39.92 kB / 1.163 GB, free: 3.367 MB / 0.7136 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.0004733/0.9038, allocations: 336.6 kB / 1.163 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.904, allocations: 86.97 kB / 1.164 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000982/0.9049, allocations: 0.6217 MB / 1.164 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.905, allocations: 8 kB / 1.164 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.905, allocations: 0 / 1.164 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006977/0.9057, allocations: 0.5173 MB / 1.165 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.9083, allocations: 1.777 MB / 1.166 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.9083, allocations: 3.938 kB / 1.166 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/0.9088, allocations: 124.1 kB / 1.166 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.9089, allocations: 4 kB / 1.166 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.9089, allocations: 16 kB / 1.167 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.9089, allocations: 4 kB / 1.167 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9089, allocations: 0 / 1.167 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.9103, allocations: 1.068 MB / 1.168 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.9106, allocations: 239.9 kB / 1.168 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.9108, allocations: 12.19 kB / 1.168 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.9113, allocations: 70.08 kB / 1.168 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.9114, allocations: 39.88 kB / 1.168 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.9115, allocations: 20 kB / 1.168 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000613/0.9121, allocations: 0.5028 MB / 1.168 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9121, allocations: 0 / 1.168 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008401/0.913, allocations: 307.3 kB / 1.169 GB, free: 13.46 MB / 0.7292 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.0004513/0.9134, allocations: 218.2 kB / 1.169 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009389/0.9144, allocations: 0.6121 MB / 1.17 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9144, allocations: 128 / 1.17 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.9148, allocations: 283.9 kB / 1.17 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.9169, allocations: 445.4 kB / 1.17 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.9201, allocations: 2.422 MB / 1.173 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.9209, allocations: 1.118 MB / 1.174 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000895/0.9218, allocations: 271.1 kB / 1.174 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.922, allocations: 79.41 kB / 1.174 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.922, allocations: 0 / 1.174 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of Templates: time 0.02758/0.9495, allocations: 15.24 MB / 1.189 GB, free: 8.949 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)