Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.429/2.429, allocations: 255 MB / 269.9 MB, free: 9.613 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.003092/0.003092, allocations: 196.5 kB / 329.5 MB, free: 1.137 MB / 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 2.744/2.744, allocations: 225.6 MB / 0.6001 GB, free: 2.121 MB / 426.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.0009563/0.0009562, allocations: 111.2 kB / 0.7074 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007426/0.0007426, allocations: 11.47 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2173, allocations: 109.1 MB / 0.9308 GB, free: 25.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 1.076/1.293, allocations: 177.8 MB / 1.104 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02673/1.32, allocations: 13.34 MB / 1.117 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/1.321, allocations: 28.62 kB / 1.117 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/1.323, allocations: 344.7 kB / 1.118 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006152/1.329, allocations: 1.389 MB / 1.119 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003369/1.333, allocations: 0.681 MB / 1.12 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006401/1.339, allocations: 3.1 MB / 1.123 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003363/1.343, allocations: 0.849 MB / 1.124 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00613/1.349, allocations: 1.213 MB / 1.125 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003533/1.352, allocations: 0.8849 MB / 1.126 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004946/1.353, allocations: 53.3 kB / 1.126 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004232/1.357, allocations: 0.5669 MB / 1.126 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/1.359, allocations: 449.9 kB / 1.127 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009335/1.36, allocations: 256.2 kB / 1.127 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004267/1.364, allocations: 1.362 MB / 1.128 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.364, allocations: 0 / 1.128 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.577e-06/1.364, allocations: 0 / 1.128 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.642e-05/1.364, allocations: 0 / 1.128 GB, free: 3.184 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.005222/1.369, allocations: 1.238 MB / 1.129 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/1.369, allocations: 10.84 kB / 1.129 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/1.373, allocations: 253.1 kB / 1.13 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/1.377, allocations: 0.8175 MB / 1.131 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-05/1.377, allocations: 68.78 kB / 1.131 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/1.377, allocations: 100.8 kB / 1.131 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/1.38, allocations: 1.17 MB / 1.132 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/1.38, allocations: 0 / 1.132 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/1.381, allocations: 42.47 kB / 1.132 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/1.381, allocations: 42.5 kB / 1.132 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/1.383, allocations: 0.9077 MB / 1.133 GB, free: 156 kB / 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.009381/1.393, allocations: 5.744 MB / 1.138 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.394, allocations: 0.5309 MB / 1.139 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007361/1.395, allocations: 329.8 kB / 1.139 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009537/1.396, allocations: 323.9 kB / 1.14 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/1.396, allocations: 41.92 kB / 1.14 GB, free: 10.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 2.925e-06/1.396, allocations: 0 / 1.14 GB, free: 10.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.002608/1.398, allocations: 0.8077 MB / 1.14 GB, free: 9.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/1.398, allocations: 90.53 kB / 1.14 GB, free: 9.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/1.4, allocations: 0.7346 MB / 1.141 GB, free: 9.172 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/1.4, allocations: 39.55 kB / 1.141 GB, free: 9.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/1.401, allocations: 0.4987 MB / 1.142 GB, free: 8.684 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/1.401, allocations: 182 kB / 1.142 GB, free: 8.527 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/1.401, allocations: 15.19 kB / 1.142 GB, free: 8.516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002508/1.401, allocations: 400.1 kB / 1.142 GB, free: 8.137 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006665/1.402, allocations: 243.6 kB / 1.143 GB, free: 8.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/1.403, allocations: 0.5632 MB / 1.143 GB, free: 7.488 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/1.404, allocations: 350 kB / 1.143 GB, free: 7.309 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.404, allocations: 2.906 kB / 1.143 GB, free: 7.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00225/1.406, allocations: 0.8545 MB / 1.144 GB, free: 6.867 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/1.406, allocations: 7.812 kB / 1.144 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.406, allocations: 9.188 kB / 1.144 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/1.406, allocations: 10.47 kB / 1.144 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.408, allocations: 165.8 kB / 1.144 GB, free: 6.828 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-05/1.408, allocations: 15.28 kB / 1.144 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.409, allocations: 144.4 kB / 1.145 GB, free: 6.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.409, allocations: 35.5 kB / 1.145 GB, free: 6.73 MB / 0.698 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.0007785/1.41, allocations: 330.9 kB / 1.145 GB, free: 6.488 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/1.411, allocations: 84.31 kB / 1.145 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/1.412, allocations: 0.6238 MB / 1.146 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.412, allocations: 9.531 kB / 1.146 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.412, allocations: 0 / 1.146 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/1.413, allocations: 0.5237 MB / 1.146 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/1.418, allocations: 1.77 MB / 1.148 GB, free: 4.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.418, allocations: 7.938 kB / 1.148 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.419, allocations: 115.9 kB / 1.148 GB, free: 4.406 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/1.419, allocations: 4 kB / 1.148 GB, free: 4.402 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/1.42, allocations: 8 kB / 1.148 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.42, allocations: 4 kB / 1.148 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.42, allocations: 4 kB / 1.148 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/1.422, allocations: 1.076 MB / 1.149 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008056/1.423, allocations: 239.9 kB / 1.149 GB, free: 3.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.423, allocations: 8 kB / 1.149 GB, free: 3.012 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.425, allocations: 67.84 kB / 1.149 GB, free: 2.945 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.425, allocations: 35.89 kB / 1.149 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/1.425, allocations: 20 kB / 1.149 GB, free: 2.891 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001109/1.426, allocations: 0.5067 MB / 1.15 GB, free: 2.387 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.426, allocations: 0 / 1.15 GB, free: 2.387 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001653/1.428, allocations: 295.4 kB / 1.15 GB, free: 2.098 MB / 0.698 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.000783/1.429, allocations: 237.7 kB / 1.15 GB, free: 1.875 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001777/1.43, allocations: 0.6189 MB / 1.151 GB, free: 1.254 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.43, allocations: 4 kB / 1.151 GB, free: 1.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/1.431, allocations: 277.5 kB / 1.151 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/1.435, allocations: 452.1 kB / 1.152 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/1.441, allocations: 2.383 MB / 1.154 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.443, allocations: 1.122 MB / 1.155 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001724/1.444, allocations: 279.1 kB / 1.155 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/1.445, allocations: 79.42 kB / 1.155 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.543e-06/1.445, allocations: 0 / 1.155 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.04614/1.491, allocations: 14.75 MB / 1.17 GB, free: 14.07 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)