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.001072/0.001077, allocations: 102.3 kB / 16.27 MB, free: 6.414 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.001313/0.001313, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.442/1.442, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.803/1.803, allocations: 292.3 MB / 0.5495 GB, free: 17.35 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.001414/0.001414, allocations: 67.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2411, allocations: 114.5 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8015/1.043, allocations: 195.1 MB / 0.9745 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02252/1.065, allocations: 14.29 MB / 0.9885 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/1.067, allocations: 31.81 kB / 0.9885 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/1.07, allocations: 0.5007 MB / 0.989 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00714/1.077, allocations: 1.882 MB / 0.9909 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003271/1.08, allocations: 0.8552 MB / 0.9917 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004662/1.085, allocations: 2.555 MB / 0.9942 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/1.087, allocations: 1.114 MB / 0.9953 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005842/1.093, allocations: 1.583 MB / 0.9968 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002397/1.096, allocations: 0.9269 MB / 0.9977 GB, free: 15.62 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004902/1.096, allocations: 108 kB / 0.9978 GB, free: 15.52 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/1.1, allocations: 1.104 MB / 0.9989 GB, free: 14.41 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009879/1.101, allocations: 494.8 kB / 0.9994 GB, free: 13.93 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001993/1.103, allocations: 0.6494 MB / 1 GB, free: 13.28 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004621/1.107, allocations: 1.877 MB / 1.002 GB, free: 11.39 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/1.107, allocations: 0 / 1.002 GB, free: 11.39 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.886e-06/1.107, allocations: 4 kB / 1.002 GB, free: 11.39 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.892e-05/1.107, allocations: 4 kB / 1.002 GB, free: 11.39 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.004416/1.112, allocations: 1.444 MB / 1.003 GB, free: 9.891 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/1.112, allocations: 8.031 kB / 1.003 GB, free: 9.883 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/1.114, allocations: 250.4 kB / 1.004 GB, free: 9.637 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/1.116, allocations: 0.753 MB / 1.004 GB, free: 8.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/1.116, allocations: 74 kB / 1.004 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003391/1.117, allocations: 92 kB / 1.004 GB, free: 8.676 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/1.12, allocations: 1.167 MB / 1.006 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/1.12, allocations: 3.938 kB / 1.006 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.12, allocations: 47.94 kB / 1.006 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/1.12, allocations: 30 kB / 1.006 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/1.122, allocations: 0.9015 MB / 1.006 GB, free: 6.461 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.008777/1.131, allocations: 5.762 MB / 1.012 GB, free: 248 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009169/1.132, allocations: 0.537 MB / 1.013 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/1.132, allocations: 316.3 kB / 1.013 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/1.133, allocations: 311.8 kB / 1.013 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/1.133, allocations: 39 kB / 1.013 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=49): time 2.835e-06/1.133, allocations: 0 / 1.013 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49): time 0.001917/1.135, allocations: 0.8026 MB / 1.014 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/1.135, allocations: 59.84 kB / 1.014 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/1.137, allocations: 0.747 MB / 1.015 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/1.137, allocations: 37.7 kB / 1.015 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/1.137, allocations: 0.5065 MB / 1.015 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/1.138, allocations: 177.4 kB / 1.016 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/1.138, allocations: 138.6 kB / 1.016 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002693/1.138, allocations: 337.9 kB / 1.016 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/1.139, allocations: 253.8 kB / 1.016 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/1.14, allocations: 0.5644 MB / 1.017 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.141, allocations: 0.7976 MB / 1.018 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.141, allocations: 0 / 1.018 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001889/1.143, allocations: 0.8468 MB / 1.018 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/1.143, allocations: 8 kB / 1.018 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/1.143, allocations: 9.312 kB / 1.018 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/1.143, allocations: 12 kB / 1.018 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/1.144, allocations: 155.7 kB / 1.019 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/1.144, allocations: 15.94 kB / 1.019 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.145, allocations: 87.11 kB / 1.019 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/1.145, allocations: 43.92 kB / 1.019 GB, free: 9.102 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.0006663/1.145, allocations: 325.5 kB / 1.019 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/1.146, allocations: 86.97 kB / 1.019 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/1.147, allocations: 0.6178 MB / 1.02 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/1.147, allocations: 8 kB / 1.02 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.147, allocations: 1.875 kB / 1.02 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008994/1.148, allocations: 0.5134 MB / 1.02 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/1.151, allocations: 1.656 MB / 1.022 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.151, allocations: 7.938 kB / 1.022 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/1.152, allocations: 120 kB / 1.022 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/1.152, allocations: 4 kB / 1.022 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/1.152, allocations: 15.98 kB / 1.022 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.152, allocations: 4 kB / 1.022 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.152, allocations: 7.938 kB / 1.022 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/1.154, allocations: 1.05 MB / 1.023 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/1.154, allocations: 223.9 kB / 1.023 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/1.155, allocations: 12 kB / 1.023 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/1.155, allocations: 18.67 kB / 1.023 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/1.155, allocations: 39.84 kB / 1.023 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/1.155, allocations: 19.98 kB / 1.023 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000958/1.156, allocations: 0.5107 MB / 1.024 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/1.156, allocations: 0 / 1.024 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001176/1.157, allocations: 303.2 kB / 1.024 GB, free: 3.418 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.0007187/1.158, allocations: 203.4 kB / 1.024 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0015/1.16, allocations: 0.7045 MB / 1.025 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.16, allocations: 4 kB / 1.025 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/1.16, allocations: 284.9 kB / 1.025 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/1.163, allocations: 446.8 kB / 1.026 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/1.167, allocations: 2.008 MB / 1.028 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.168, allocations: 1.118 MB / 1.029 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/1.169, allocations: 75.42 kB / 1.029 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of SimCode: time 1.352e-06/1.169, allocations: 4 kB / 1.029 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of Templates: time 0.03355/1.202, allocations: 14.55 MB / 1.043 GB, free: 236 kB / 0.8262 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)