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.00168/0.00168, allocations: 101 kB / 16.29 MB, free: 6.016 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.00155/0.00155, allocations: 185.8 kB / 17.22 MB, free: 5.621 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.534/1.534, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.917/1.917, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001401/0.001401, allocations: 78.22 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2359, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6804/0.9164, allocations: 195.1 MB / 0.9746 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.9353, allocations: 14.28 MB / 0.9885 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.937, allocations: 39.75 kB / 0.9886 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.9391, allocations: 0.4891 MB / 0.9891 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.945, allocations: 1.887 MB / 0.9909 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.9481, allocations: 0.8593 MB / 0.9917 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003835/0.952, allocations: 2.567 MB / 0.9942 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.954, allocations: 1.105 MB / 0.9953 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004961/0.959, allocations: 1.598 MB / 0.9969 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.9611, allocations: 0.9223 MB / 0.9978 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000428/0.9615, allocations: 111.9 kB / 0.9979 GB, free: 15.64 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/0.9647, allocations: 1.095 MB / 0.999 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.9659, allocations: 0.4949 MB / 0.9994 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00235/0.9683, allocations: 0.6377 MB / 1 GB, free: 13.4 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.9727, allocations: 1.909 MB / 1.002 GB, free: 11.49 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.9728, allocations: 0.5625 kB / 1.002 GB, free: 11.49 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9728, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.997e-05/0.9728, allocations: 0 / 1.002 GB, free: 11.49 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.002991/0.9758, allocations: 1.452 MB / 1.003 GB, free: 9.984 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.9759, allocations: 8.031 kB / 1.003 GB, free: 9.977 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.9773, allocations: 250.4 kB / 1.004 GB, free: 9.73 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.9786, allocations: 0.7541 MB / 1.004 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.9786, allocations: 78 kB / 1.004 GB, free: 8.855 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.9788, allocations: 92 kB / 1.004 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.9805, allocations: 1.165 MB / 1.006 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.9806, allocations: 3.938 kB / 1.006 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.9807, allocations: 43.94 kB / 1.006 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/0.9807, allocations: 37.98 kB / 1.006 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.9821, allocations: 0.8976 MB / 1.007 GB, free: 6.551 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.006426/0.9885, allocations: 5.737 MB / 1.012 GB, free: 368 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009008/0.9894, allocations: 0.5253 MB / 1.013 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.9899, allocations: 318.6 kB / 1.013 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006774/0.9906, allocations: 315.7 kB / 1.013 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.9906, allocations: 41.06 kB / 1.013 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=49): time 3.957e-06/0.9907, allocations: 0 / 1.013 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49): time 0.001785/0.9924, allocations: 0.7987 MB / 1.014 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.9925, allocations: 63.78 kB / 1.014 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.9936, allocations: 0.7431 MB / 1.015 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.9937, allocations: 37.7 kB / 1.015 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.9942, allocations: 0.5065 MB / 1.015 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.9944, allocations: 177.4 kB / 1.016 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.9947, allocations: 134.6 kB / 1.016 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9948, allocations: 337.9 kB / 1.016 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.9953, allocations: 257.8 kB / 1.016 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/0.996, allocations: 0.5566 MB / 1.017 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.9971, allocations: 0.7956 MB / 1.018 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.9971, allocations: 0 / 1.018 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001401/0.9985, allocations: 0.8504 MB / 1.018 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.9985, allocations: 8 kB / 1.018 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.9985, allocations: 8 kB / 1.018 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.9986, allocations: 12 kB / 1.018 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.9992, allocations: 151.8 kB / 1.019 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/0.9992, allocations: 19.92 kB / 1.019 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/1, allocations: 95.36 kB / 1.019 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/1, allocations: 39.94 kB / 1.019 GB, free: 9.227 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.0005462/1.001, allocations: 329.4 kB / 1.019 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/1.001, allocations: 86.97 kB / 1.019 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/1.002, allocations: 0.61 MB / 1.02 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.002, allocations: 8 kB / 1.02 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.002, allocations: 1.625 kB / 1.02 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007178/1.003, allocations: 0.525 MB / 1.02 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/1.005, allocations: 1.656 MB / 1.022 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.005, allocations: 12.16 kB / 1.022 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/1.006, allocations: 115.8 kB / 1.022 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/1.006, allocations: 4 kB / 1.022 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/1.006, allocations: 12 kB / 1.022 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.006, allocations: 4 kB / 1.022 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.006, allocations: 4 kB / 1.022 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/1.007, allocations: 1.05 MB / 1.023 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/1.008, allocations: 223.9 kB / 1.023 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/1.008, allocations: 19.31 kB / 1.023 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/1.008, allocations: 15.98 kB / 1.023 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/1.008, allocations: 31.95 kB / 1.023 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/1.008, allocations: 20 kB / 1.023 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007012/1.009, allocations: 0.5068 MB / 1.024 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of sort global known variables: time 5.51e-07/1.009, allocations: 0 / 1.024 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001013/1.01, allocations: 307.2 kB / 1.024 GB, free: 3.547 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.000591/1.011, allocations: 208 kB / 1.024 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.012, allocations: 0.6084 MB / 1.025 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.012, allocations: 0 / 1.025 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/1.012, allocations: 275.5 kB / 1.025 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.014, allocations: 439.7 kB / 1.026 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/1.017, allocations: 1.904 MB / 1.028 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008892/1.018, allocations: 1.118 MB / 1.029 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008403/1.019, allocations: 278.6 kB / 1.029 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/1.019, allocations: 71.42 kB / 1.029 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of SimCode: time 1.176e-05/1.019, allocations: 0 / 1.029 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.02993/1.049, allocations: 15.43 MB / 1.044 GB, free: 15.58 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)