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.000807/0.000807, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.000895/0.0008951, allocations: 168.7 kB / 15.95 MB, free: 204 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.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.751/1.751, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005381/0.0005382, allocations: 14.38 kB / 0.6737 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2281, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7501/0.9782, allocations: 177.5 MB / 0.9607 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01641/0.9946, allocations: 13.26 MB / 0.9736 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.9963, allocations: 28.16 kB / 0.9737 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.9978, allocations: 344.3 kB / 0.974 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005419/1.003, allocations: 1.374 MB / 0.9753 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/1.006, allocations: 0.6662 MB / 0.976 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004509/1.01, allocations: 3.041 MB / 0.9789 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/1.012, allocations: 0.8073 MB / 0.9797 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/1.015, allocations: 1.21 MB / 0.9809 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/1.017, allocations: 0.8743 MB / 0.9818 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/1.017, allocations: 49.78 kB / 0.9818 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/1.019, allocations: 0.5741 MB / 0.9824 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004634/1.019, allocations: 441.5 kB / 0.9828 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005423/1.02, allocations: 251.1 kB / 0.983 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/1.021, allocations: 1.359 MB / 0.9844 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.021, allocations: 3.062 kB / 0.9844 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.834e-06/1.021, allocations: 0 / 0.9844 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.757e-05/1.021, allocations: 0 / 0.9844 GB, free: 17.48 MB / 0.7325 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.002084/1.023, allocations: 1.239 MB / 0.9856 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.023, allocations: 8.594 kB / 0.9856 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/1.025, allocations: 250.8 kB / 0.9858 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.026, allocations: 0.8157 MB / 0.9866 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/1.026, allocations: 70.25 kB / 0.9867 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/1.026, allocations: 94.78 kB / 0.9868 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/1.028, allocations: 1.172 MB / 0.9879 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/1.028, allocations: 3.281 kB / 0.9879 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/1.028, allocations: 35.75 kB / 0.988 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/1.028, allocations: 36.36 kB / 0.988 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/1.029, allocations: 0.9105 MB / 0.9889 GB, free: 15.42 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.005736/1.035, allocations: 5.734 MB / 0.9945 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/1.036, allocations: 0.5554 MB / 0.995 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/1.036, allocations: 334.3 kB / 0.9953 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005718/1.037, allocations: 325.9 kB / 0.9957 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.037, allocations: 40.36 kB / 0.9957 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 2.825e-06/1.037, allocations: 0 / 0.9957 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.001458/1.038, allocations: 0.82 MB / 0.9965 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.039, allocations: 86.8 kB / 0.9966 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008058/1.039, allocations: 0.7399 MB / 0.9973 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/1.039, allocations: 35.36 kB / 0.9973 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/1.04, allocations: 0.5027 MB / 0.9978 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/1.04, allocations: 189.4 kB / 0.998 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/1.04, allocations: 13.44 kB / 0.998 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.04, allocations: 336.4 kB / 0.9983 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/1.04, allocations: 250.5 kB / 0.9986 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/1.041, allocations: 0.5781 MB / 0.9991 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/1.041, allocations: 363.6 kB / 0.9995 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/1.041, allocations: 6.938 kB / 0.9995 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001173/1.043, allocations: 0.8543 MB / 1 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.043, allocations: 8.25 kB / 1 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.043, allocations: 6.438 kB / 1 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.043, allocations: 14.44 kB / 1 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/1.043, allocations: 161 kB / 1.001 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/1.043, allocations: 17.56 kB / 1.001 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/1.044, allocations: 144.6 kB / 1.001 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/1.044, allocations: 34.5 kB / 1.001 GB, free: 8.262 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.0005339/1.045, allocations: 332.1 kB / 1.001 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.045, allocations: 91.23 kB / 1.001 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/1.046, allocations: 0.6332 MB / 1.002 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.046, allocations: 3.594 kB / 1.002 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.046, allocations: 2.156 kB / 1.002 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006962/1.047, allocations: 0.5228 MB / 1.002 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/1.049, allocations: 1.772 MB / 1.004 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.049, allocations: 0 / 1.004 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/1.05, allocations: 118.8 kB / 1.004 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.05, allocations: 9.312 kB / 1.004 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/1.05, allocations: 15 kB / 1.004 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.05, allocations: 7.438 kB / 1.004 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.05, allocations: 6.562 kB / 1.004 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/1.051, allocations: 1.076 MB / 1.005 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/1.052, allocations: 227.5 kB / 1.005 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/1.052, allocations: 22.61 kB / 1.005 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/1.052, allocations: 63.7 kB / 1.005 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/1.053, allocations: 41.91 kB / 1.006 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/1.053, allocations: 25.05 kB / 1.006 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005952/1.053, allocations: 0.5022 MB / 1.006 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.41e-07/1.053, allocations: 0 / 1.006 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000959/1.054, allocations: 296.3 kB / 1.006 GB, free: 6.164 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.0005593/1.055, allocations: 207.5 kB / 1.007 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001156/1.056, allocations: 0.6193 MB / 1.007 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.056, allocations: 0 / 1.007 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/1.056, allocations: 283.6 kB / 1.007 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/1.058, allocations: 441 kB / 1.008 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/1.062, allocations: 2.4 MB / 1.01 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007607/1.063, allocations: 1.113 MB / 1.011 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00103/1.064, allocations: 282.3 kB / 1.011 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/1.064, allocations: 74.83 kB / 1.012 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of SimCode: time 1.113e-06/1.064, allocations: 0 / 1.012 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of Templates: time 0.02851/1.093, allocations: 14.86 MB / 1.026 GB, free: 11.08 MB / 0.7481 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: