Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.886/1.886, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001045/0.001045, allocations: 175.5 kB / 393.1 MB, free: 4.09 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.439/1.439, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008007/0.0008006, allocations: 91.75 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003056, allocations: 12 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5766/0.5769, allocations: 121.3 MB / 1.041 GB, free: 58.1 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.1966/0.7735, allocations: 186.8 MB / 1.223 GB, free: 7.859 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01895/0.7925, allocations: 17.48 MB / 1.24 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.794, allocations: 27.81 kB / 1.24 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.7956, allocations: 412.4 kB / 1.241 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005941/0.8015, allocations: 1.777 MB / 1.243 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.804, allocations: 0.7628 MB / 1.243 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00394/0.808, allocations: 3.626 MB / 1.247 GB, free: 420 kB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.8093, allocations: 0.9039 MB / 1.248 GB, free: 15.48 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.8123, allocations: 1.354 MB / 1.249 GB, free: 14.12 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.8143, allocations: 0.918 MB / 1.25 GB, free: 13.21 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.8145, allocations: 51.94 kB / 1.25 GB, free: 13.16 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.8172, allocations: 1.227 MB / 1.251 GB, free: 11.93 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004605/0.8177, allocations: 438.7 kB / 1.252 GB, free: 11.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007195/0.8184, allocations: 0.5886 MB / 1.252 GB, free: 10.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.8207, allocations: 1.9 MB / 1.254 GB, free: 8.992 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8208, allocations: 4 kB / 1.254 GB, free: 8.988 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8208, allocations: 0 / 1.254 GB, free: 8.988 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.8208, allocations: 4 kB / 1.254 GB, free: 8.984 MB / 0.823 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.001942/0.8227, allocations: 1.231 MB / 1.255 GB, free: 7.699 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.8228, allocations: 11.97 kB / 1.255 GB, free: 7.688 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.824, allocations: 258.3 kB / 1.256 GB, free: 7.434 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.8255, allocations: 0.8427 MB / 1.256 GB, free: 6.551 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.8256, allocations: 70 kB / 1.256 GB, free: 6.48 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.8258, allocations: 96 kB / 1.256 GB, free: 6.387 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.8276, allocations: 1.169 MB / 1.258 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.8276, allocations: 3.938 kB / 1.258 GB, free: 5.145 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/0.8277, allocations: 43.92 kB / 1.258 GB, free: 5.102 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.8277, allocations: 34 kB / 1.258 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.8291, allocations: 0.8976 MB / 1.259 GB, free: 4.172 MB / 0.823 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.0055/0.8346, allocations: 5.75 MB / 1.264 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.8354, allocations: 0.5591 MB / 1.265 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.8358, allocations: 323.4 kB / 1.265 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/0.8364, allocations: 323.7 kB / 1.265 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.8365, allocations: 50.94 kB / 1.265 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 3.367e-06/0.8365, allocations: 3.938 kB / 1.265 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.001556/0.8381, allocations: 0.8143 MB / 1.266 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.8381, allocations: 85.48 kB / 1.266 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.839, allocations: 0.7469 MB / 1.267 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.8391, allocations: 41.83 kB / 1.267 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.8395, allocations: 0.5028 MB / 1.268 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.8396, allocations: 185.3 kB / 1.268 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.8397, allocations: 16 kB / 1.268 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8398, allocations: 341.9 kB / 1.268 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.8402, allocations: 245.9 kB / 1.268 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.8408, allocations: 0.5797 MB / 1.269 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000994/0.8419, allocations: 0.8026 MB / 1.27 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.8419, allocations: 4 kB / 1.27 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001225/0.8431, allocations: 0.85 MB / 1.27 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.8431, allocations: 8 kB / 1.27 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.8432, allocations: 8 kB / 1.271 GB, free: 7.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.8432, allocations: 12.81 kB / 1.271 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.8438, allocations: 167.7 kB / 1.271 GB, free: 6.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.8438, allocations: 15.94 kB / 1.271 GB, free: 6.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008892/0.8447, allocations: 135.7 kB / 1.271 GB, free: 6.773 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.8448, allocations: 36 kB / 1.271 GB, free: 6.738 MB / 0.8386 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.0004731/0.8452, allocations: 341.4 kB / 1.271 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.8454, allocations: 86.88 kB / 1.271 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009624/0.8463, allocations: 0.6294 MB / 1.272 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.8464, allocations: 4 kB / 1.272 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8464, allocations: 0 / 1.272 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006663/0.847, allocations: 0.5251 MB / 1.272 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.8495, allocations: 1.765 MB / 1.274 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.8495, allocations: 7.938 kB / 1.274 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.8501, allocations: 116.1 kB / 1.274 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.8501, allocations: 8 kB / 1.274 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.8501, allocations: 16 kB / 1.274 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.8501, allocations: 4 kB / 1.274 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.8501, allocations: 4 kB / 1.274 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.8514, allocations: 1.08 MB / 1.275 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.8518, allocations: 243.9 kB / 1.276 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.816e-05/0.8519, allocations: 8 kB / 1.276 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.8524, allocations: 67.8 kB / 1.276 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.8525, allocations: 35.95 kB / 1.276 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.8525, allocations: 23.92 kB / 1.276 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006052/0.8532, allocations: 0.5067 MB / 1.276 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8532, allocations: 0 / 1.276 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008444/0.854, allocations: 303.3 kB / 1.276 GB, free: 0.8203 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.0004826/0.8545, allocations: 222.3 kB / 1.277 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009165/0.8554, allocations: 0.6196 MB / 1.277 GB, free: 4 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8555, allocations: 0 / 1.277 GB, free: 4 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.8558, allocations: 284.4 kB / 1.278 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.858, allocations: 436.5 kB / 1.278 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.8612, allocations: 2.428 MB / 1.28 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.8619, allocations: 1.122 MB / 1.281 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008487/0.8628, allocations: 279.2 kB / 1.282 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.863, allocations: 79.41 kB / 1.282 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.863, allocations: 0 / 1.282 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of Templates: time 0.02622/0.8892, allocations: 15.34 MB / 1.297 GB, free: 12.2 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)