Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 176.2 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4936/0.4936, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.292/1.292, allocations: 225.7 MB / 353.3 MB, free: 1.086 MB / 282.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.0006869/0.0006869, allocations: 89.97 kB / 425.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 12 kB / 0.4955 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3086, allocations: 71.34 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4961/0.8048, allocations: 186.8 MB / 0.7476 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.8195, allocations: 17.48 MB / 0.7647 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.821, allocations: 28.5 kB / 0.7647 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.8223, allocations: 427.2 kB / 0.7651 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.8265, allocations: 1.76 MB / 0.7668 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.8286, allocations: 0.7649 MB / 0.7676 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003288/0.8319, allocations: 3.616 MB / 0.7711 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.8331, allocations: 0.9063 MB / 0.772 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.8358, allocations: 1.359 MB / 0.7733 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.8377, allocations: 0.9098 MB / 0.7742 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.8378, allocations: 49.08 kB / 0.7743 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.8402, allocations: 1.234 MB / 0.7755 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.8406, allocations: 433.7 kB / 0.7759 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006318/0.8412, allocations: 0.5917 MB / 0.7765 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.8434, allocations: 1.914 MB / 0.7783 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8434, allocations: 0 / 0.7783 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8434, allocations: 0 / 0.7783 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.8434, allocations: 0 / 0.7783 GB, free: 4.07 MB / 0.5105 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.001925/0.8454, allocations: 1.232 MB / 0.7795 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.8454, allocations: 9.5 kB / 0.7796 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.8466, allocations: 251.8 kB / 0.7798 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.8481, allocations: 0.8342 MB / 0.7806 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.8481, allocations: 78.84 kB / 0.7807 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.8483, allocations: 101.2 kB / 0.7808 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.8499, allocations: 1.164 MB / 0.7819 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.8499, allocations: 2.906 kB / 0.7819 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/0.85, allocations: 43.06 kB / 0.782 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-05/0.8501, allocations: 35.09 kB / 0.782 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.8513, allocations: 0.9083 MB / 0.7829 GB, free: 2.031 MB / 0.5105 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.005257/0.8565, allocations: 5.743 MB / 0.7885 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/0.8573, allocations: 0.5636 MB / 0.789 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.8577, allocations: 328.1 kB / 0.7894 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/0.8583, allocations: 329.1 kB / 0.7897 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.8584, allocations: 39.28 kB / 0.7897 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=51): time 2.695e-06/0.8584, allocations: 0 / 0.7897 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51): time 0.001411/0.8598, allocations: 0.8182 MB / 0.7905 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.8598, allocations: 85.52 kB / 0.7906 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/0.8606, allocations: 0.7365 MB / 0.7913 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.8607, allocations: 38.42 kB / 0.7913 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.861, allocations: 0.5056 MB / 0.7918 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.8612, allocations: 191.5 kB / 0.792 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.8612, allocations: 12.44 kB / 0.792 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8614, allocations: 338.1 kB / 0.7923 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.8617, allocations: 253.9 kB / 0.7926 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.8624, allocations: 0.575 MB / 0.7932 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.8634, allocations: 0.8082 MB / 0.7939 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.8635, allocations: 6.469 kB / 0.7939 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001152/0.8646, allocations: 0.8562 MB / 0.7948 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.8646, allocations: 12 kB / 0.7948 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.8647, allocations: 8 kB / 0.7948 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.8647, allocations: 8 kB / 0.7948 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.8653, allocations: 161 kB / 0.795 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.8653, allocations: 17.05 kB / 0.795 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008686/0.8662, allocations: 142.5 kB / 0.7951 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/0.8663, allocations: 34.92 kB / 0.7951 GB, free: 10.03 MB / 0.5261 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.0004187/0.8667, allocations: 329 kB / 0.7955 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.8668, allocations: 90.88 kB / 0.7955 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008956/0.8677, allocations: 0.6273 MB / 0.7962 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.8677, allocations: 4 kB / 0.7962 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8677, allocations: 4 kB / 0.7962 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006455/0.8684, allocations: 0.5254 MB / 0.7967 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.8708, allocations: 1.772 MB / 0.7984 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8708, allocations: 0 / 0.7984 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.8713, allocations: 124.2 kB / 0.7985 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.8713, allocations: 7.938 kB / 0.7985 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.8714, allocations: 14.5 kB / 0.7986 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.8714, allocations: 10.61 kB / 0.7986 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8714, allocations: 0 / 0.7986 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.8726, allocations: 1.074 MB / 0.7996 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.873, allocations: 231 kB / 0.7998 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.8731, allocations: 19.81 kB / 0.7999 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.8736, allocations: 68.03 kB / 0.7999 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.8737, allocations: 34.05 kB / 0.7999 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.8737, allocations: 18.94 kB / 0.8 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006149/0.8744, allocations: 0.5045 MB / 0.8005 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.433e-06/0.8744, allocations: 4 kB / 0.8005 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008981/0.8753, allocations: 306 kB / 0.8008 GB, free: 5.566 MB / 0.5261 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.0004841/0.8758, allocations: 220.4 kB / 0.801 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009248/0.8767, allocations: 0.6225 MB / 0.8016 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.8767, allocations: 0 / 0.8016 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.877, allocations: 282 kB / 0.8018 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.8791, allocations: 437.1 kB / 0.8023 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.8821, allocations: 2.426 MB / 0.8046 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.8827, allocations: 1.119 MB / 0.8057 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008285/0.8836, allocations: 279.2 kB / 0.806 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.8838, allocations: 78.73 kB / 0.8061 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of SimCode: time 4e-07/0.8838, allocations: 0 / 0.8061 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of Templates: time 0.02584/0.9096, allocations: 15.35 MB / 0.8211 GB, free: 1.605 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)