Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.485/2.485, allocations: 287.5 MB / 303.2 MB, free: 8.27 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.001335/0.001335, allocations: 181.2 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000956/0.0009556, allocations: 108 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004769, allocations: 12 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2295, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.658/6.888, allocations: 2.135 GB / 3.114 GB, free: 178.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/6.888, allocations: 95.95 kB / 3.114 GB, free: 178.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.49/18.38, allocations: 2.033 GB / 5.147 GB, free: 98.45 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.294e-06/18.38, allocations: 2.719 kB / 5.147 GB, free: 98.45 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000528/18.38, allocations: 92.08 kB / 5.147 GB, free: 98.45 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01796/18.4, allocations: 3.917 MB / 5.151 GB, free: 97.42 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/18.4, allocations: 9.031 kB / 5.151 GB, free: 97.42 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009746/18.41, allocations: 0.9249 MB / 5.152 GB, free: 97.22 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/18.42, allocations: 2.701 MB / 5.155 GB, free: 96.71 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003818/18.42, allocations: 287.4 kB / 5.155 GB, free: 96.64 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/18.42, allocations: 297.6 kB / 5.155 GB, free: 96.64 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/18.43, allocations: 3.225 MB / 5.159 GB, free: 96.38 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/18.43, allocations: 3.656 kB / 5.159 GB, free: 96.38 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005266/18.43, allocations: 112 kB / 5.159 GB, free: 96.38 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/18.43, allocations: 104.2 kB / 5.159 GB, free: 96.37 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008735/18.44, allocations: 2.63 MB / 5.161 GB, free: 96.34 MB / 1.01 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.0291/18.47, allocations: 13.19 MB / 5.174 GB, free: 89.25 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005543/18.47, allocations: 1.788 MB / 5.176 GB, free: 89.21 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003402/18.48, allocations: 1.077 MB / 5.177 GB, free: 89.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/18.48, allocations: 330.8 kB / 5.177 GB, free: 88.91 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.953e-05/18.48, allocations: 57.7 kB / 5.177 GB, free: 88.88 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 5.06e-06/18.48, allocations: 5.484 kB / 5.177 GB, free: 88.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.01045/18.49, allocations: 2.677 MB / 5.18 GB, free: 88.66 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/18.49, allocations: 71 kB / 5.18 GB, free: 88.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005121/18.5, allocations: 1.958 MB / 5.182 GB, free: 88.37 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007031/18.5, allocations: 70.27 kB / 5.182 GB, free: 88.34 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/18.5, allocations: 1.405 MB / 5.183 GB, free: 87.95 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/18.5, allocations: 0.651 MB / 5.184 GB, free: 87.61 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/18.5, allocations: 39.22 kB / 5.184 GB, free: 87.61 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002074/18.5, allocations: 386.8 kB / 5.184 GB, free: 87.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/18.5, allocations: 0.7743 MB / 5.185 GB, free: 87.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003355/18.51, allocations: 1.474 MB / 5.187 GB, free: 86.53 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00584/18.51, allocations: 2.217 MB / 5.189 GB, free: 86.03 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-05/18.51, allocations: 3.625 kB / 5.189 GB, free: 86.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.008234/18.52, allocations: 2.45 MB / 5.191 GB, free: 85.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003262/18.52, allocations: 489.9 kB / 5.192 GB, free: 85.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/18.52, allocations: 21.88 kB / 5.192 GB, free: 85.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.091e-05/18.52, allocations: 23.28 kB / 5.192 GB, free: 85.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005288/18.53, allocations: 0.5562 MB / 5.192 GB, free: 85.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/18.53, allocations: 4.154 MB / 5.196 GB, free: 81.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006002/18.53, allocations: 374.3 kB / 5.197 GB, free: 81.06 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000518/18.53, allocations: 91 kB / 5.197 GB, free: 81.06 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/18.53, allocations: 6.625 kB / 5.197 GB, free: 81.06 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006052/18.54, allocations: 2.182 MB / 5.199 GB, free: 81.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/18.54, allocations: 15.19 kB / 5.199 GB, free: 81.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/18.54, allocations: 24.03 kB / 5.199 GB, free: 81.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/18.54, allocations: 477 kB / 5.199 GB, free: 81.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.003e-05/18.54, allocations: 34.48 kB / 5.199 GB, free: 81.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005805/18.55, allocations: 351.4 kB / 5.2 GB, free: 80.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004725/18.55, allocations: 89.55 kB / 5.2 GB, free: 80.92 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002825/18.55, allocations: 0.8609 MB / 5.201 GB, free: 80.72 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009809/18.55, allocations: 270.2 kB / 5.201 GB, free: 80.59 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005583/18.56, allocations: 2.071 MB / 5.203 GB, free: 80.48 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/18.56, allocations: 16.62 kB / 5.203 GB, free: 80.48 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/18.56, allocations: 1.594 kB / 5.203 GB, free: 80.48 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004557/18.56, allocations: 1.857 MB / 5.205 GB, free: 80.17 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/18.58, allocations: 5.114 MB / 5.21 GB, free: 79.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/18.58, allocations: 3.25 kB / 5.21 GB, free: 79.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004528/18.58, allocations: 0.5067 MB / 5.21 GB, free: 79.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.2e-05/18.58, allocations: 17.19 kB / 5.21 GB, free: 79.64 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003796/18.58, allocations: 49.77 kB / 5.21 GB, free: 79.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/18.59, allocations: 4.13 MB / 5.214 GB, free: 75.54 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/18.59, allocations: 10.8 kB / 5.214 GB, free: 75.54 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008037/18.59, allocations: 3.323 MB / 5.218 GB, free: 75.07 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/18.6, allocations: 0.5598 MB / 5.218 GB, free: 74.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009204/18.6, allocations: 46.69 kB / 5.218 GB, free: 74.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004928/18.6, allocations: 255.2 kB / 5.218 GB, free: 74.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004959/18.6, allocations: 116 kB / 5.219 GB, free: 74.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002631/18.6, allocations: 70.06 kB / 5.219 GB, free: 74.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00293/18.61, allocations: 1.301 MB / 5.22 GB, free: 74.65 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.21e-07/18.61, allocations: 0 / 5.22 GB, free: 74.65 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009666/18.62, allocations: 2.134 MB / 5.222 GB, free: 74.41 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009186/18.62, allocations: 4.763 MB / 5.227 GB, free: 72.12 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01025/18.63, allocations: 3.268 MB / 5.23 GB, free: 72.07 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/18.64, allocations: 0 / 5.23 GB, free: 72.07 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002835/18.64, allocations: 1.024 MB / 5.231 GB, free: 72.07 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01592/18.65, allocations: 1.577 MB / 5.232 GB, free: 72.03 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/18.67, allocations: 7.797 MB / 5.24 GB, free: 69 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002813/18.67, allocations: 2.183 MB / 5.242 GB, free: 68.23 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006645/18.68, allocations: 1.093 MB / 5.243 GB, free: 68.21 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/18.68, allocations: 219.1 kB / 5.243 GB, free: 68.2 MB / 1.01 GB Notification: Performance of SimCode: time 2.084e-06/18.68, allocations: 0 / 5.243 GB, free: 68.2 MB / 1.01 GB Notification: Performance of Templates: time 0.2252/18.91, allocations: 98.01 MB / 5.339 GB, free: 63.38 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)