Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008617/0.0008618, allocations: 88.27 kB / 16.66 MB, free: 6.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 176.6 kB / 17.57 MB, free: 5.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.741/0.741, allocations: 115.5 MB / 408.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4367, allocations: 77.52 MB / 0.5606 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.2112/0.648, allocations: 190.3 MB / 0.7464 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4239/1.072, allocations: 14.19 MB / 0.7603 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/1.073, allocations: 33.84 kB / 0.7603 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/1.075, allocations: 419.3 kB / 0.7607 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006016/1.081, allocations: 1.78 MB / 0.7624 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002823/1.084, allocations: 0.7735 MB / 0.7632 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006103/1.09, allocations: 3.616 MB / 0.7667 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/1.092, allocations: 0.9196 MB / 0.7676 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005359/1.098, allocations: 1.396 MB / 0.769 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/1.1, allocations: 0.9146 MB / 0.7699 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/1.1, allocations: 50.06 kB / 0.7699 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/1.104, allocations: 1.243 MB / 0.7711 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006431/1.104, allocations: 451.5 kB / 0.7716 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/1.105, allocations: 0.585 MB / 0.7722 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/1.107, allocations: 1.405 MB / 0.7735 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.107, allocations: 0 / 0.7735 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/1.107, allocations: 0 / 0.7735 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.685e-05/1.107, allocations: 0 / 0.7735 GB, free: 17.57 MB / 0.5919 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.002138/1.11, allocations: 1.232 MB / 0.7747 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.11, allocations: 12.06 kB / 0.7747 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/1.111, allocations: 256.1 kB / 0.775 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/1.113, allocations: 0.7488 MB / 0.7757 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.125e-05/1.113, allocations: 72.75 kB / 0.7758 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/1.113, allocations: 91.56 kB / 0.7759 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/1.115, allocations: 1.176 MB / 0.777 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/1.115, allocations: 4.188 kB / 0.777 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/1.115, allocations: 41.31 kB / 0.7771 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/1.115, allocations: 36 kB / 0.7771 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/1.117, allocations: 0.9023 MB / 0.778 GB, free: 16.19 MB / 0.5919 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.006122/1.123, allocations: 5.737 MB / 0.7836 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.124, allocations: 0.5323 MB / 0.7841 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/1.125, allocations: 321.7 kB / 0.7844 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006889/1.125, allocations: 331.6 kB / 0.7847 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.125, allocations: 38.12 kB / 0.7848 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 3.356e-06/1.125, allocations: 0 / 0.7848 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001831/1.127, allocations: 0.8019 MB / 0.7855 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/1.127, allocations: 60.19 kB / 0.7856 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009331/1.128, allocations: 0.7522 MB / 0.7863 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/1.128, allocations: 35.14 kB / 0.7864 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/1.129, allocations: 0.504 MB / 0.7869 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/1.129, allocations: 183.3 kB / 0.787 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/1.129, allocations: 58.09 kB / 0.7871 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.129, allocations: 340.8 kB / 0.7874 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/1.129, allocations: 248.3 kB / 0.7877 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/1.13, allocations: 0.5557 MB / 0.7882 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009021/1.131, allocations: 0.7942 MB / 0.789 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.131, allocations: 1.969 kB / 0.789 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00116/1.132, allocations: 0.8513 MB / 0.7898 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.132, allocations: 8.938 kB / 0.7898 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.132, allocations: 8.781 kB / 0.7898 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.132, allocations: 11.47 kB / 0.7898 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/1.133, allocations: 154.5 kB / 0.79 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/1.133, allocations: 14.72 kB / 0.79 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.134, allocations: 158.6 kB / 0.7901 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/1.134, allocations: 34.7 kB / 0.7902 GB, free: 10.21 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0004832/1.134, allocations: 333.1 kB / 0.7905 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.134, allocations: 90.98 kB / 0.7906 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009854/1.135, allocations: 0.6191 MB / 0.7912 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.135, allocations: 5.938 kB / 0.7912 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.135, allocations: 0 / 0.7912 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006811/1.136, allocations: 0.5163 MB / 0.7917 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/1.139, allocations: 1.676 MB / 0.7933 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.139, allocations: 1.969 kB / 0.7933 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/1.139, allocations: 112 kB / 0.7934 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/1.139, allocations: 3.125 kB / 0.7934 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/1.139, allocations: 17.62 kB / 0.7935 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/1.139, allocations: 7.125 kB / 0.7935 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.139, allocations: 9.719 kB / 0.7935 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/1.14, allocations: 1.014 MB / 0.7945 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/1.141, allocations: 221.1 kB / 0.7947 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.141, allocations: 15.84 kB / 0.7947 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/1.142, allocations: 65.36 kB / 0.7948 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/1.142, allocations: 41.42 kB / 0.7948 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/1.142, allocations: 15.25 kB / 0.7948 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000613/1.142, allocations: 0.5083 MB / 0.7953 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.794e-06/1.142, allocations: 0 / 0.7953 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001005/1.143, allocations: 304.8 kB / 0.7956 GB, free: 8.977 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (49): * Single equations (assignments): 49 * 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.0005392/1.144, allocations: 202.2 kB / 0.7958 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008849/1.145, allocations: 0.6066 MB / 0.7964 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.145, allocations: 1.938 kB / 0.7964 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/1.145, allocations: 265.8 kB / 0.7966 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.147, allocations: 437.1 kB / 0.7971 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/1.151, allocations: 2.497 MB / 0.7995 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/1.151, allocations: 1.124 MB / 0.8006 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/1.152, allocations: 78.98 kB / 0.8007 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/1.152, allocations: 0 / 0.8007 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of Templates: time 0.02511/1.177, allocations: 14.49 MB / 0.8148 GB, free: 0.707 MB / 0.5919 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)