Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001211/0.001211, allocations: 104 kB / 16.36 MB, free: 6.301 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.001301/0.001301, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2304, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5914/0.8218, allocations: 195.1 MB / 0.9753 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.8406, allocations: 14.29 MB / 0.9893 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.8421, allocations: 35.81 kB / 0.9893 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.8436, allocations: 0.4929 MB / 0.9898 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.8486, allocations: 1.878 MB / 0.9916 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.851, allocations: 0.8636 MB / 0.9925 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003451/0.8545, allocations: 2.558 MB / 0.9949 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.856, allocations: 1.103 MB / 0.996 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005389/0.8614, allocations: 1.603 MB / 0.9976 GB, free: 212 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.8633, allocations: 0.9218 MB / 0.9985 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.8636, allocations: 108 kB / 0.9986 GB, free: 15.18 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.8659, allocations: 1.099 MB / 0.9997 GB, free: 14.08 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.8664, allocations: 0.4949 MB / 1 GB, free: 13.58 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007549/0.8672, allocations: 0.6338 MB / 1.001 GB, free: 12.95 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.8696, allocations: 1.909 MB / 1.003 GB, free: 11.03 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8697, allocations: 8 kB / 1.003 GB, free: 11.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8697, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.8697, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.795 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.002257/0.872, allocations: 1.44 MB / 1.004 GB, free: 9.531 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.872, allocations: 11.97 kB / 1.004 GB, free: 9.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.8733, allocations: 258.4 kB / 1.004 GB, free: 9.266 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.8746, allocations: 0.7843 MB / 1.005 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/0.8747, allocations: 66 kB / 1.005 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.8748, allocations: 95.98 kB / 1.005 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.8765, allocations: 1.165 MB / 1.006 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.8765, allocations: 7.938 kB / 1.006 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-05/0.8766, allocations: 43.94 kB / 1.006 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.8767, allocations: 37.98 kB / 1.006 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.878, allocations: 0.9015 MB / 1.007 GB, free: 6.055 MB / 0.795 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.005596/0.8836, allocations: 5.729 MB / 1.013 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.8844, allocations: 0.5291 MB / 1.013 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.8849, allocations: 322.6 kB / 1.014 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/0.8854, allocations: 315.7 kB / 1.014 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.8855, allocations: 39 kB / 1.014 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=49): time 2.565e-06/0.8855, allocations: 0 / 1.014 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49): time 0.001465/0.887, allocations: 0.7948 MB / 1.015 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.887, allocations: 55.84 kB / 1.015 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008733/0.8879, allocations: 0.7509 MB / 1.016 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.888, allocations: 37.7 kB / 1.016 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.8883, allocations: 0.5065 MB / 1.016 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.8885, allocations: 181.4 kB / 1.016 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.8887, allocations: 142.6 kB / 1.016 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.8888, allocations: 337.9 kB / 1.017 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.8892, allocations: 241.9 kB / 1.017 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.8898, allocations: 0.5612 MB / 1.018 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.8908, allocations: 0.7995 MB / 1.018 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.8908, allocations: 7.938 kB / 1.018 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001267/0.8921, allocations: 0.839 MB / 1.019 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.8922, allocations: 12 kB / 1.019 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.8922, allocations: 8 kB / 1.019 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.8922, allocations: 12 kB / 1.019 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.8928, allocations: 155.8 kB / 1.019 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.8928, allocations: 19.92 kB / 1.019 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.8935, allocations: 94 kB / 1.019 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/0.8936, allocations: 37.06 kB / 1.02 GB, free: 8.734 MB / 0.8106 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.0004678/0.8941, allocations: 333.5 kB / 1.02 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.8942, allocations: 82.97 kB / 1.02 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009574/0.8951, allocations: 0.6139 MB / 1.021 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.8952, allocations: 4 kB / 1.021 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8952, allocations: 0 / 1.021 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006876/0.8959, allocations: 0.5211 MB / 1.021 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.8983, allocations: 1.671 MB / 1.023 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8983, allocations: 1.562 kB / 1.023 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/0.8988, allocations: 112.1 kB / 1.023 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.8988, allocations: 8 kB / 1.023 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.8989, allocations: 16 kB / 1.023 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.8989, allocations: 4 kB / 1.023 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8989, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.9002, allocations: 1.05 MB / 1.024 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.9006, allocations: 224 kB / 1.024 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/0.9007, allocations: 15.98 kB / 1.024 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.9011, allocations: 19.94 kB / 1.024 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.9012, allocations: 39.89 kB / 1.024 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.9012, allocations: 18 kB / 1.024 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006137/0.9018, allocations: 0.5068 MB / 1.025 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.432e-06/0.9018, allocations: 0 / 1.025 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008835/0.9027, allocations: 311.1 kB / 1.025 GB, free: 3.043 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.0004869/0.9032, allocations: 202.2 kB / 1.025 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009668/0.9042, allocations: 0.6071 MB / 1.026 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9042, allocations: 0 / 1.026 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.9046, allocations: 277.2 kB / 1.026 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.9065, allocations: 446.9 kB / 1.026 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.9095, allocations: 1.988 MB / 1.028 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.9102, allocations: 1.118 MB / 1.029 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.9105, allocations: 79.42 kB / 1.03 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of SimCode: time 1.382e-06/0.9105, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of Templates: time 0.02299/0.9335, allocations: 14.55 MB / 1.044 GB, free: 15.99 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)