Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 285.4 MB / 298 MB, free: 6.008 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.001124/0.001124, allocations: 188.8 kB / 366.4 MB, free: 2.113 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.739/1.739, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0009487/0.0009488, allocations: 91.47 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.799e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7296/0.7296, allocations: 115.3 MB / 0.9709 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.836/6.566, allocations: 2.135 GB / 3.106 GB, free: 348.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/6.566, allocations: 89.83 kB / 3.106 GB, free: 348.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.955/14.52, allocations: 2.036 GB / 5.142 GB, free: 95.62 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.034e-06/14.52, allocations: 0 / 5.142 GB, free: 95.62 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0005366/14.52, allocations: 100.1 kB / 5.142 GB, free: 95.61 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.01469/14.54, allocations: 3.466 MB / 5.146 GB, free: 94.13 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/14.54, allocations: 9.812 kB / 5.146 GB, free: 94.13 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008266/14.54, allocations: 0.9229 MB / 5.147 GB, free: 93.94 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/14.56, allocations: 2.847 MB / 5.149 GB, free: 93.35 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005127/14.56, allocations: 286 kB / 5.15 GB, free: 93.28 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/14.56, allocations: 296.3 kB / 5.15 GB, free: 93.27 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/14.57, allocations: 3.125 MB / 5.153 GB, free: 93.02 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/14.57, allocations: 5.109 kB / 5.153 GB, free: 93.02 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/14.57, allocations: 125.8 kB / 5.153 GB, free: 93.02 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/14.57, allocations: 100 kB / 5.153 GB, free: 93.01 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006518/14.58, allocations: 2.564 MB / 5.156 GB, free: 92.98 MB / 1.01 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.02248/14.6, allocations: 13.18 MB / 5.169 GB, free: 85.68 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/14.6, allocations: 1.763 MB / 5.17 GB, free: 85.61 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/14.61, allocations: 1.052 MB / 5.171 GB, free: 85.59 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/14.61, allocations: 329.1 kB / 5.172 GB, free: 85.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.348e-05/14.61, allocations: 59.66 kB / 5.172 GB, free: 85.26 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 6.402e-06/14.61, allocations: 4.781 kB / 5.172 GB, free: 85.26 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.006755/14.61, allocations: 1.94 MB / 5.174 GB, free: 85.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/14.61, allocations: 68.5 kB / 5.174 GB, free: 84.98 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/14.62, allocations: 1.673 MB / 5.175 GB, free: 84.76 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0005348/14.62, allocations: 67.92 kB / 5.175 GB, free: 84.73 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/14.62, allocations: 1.411 MB / 5.177 GB, free: 84.18 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009401/14.62, allocations: 0.6388 MB / 5.177 GB, free: 83.77 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/14.62, allocations: 42.22 kB / 5.177 GB, free: 83.77 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001972/14.62, allocations: 391.5 kB / 5.178 GB, free: 83.46 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/14.62, allocations: 0.7578 MB / 5.179 GB, free: 83.45 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/14.63, allocations: 1.435 MB / 5.18 GB, free: 82.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/14.63, allocations: 1.026 MB / 5.181 GB, free: 82.63 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/14.63, allocations: 3.562 kB / 5.181 GB, free: 82.63 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005038/14.63, allocations: 2.405 MB / 5.183 GB, free: 82.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001749/14.63, allocations: 5.513 MB / 5.189 GB, free: 76.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.965e-05/14.64, allocations: 17.95 kB / 5.189 GB, free: 76.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.875e-05/14.64, allocations: 23 kB / 5.189 GB, free: 76.49 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/14.64, allocations: 0.5088 MB / 5.189 GB, free: 76.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/14.64, allocations: 4.151 MB / 5.193 GB, free: 72.35 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00524/14.65, allocations: 372.4 kB / 5.194 GB, free: 72.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006144/14.65, allocations: 90.88 kB / 5.194 GB, free: 72.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/14.65, allocations: 4.594 kB / 5.194 GB, free: 72.25 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004849/14.65, allocations: 2.141 MB / 5.196 GB, free: 72.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.213e-05/14.65, allocations: 16.31 kB / 5.196 GB, free: 72.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.707e-05/14.65, allocations: 38.39 kB / 5.196 GB, free: 72.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/14.65, allocations: 469 kB / 5.196 GB, free: 72.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.979e-05/14.65, allocations: 33.22 kB / 5.196 GB, free: 72.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004639/14.66, allocations: 347 kB / 5.197 GB, free: 71.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/14.66, allocations: 90.31 kB / 5.197 GB, free: 71.99 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 () * 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.0007772/14.66, allocations: 234.5 kB / 5.197 GB, free: 71.85 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/14.66, allocations: 267.9 kB / 5.197 GB, free: 71.71 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00464/14.67, allocations: 2.042 MB / 5.199 GB, free: 71.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/14.67, allocations: 24.27 kB / 5.199 GB, free: 71.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/14.67, allocations: 0 / 5.199 GB, free: 71.59 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002698/14.67, allocations: 1.811 MB / 5.201 GB, free: 71.28 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/14.68, allocations: 5.081 MB / 5.206 GB, free: 70.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/14.68, allocations: 3.875 kB / 5.206 GB, free: 70.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/14.68, allocations: 0.5038 MB / 5.206 GB, free: 70.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.31e-05/14.68, allocations: 13.28 kB / 5.206 GB, free: 70.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/14.68, allocations: 52.2 kB / 5.207 GB, free: 70.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/14.68, allocations: 4.123 MB / 5.211 GB, free: 66.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/14.68, allocations: 13.06 kB / 5.211 GB, free: 66.59 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005187/14.69, allocations: 3.486 MB / 5.214 GB, free: 65.84 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/14.69, allocations: 0.5614 MB / 5.214 GB, free: 65.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009896/14.69, allocations: 47.58 kB / 5.215 GB, free: 65.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/14.7, allocations: 256.3 kB / 5.215 GB, free: 65.57 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/14.7, allocations: 115.2 kB / 5.215 GB, free: 65.56 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/14.7, allocations: 72.09 kB / 5.215 GB, free: 65.56 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003054/14.7, allocations: 1.278 MB / 5.216 GB, free: 65.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.81e-07/14.7, allocations: 0 / 5.216 GB, free: 65.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009279/14.71, allocations: 2.136 MB / 5.218 GB, free: 65.16 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 () * 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.00853/14.72, allocations: 4.756 MB / 5.223 GB, free: 62.86 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007499/14.73, allocations: 3.224 MB / 5.226 GB, free: 62.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/14.73, allocations: 0 / 5.226 GB, free: 62.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/14.73, allocations: 0.9881 MB / 5.227 GB, free: 61.86 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009407/14.74, allocations: 1.569 MB / 5.229 GB, free: 61.57 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/14.75, allocations: 5.515 MB / 5.234 GB, free: 59.28 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/14.75, allocations: 2.252 MB / 5.236 GB, free: 58.35 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006383/14.76, allocations: 1.331 MB / 5.237 GB, free: 58.21 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007523/14.76, allocations: 181.5 kB / 5.238 GB, free: 58.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.262e-06/14.76, allocations: 0 / 5.238 GB, free: 58.2 MB / 1.01 GB Notification: Performance of Templates: time 0.8834/15.64, allocations: 112.5 MB / 5.348 GB, free: 125.2 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)