Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.553/1.553, allocations: 285.6 MB / 293.1 MB, free: 10.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 180.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008143/0.0008142, allocations: 91.95 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.174e-05, allocations: 4 kB / 0.8517 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.665, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.595/6.26, allocations: 2.127 GB / 3.092 GB, free: 289.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/6.261, allocations: 87 kB / 3.092 GB, free: 289.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.957/8.218, allocations: 0.6485 GB / 3.74 GB, free: 68.08 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.743e-06/8.218, allocations: 0 / 3.74 GB, free: 68.08 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001278/8.218, allocations: 28 kB / 3.74 GB, free: 68.05 MB / 0.948 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.003663/8.222, allocations: 1.321 MB / 3.741 GB, free: 66.68 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/8.222, allocations: 8.031 kB / 3.741 GB, free: 66.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/8.224, allocations: 251 kB / 3.742 GB, free: 66.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/8.227, allocations: 1.097 MB / 3.743 GB, free: 65.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/8.227, allocations: 28 kB / 3.743 GB, free: 65.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/8.227, allocations: 56 kB / 3.743 GB, free: 65.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001453/8.228, allocations: 0.7614 MB / 3.744 GB, free: 64.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/8.23, allocations: 0.9827 MB / 3.744 GB, free: 63.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/8.23, allocations: 4 kB / 3.744 GB, free: 63.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/8.23, allocations: 0 / 3.744 GB, free: 63.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/8.23, allocations: 34 kB / 3.745 GB, free: 63.35 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004919/8.235, allocations: 5.515 MB / 3.75 GB, free: 57.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/8.236, allocations: 0.4965 MB / 3.75 GB, free: 56.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/8.236, allocations: 288.1 kB / 3.751 GB, free: 56.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/8.237, allocations: 311.7 kB / 3.751 GB, free: 56.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/8.237, allocations: 35 kB / 3.751 GB, free: 56.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/8.237, allocations: 0 / 3.751 GB, free: 56.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.001201/8.238, allocations: 0.5771 MB / 3.752 GB, free: 55.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/8.238, allocations: 55.84 kB / 3.752 GB, free: 55.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006277/8.239, allocations: 0.5154 MB / 3.752 GB, free: 55.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/8.239, allocations: 29.7 kB / 3.752 GB, free: 55.01 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/8.239, allocations: 0.5024 MB / 3.753 GB, free: 54.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/8.239, allocations: 169.5 kB / 3.753 GB, free: 54.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/8.239, allocations: 0 / 3.753 GB, free: 54.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000126/8.239, allocations: 390.7 kB / 3.753 GB, free: 53.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/8.239, allocations: 221.5 kB / 3.753 GB, free: 53.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/8.24, allocations: 0.5461 MB / 3.754 GB, free: 53.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/8.24, allocations: 360.4 kB / 3.754 GB, free: 52.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/8.24, allocations: 4 kB / 3.754 GB, free: 52.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001079/8.241, allocations: 0.7725 MB / 3.755 GB, free: 51.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/8.241, allocations: 8 kB / 3.755 GB, free: 51.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/8.242, allocations: 11.94 kB / 3.755 GB, free: 51.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/8.242, allocations: 12 kB / 3.755 GB, free: 51.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/8.242, allocations: 151.8 kB / 3.755 GB, free: 51.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/8.242, allocations: 19.92 kB / 3.755 GB, free: 51.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009082/8.243, allocations: 111.6 kB / 3.755 GB, free: 51.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/8.243, allocations: 36 kB / 3.755 GB, free: 51.54 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/8.243, allocations: 136.6 kB / 3.755 GB, free: 51.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/8.243, allocations: 79.05 kB / 3.756 GB, free: 51.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008694/8.244, allocations: 0.5816 MB / 3.756 GB, free: 50.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/8.244, allocations: 8 kB / 3.756 GB, free: 50.72 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/8.244, allocations: 0 / 3.756 GB, free: 50.72 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006087/8.245, allocations: 0.4977 MB / 3.757 GB, free: 50.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/8.247, allocations: 1.524 MB / 3.758 GB, free: 48.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/8.247, allocations: 3.984 kB / 3.758 GB, free: 48.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/8.248, allocations: 115.8 kB / 3.758 GB, free: 48.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/8.248, allocations: 4 kB / 3.758 GB, free: 48.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/8.248, allocations: 12.22 kB / 3.758 GB, free: 48.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/8.248, allocations: 8 kB / 3.758 GB, free: 48.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/8.248, allocations: 0 / 3.758 GB, free: 48.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/8.249, allocations: 1.095 MB / 3.759 GB, free: 47.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/8.25, allocations: 216 kB / 3.76 GB, free: 47.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/8.25, allocations: 7.984 kB / 3.76 GB, free: 47.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/8.25, allocations: 51.89 kB / 3.76 GB, free: 47.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/8.251, allocations: 35.91 kB / 3.76 GB, free: 46.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/8.251, allocations: 19.98 kB / 3.76 GB, free: 46.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000498/8.251, allocations: 403.1 kB / 3.76 GB, free: 46.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/8.251, allocations: 0 / 3.76 GB, free: 46.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001537/8.253, allocations: 423.1 kB / 3.76 GB, free: 46.16 MB / 0.948 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 () * 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 (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.00276/8.255, allocations: 2.132 MB / 3.762 GB, free: 43.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008418/8.256, allocations: 0.541 MB / 3.763 GB, free: 43.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/8.256, allocations: 0 / 3.763 GB, free: 43.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/8.257, allocations: 252.3 kB / 3.763 GB, free: 43.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/8.258, allocations: 366.7 kB / 3.764 GB, free: 42.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/8.261, allocations: 1.479 MB / 3.765 GB, free: 41.28 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/8.262, allocations: 1.137 MB / 3.766 GB, free: 40.12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008904/8.263, allocations: 254.5 kB / 3.766 GB, free: 39.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/8.263, allocations: 71.42 kB / 3.766 GB, free: 39.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.182e-06/8.263, allocations: 0 / 3.766 GB, free: 39.79 MB / 0.948 GB Notification: Performance of Templates: time 0.03321/8.296, allocations: 23.14 MB / 3.789 GB, free: 16.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)