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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 182.7 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4559/0.4559, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 105.2 kB / 420 MB, free: 8.512 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 55.91 kB / 0.4891 GB, free: 7.727 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.309, allocations: 70.07 MB / 0.5575 GB, free: 44.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4886/0.7977, allocations: 192.8 MB / 0.7458 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.8115, allocations: 14.4 MB / 0.7599 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.8131, allocations: 34.19 kB / 0.7599 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.8145, allocations: 426.2 kB / 0.7603 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00442/0.819, allocations: 1.769 MB / 0.762 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.8211, allocations: 0.7688 MB / 0.7628 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003532/0.8247, allocations: 3.634 MB / 0.7663 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.826, allocations: 0.947 MB / 0.7673 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005356/0.8314, allocations: 1.457 MB / 0.7687 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.8334, allocations: 0.9627 MB / 0.7696 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.8335, allocations: 61.09 kB / 0.7697 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.8359, allocations: 1.254 MB / 0.7709 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.8364, allocations: 468.3 kB / 0.7714 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006709/0.837, allocations: 0.5867 MB / 0.7719 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.8396, allocations: 1.929 MB / 0.7738 GB, free: 88 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.8397, allocations: 0 / 0.7738 GB, free: 88 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8397, allocations: 0 / 0.7738 GB, free: 88 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.8397, allocations: 0 / 0.7738 GB, free: 88 kB / 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.002975/0.8427, allocations: 1.455 MB / 0.7752 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8427, allocations: 8.438 kB / 0.7753 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.8441, allocations: 250.8 kB / 0.7755 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.8455, allocations: 0.7495 MB / 0.7762 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/0.8455, allocations: 81.81 kB / 0.7763 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.8457, allocations: 93.06 kB / 0.7764 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.8476, allocations: 1.172 MB / 0.7775 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.8476, allocations: 5.25 kB / 0.7775 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/0.8477, allocations: 35.28 kB / 0.7776 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.8477, allocations: 42.72 kB / 0.7776 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.849, allocations: 0.897 MB / 0.7785 GB, free: 14.67 MB / 0.5261 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.005805/0.8548, allocations: 5.729 MB / 0.7841 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008256/0.8556, allocations: 0.5378 MB / 0.7846 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.856, allocations: 316.7 kB / 0.7849 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/0.8566, allocations: 313.9 kB / 0.7852 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.8567, allocations: 45.09 kB / 0.7853 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 2.776e-06/0.8567, allocations: 0 / 0.7853 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.001553/0.8582, allocations: 0.8055 MB / 0.786 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.8583, allocations: 57.28 kB / 0.7861 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.8593, allocations: 0.7479 MB / 0.7868 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.8594, allocations: 36.36 kB / 0.7869 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.8598, allocations: 0.5193 MB / 0.7874 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.8599, allocations: 180 kB / 0.7875 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.8601, allocations: 139 kB / 0.7877 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8602, allocations: 331 kB / 0.788 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.8606, allocations: 249 kB / 0.7882 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.8612, allocations: 0.5619 MB / 0.7888 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008987/0.8621, allocations: 0.795 MB / 0.7895 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.8621, allocations: 2.906 kB / 0.7896 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001175/0.8633, allocations: 0.8482 MB / 0.7904 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.8633, allocations: 9.625 kB / 0.7904 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.8633, allocations: 7.781 kB / 0.7904 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.8633, allocations: 16.94 kB / 0.7904 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.8639, allocations: 159.3 kB / 0.7906 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.8639, allocations: 13.69 kB / 0.7906 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.8649, allocations: 150 kB / 0.7907 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.865, allocations: 37.58 kB / 0.7908 GB, free: 5.926 MB / 0.5261 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.0005519/0.8656, allocations: 323.4 kB / 0.7911 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.8657, allocations: 94.56 kB / 0.7912 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.8668, allocations: 0.621 MB / 0.7918 GB, free: 5.262 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.8668, allocations: 4 kB / 0.7918 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8668, allocations: 4 kB / 0.7918 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007475/0.8676, allocations: 0.5236 MB / 0.7923 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.8702, allocations: 1.663 MB / 0.7939 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.8702, allocations: 8.031 kB / 0.7939 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.8707, allocations: 101.1 kB / 0.794 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.8708, allocations: 4 kB / 0.794 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.8708, allocations: 19.98 kB / 0.794 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.8708, allocations: 6.531 kB / 0.794 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.8708, allocations: 7.875 kB / 0.794 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006344/0.8772, allocations: 4.63 MB / 0.7986 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.8775, allocations: 220.1 kB / 0.7988 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.8776, allocations: 12 kB / 0.7988 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.8782, allocations: 67.78 kB / 0.7989 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.8783, allocations: 46.41 kB / 0.7989 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.8783, allocations: 20 kB / 0.7989 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000594/0.8789, allocations: 0.5107 MB / 0.7994 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8789, allocations: 4 kB / 0.7994 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00174/0.8807, allocations: 435.3 kB / 0.7998 GB, free: 12.75 MB / 0.5417 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.0004701/0.8811, allocations: 203 kB / 0.8 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009905/0.8821, allocations: 0.6042 MB / 0.8006 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8821, allocations: 0 / 0.8006 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.8825, allocations: 276.4 kB / 0.8009 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.8845, allocations: 438.6 kB / 0.8013 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.8881, allocations: 2.644 MB / 0.8039 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.8889, allocations: 1.138 MB / 0.805 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009262/0.8898, allocations: 275.1 kB / 0.8053 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.89, allocations: 71.42 kB / 0.8053 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/0.89, allocations: 0 / 0.8053 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of Templates: time 0.02799/0.918, allocations: 16.18 MB / 0.8211 GB, free: 7.188 MB / 0.5573 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)