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.0009065/0.0009065, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.00102/0.00102, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.627/1.627, allocations: 292.5 MB / 0.5497 GB, free: 14.59 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.0005491/0.0005492, allocations: 17.78 kB / 0.6735 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2387, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.657/0.8957, allocations: 161.8 MB / 0.9451 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.9118, allocations: 12.14 MB / 0.957 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.9135, allocations: 27 kB / 0.957 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.9155, allocations: 0.4944 MB / 0.9575 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005886/0.9214, allocations: 1.532 MB / 0.959 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.925, allocations: 0.9437 MB / 0.9599 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.9282, allocations: 1.475 MB / 0.9613 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.9298, allocations: 0.8237 MB / 0.9621 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003131/0.9329, allocations: 1.106 MB / 0.9632 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.9343, allocations: 0.6219 MB / 0.9638 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.9344, allocations: 48.72 kB / 0.9639 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.9364, allocations: 0.5344 MB / 0.9644 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004809/0.9369, allocations: 413.1 kB / 0.9648 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.9374, allocations: 251.9 kB / 0.965 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.9389, allocations: 1.304 MB / 0.9663 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.9389, allocations: 0 / 0.9663 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.276e-06/0.9389, allocations: 4 kB / 0.9663 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.939, allocations: 1.859 kB / 0.9663 GB, free: 4.914 MB / 0.7169 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.002232/0.9412, allocations: 1.234 MB / 0.9675 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.9413, allocations: 14.06 kB / 0.9675 GB, free: 20.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.9426, allocations: 254.8 kB / 0.9678 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.9441, allocations: 0.7497 MB / 0.9685 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.9442, allocations: 69.03 kB / 0.9686 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.9443, allocations: 96.22 kB / 0.9686 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.9461, allocations: 1.16 MB / 0.9698 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.9461, allocations: 1.469 kB / 0.9698 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.9462, allocations: 45.19 kB / 0.9698 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.9462, allocations: 35.97 kB / 0.9699 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.9474, allocations: 0.8969 MB / 0.9707 GB, free: 19.55 MB / 0.7325 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.00525/0.9527, allocations: 5.724 MB / 0.9763 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.9534, allocations: 0.5717 MB / 0.9769 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/0.9538, allocations: 149.5 kB / 0.977 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.9538, allocations: 44.33 kB / 0.9771 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 2.715e-06/0.9538, allocations: 0 / 0.9771 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.001463/0.9553, allocations: 0.8232 MB / 0.9779 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.9553, allocations: 87.48 kB / 0.978 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008086/0.9562, allocations: 0.7438 MB / 0.9787 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.9562, allocations: 36.48 kB / 0.9787 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.9565, allocations: 0.5083 MB / 0.9792 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.9567, allocations: 188.7 kB / 0.9794 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.9567, allocations: 13.19 kB / 0.9794 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9569, allocations: 334.7 kB / 0.9797 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.9572, allocations: 252.5 kB / 0.98 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.9578, allocations: 0.5793 MB / 0.9805 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.9582, allocations: 350.5 kB / 0.9809 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.9582, allocations: 8.875 kB / 0.9809 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001141/0.9594, allocations: 0.8499 MB / 0.9817 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.9594, allocations: 16.95 kB / 0.9817 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.9594, allocations: 8.438 kB / 0.9817 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.9595, allocations: 13.94 kB / 0.9817 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.96, allocations: 160.2 kB / 0.9819 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.9601, allocations: 13.22 kB / 0.9819 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.9611, allocations: 142 kB / 0.982 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.9612, allocations: 32.75 kB / 0.9821 GB, free: 13.93 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006189/0.9618, allocations: 332.6 kB / 0.9824 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.962, allocations: 86.53 kB / 0.9825 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.9631, allocations: 0.6415 MB / 0.9831 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.9631, allocations: 4.875 kB / 0.9831 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9631, allocations: 0 / 0.9831 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007292/0.9639, allocations: 0.5207 MB / 0.9836 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.9669, allocations: 1.783 MB / 0.9854 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.9669, allocations: 2.875 kB / 0.9854 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.9674, allocations: 116.4 kB / 0.9855 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.9674, allocations: 2.438 kB / 0.9855 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.9674, allocations: 14.66 kB / 0.9855 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.9675, allocations: 7.281 kB / 0.9855 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.9675, allocations: 1.969 kB / 0.9855 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.9688, allocations: 1.168 MB / 0.9866 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.9692, allocations: 228.9 kB / 0.9869 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.9693, allocations: 14.5 kB / 0.9869 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.9699, allocations: 68.44 kB / 0.9869 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.97, allocations: 39.06 kB / 0.987 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.97, allocations: 17.5 kB / 0.987 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006048/0.9706, allocations: 0.5056 MB / 0.9875 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9706, allocations: 4.828 kB / 0.9875 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001058/0.9717, allocations: 300.3 kB / 0.9878 GB, free: 11.74 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004902/0.9722, allocations: 208.1 kB / 0.988 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009225/0.9731, allocations: 0.6245 MB / 0.9886 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.9731, allocations: 3.25 kB / 0.9886 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.9735, allocations: 275.5 kB / 0.9888 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.9753, allocations: 435.5 kB / 0.9893 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.9784, allocations: 2.366 MB / 0.9916 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.9791, allocations: 1.148 MB / 0.9927 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008536/0.9799, allocations: 275.4 kB / 0.993 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.9801, allocations: 82.06 kB / 0.993 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.9801, allocations: 0 / 0.993 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of Templates: time 0.02741/1.008, allocations: 14.83 MB / 1.008 GB, free: 1.68 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: