Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7255/0.7255, allocations: 131 MB / 146.3 MB, free: 1.332 MB / 106.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.0009494/0.0009494, allocations: 180.2 kB / 176.4 MB, free: 4.906 MB / 138.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.578/1.578, allocations: 225.7 MB / 431.9 MB, free: 8.789 MB / 314.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.0008347/0.0008347, allocations: 93.66 kB / 0.5003 GB, free: 9.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.000403, allocations: 12 kB / 0.5885 GB, free: 72.69 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 79.59 MB / 0.6663 GB, free: 8.93 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.482/0.6586, allocations: 192.3 MB / 0.8541 GB, free: 8.461 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01982/0.6785, allocations: 18.09 MB / 0.8717 GB, free: 5.355 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.6801, allocations: 31.81 kB / 0.8718 GB, free: 5.324 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.6819, allocations: 0.4897 MB / 0.8723 GB, free: 4.832 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004827/0.6868, allocations: 1.761 MB / 0.874 GB, free: 3.066 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.6897, allocations: 0.8973 MB / 0.8748 GB, free: 2.168 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.004982/0.6947, allocations: 4.258 MB / 0.879 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001802/0.6965, allocations: 0.9822 MB / 0.88 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004029/0.7005, allocations: 1.619 MB / 0.8815 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.7029, allocations: 1.027 MB / 0.8825 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003458/0.7033, allocations: 52 kB / 0.8826 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.7056, allocations: 0.9508 MB / 0.8835 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0007674/0.7063, allocations: 494.7 kB / 0.884 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.7076, allocations: 0.6703 MB / 0.8847 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.7107, allocations: 2.161 MB / 0.8868 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.7107, allocations: 0 / 0.8868 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.205e-06/0.7107, allocations: 0 / 0.8868 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.052e-05/0.7108, allocations: 3.938 kB / 0.8868 GB, free: 5.898 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002716/0.7135, allocations: 1.345 MB / 0.8881 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.7136, allocations: 8.031 kB / 0.8881 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.7151, allocations: 238.4 kB / 0.8883 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.7168, allocations: 0.7842 MB / 0.8891 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/0.7169, allocations: 82.03 kB / 0.8892 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.7172, allocations: 104 kB / 0.8893 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.7194, allocations: 1.3 MB / 0.8905 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.7194, allocations: 0 / 0.8905 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.7196, allocations: 47.98 kB / 0.8906 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.7196, allocations: 42 kB / 0.8906 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.7213, allocations: 1.03 MB / 0.8916 GB, free: 0.7266 MB / 0.5886 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.007264/0.7286, allocations: 6.126 MB / 0.8976 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.7294, allocations: 0.5389 MB / 0.8981 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.7299, allocations: 325.3 kB / 0.8984 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.7304, allocations: 238.6 kB / 0.8987 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.7304, allocations: 39 kB / 0.8987 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=52): time 2.164e-06/0.7304, allocations: 0 / 0.8987 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.001527/0.732, allocations: 0.8065 MB / 0.8995 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.732, allocations: 81.55 kB / 0.8996 GB, free: 7.996 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.7332, allocations: 0.8175 MB / 0.9004 GB, free: 7.172 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/0.7333, allocations: 41.83 kB / 0.9004 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.7338, allocations: 0.5491 MB / 0.9009 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.734, allocations: 189.3 kB / 0.9011 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.7341, allocations: 16 kB / 0.9011 GB, free: 6.363 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.7342, allocations: 337.9 kB / 0.9015 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.7347, allocations: 281.8 kB / 0.9017 GB, free: 5.754 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.7354, allocations: 0.6239 MB / 0.9023 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.7365, allocations: 0.9013 MB / 0.9032 GB, free: 3.945 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.7365, allocations: 4 kB / 0.9032 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001469/0.738, allocations: 0.9763 MB / 0.9042 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.738, allocations: 41.69 kB / 0.9042 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.7381, allocations: 12.16 kB / 0.9042 GB, free: 2.895 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.7381, allocations: 16 kB / 0.9042 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.7387, allocations: 183.7 kB / 0.9044 GB, free: 2.699 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.7387, allocations: 19.88 kB / 0.9044 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000908/0.7396, allocations: 158.8 kB / 0.9046 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.7397, allocations: 43.98 kB / 0.9046 GB, free: 2.48 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.0004424/0.7402, allocations: 345.6 kB / 0.905 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.7403, allocations: 106.7 kB / 0.9051 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008828/0.7412, allocations: 0.6183 MB / 0.9057 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.7412, allocations: 8 kB / 0.9057 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7412, allocations: 4 kB / 0.9057 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006417/0.7419, allocations: 0.5095 MB / 0.9062 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.7442, allocations: 1.688 MB / 0.9078 GB, free: 15.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.7442, allocations: 4.062 kB / 0.9078 GB, free: 15.1 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.7448, allocations: 120 kB / 0.9079 GB, free: 14.98 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.7448, allocations: 4 kB / 0.9079 GB, free: 14.98 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.7448, allocations: 16 kB / 0.908 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.7448, allocations: 4 kB / 0.908 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7448, allocations: 3.938 kB / 0.908 GB, free: 14.95 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.7461, allocations: 1.134 MB / 0.9091 GB, free: 13.78 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.7464, allocations: 251.8 kB / 0.9093 GB, free: 13.52 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.7465, allocations: 12 kB / 0.9093 GB, free: 13.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/0.7472, allocations: 67.88 kB / 0.9094 GB, free: 13.44 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.7473, allocations: 35.89 kB / 0.9094 GB, free: 13.4 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.7473, allocations: 27.98 kB / 0.9095 GB, free: 13.38 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.0006247/0.7479, allocations: 0.5497 MB / 0.91 GB, free: 12.83 MB / 0.6199 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7479, allocations: 0 / 0.91 GB, free: 12.83 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0008546/0.7488, allocations: 331.2 kB / 0.9103 GB, free: 12.51 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.0004683/0.7493, allocations: 222.7 kB / 0.9105 GB, free: 12.3 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.001/0.7503, allocations: 0.7215 MB / 0.9112 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7503, allocations: 0 / 0.9112 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/0.7507, allocations: 276.2 kB / 0.9115 GB, free: 11.3 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.7529, allocations: 479.4 kB / 0.9119 GB, free: 10.83 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.7562, allocations: 2.573 MB / 0.9145 GB, free: 8.207 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.7569, allocations: 1.154 MB / 0.9156 GB, free: 7.027 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0009223/0.7578, allocations: 271.7 kB / 0.9158 GB, free: 6.758 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.758, allocations: 71.42 kB / 0.9159 GB, free: 6.688 MB / 0.6199 GB Notification: Performance of SimCode: time 1.022e-06/0.758, allocations: 0 / 0.9159 GB, free: 6.688 MB / 0.6199 GB Notification: Performance of Templates: time 0.02567/0.7837, allocations: 16.81 MB / 0.9323 GB, free: 6.121 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)