Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.317/1.317, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 183 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008571/0.0008571, allocations: 93.25 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 13.56 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2383, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.67/4.909, allocations: 2.253 GB / 3.155 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/4.909, allocations: 94.36 kB / 3.155 GB, free: 327.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.174/11.08, allocations: 1.979 GB / 5.134 GB, free: 50.21 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.313e-06/11.08, allocations: 0 / 5.134 GB, free: 50.21 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003893/11.08, allocations: 99.91 kB / 5.134 GB, free: 50.11 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.01145/11.09, allocations: 3.93 MB / 5.138 GB, free: 46.12 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/11.09, allocations: 8.031 kB / 5.138 GB, free: 46.11 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006083/11.1, allocations: 0.9321 MB / 5.139 GB, free: 45.18 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006968/11.11, allocations: 2.877 MB / 5.141 GB, free: 42.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/11.11, allocations: 277.5 kB / 5.142 GB, free: 41.94 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009666/11.11, allocations: 299.9 kB / 5.142 GB, free: 41.65 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007051/11.12, allocations: 3.274 MB / 5.145 GB, free: 38.29 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.192e-05/11.12, allocations: 3.906 kB / 5.145 GB, free: 38.29 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005661/11.12, allocations: 120 kB / 5.145 GB, free: 38.17 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.632e-05/11.12, allocations: 109.4 kB / 5.145 GB, free: 38.06 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00466/11.12, allocations: 2.664 MB / 5.148 GB, free: 35.39 MB / 0.9323 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.01552/11.14, allocations: 13.27 MB / 5.161 GB, free: 20.96 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/11.14, allocations: 1.779 MB / 5.163 GB, free: 19.18 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/11.14, allocations: 1.09 MB / 5.164 GB, free: 18.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/11.14, allocations: 329.2 kB / 5.164 GB, free: 17.72 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/11.14, allocations: 65 kB / 5.164 GB, free: 17.65 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=186): time 4.007e-06/11.14, allocations: 0 / 5.164 GB, free: 17.65 MB / 0.9323 GB Notification: Performance of matching and sorting (n=186): time 0.004567/11.15, allocations: 2.707 MB / 5.167 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/11.15, allocations: 73.34 kB / 5.167 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/11.15, allocations: 1.977 MB / 5.169 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002641/11.15, allocations: 65.7 kB / 5.169 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008175/11.15, allocations: 1.399 MB / 5.17 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005134/11.15, allocations: 0.6546 MB / 5.171 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/11.15, allocations: 40 kB / 5.171 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001076/11.15, allocations: 390 kB / 5.171 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/11.15, allocations: 0.7809 MB / 5.172 GB, free: 9.496 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/11.15, allocations: 1.434 MB / 5.173 GB, free: 7.785 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/11.16, allocations: 2.214 MB / 5.176 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/11.16, allocations: 4 kB / 5.176 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003741/11.16, allocations: 2.459 MB / 5.178 GB, free: 2.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002316/11.16, allocations: 470.4 kB / 5.178 GB, free: 2.297 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/11.16, allocations: 12 kB / 5.178 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/11.16, allocations: 24 kB / 5.179 GB, free: 2.262 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/11.16, allocations: 0.5614 MB / 5.179 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/11.16, allocations: 4.161 MB / 5.183 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/11.17, allocations: 389.9 kB / 5.183 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/11.17, allocations: 95.98 kB / 5.184 GB, free: 12.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/11.17, allocations: 4 kB / 5.184 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003426/11.17, allocations: 2.19 MB / 5.186 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-05/11.17, allocations: 12 kB / 5.186 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/11.17, allocations: 20 kB / 5.186 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/11.17, allocations: 487.9 kB / 5.186 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.283e-05/11.17, allocations: 27.94 kB / 5.186 GB, free: 10.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/11.18, allocations: 369.9 kB / 5.187 GB, free: 9.809 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/11.18, allocations: 95.73 kB / 5.187 GB, free: 9.719 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * 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.002018/11.18, allocations: 0.8717 MB / 5.188 GB, free: 8.836 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008036/11.18, allocations: 268.8 kB / 5.188 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/11.18, allocations: 2.099 MB / 5.19 GB, free: 6.457 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/11.18, allocations: 20 kB / 5.19 GB, free: 6.438 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/11.18, allocations: 7.938 kB / 5.19 GB, free: 6.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002991/11.19, allocations: 1.871 MB / 5.192 GB, free: 4.508 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/11.2, allocations: 5.181 MB / 5.197 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/11.2, allocations: 0 / 5.197 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/11.2, allocations: 0.517 MB / 5.197 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.68e-05/11.2, allocations: 15.75 kB / 5.197 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/11.2, allocations: 51.98 kB / 5.197 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/11.2, allocations: 4.122 MB / 5.201 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/11.2, allocations: 4 kB / 5.201 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/11.21, allocations: 3.348 MB / 5.205 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/11.21, allocations: 0.595 MB / 5.205 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007284/11.21, allocations: 47.36 kB / 5.205 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/11.21, allocations: 263.3 kB / 5.206 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/11.22, allocations: 125.7 kB / 5.206 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/11.22, allocations: 71.95 kB / 5.206 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002962/11.22, allocations: 1.314 MB / 5.207 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.9e-07/11.22, allocations: 0 / 5.207 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007744/11.23, allocations: 2.163 MB / 5.209 GB, free: 2.355 MB / 0.9636 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 (186): * Single equations (assignments): 179 * 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.5601/11.79, allocations: 4.787 MB / 5.214 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006067/11.79, allocations: 3.277 MB / 5.217 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/11.79, allocations: 4.031 kB / 5.217 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/11.79, allocations: 1.028 MB / 5.218 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009661/11.8, allocations: 1.584 MB / 5.22 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/11.82, allocations: 7.907 MB / 5.227 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003051/11.82, allocations: 2.2 MB / 5.229 GB, free: 104 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005048/11.83, allocations: 1.115 MB / 5.23 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/11.83, allocations: 230.7 kB / 5.231 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.453e-06/11.83, allocations: 0.7188 kB / 5.231 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.1426/11.97, allocations: 100.5 MB / 5.329 GB, free: 99.51 MB / 0.9636 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)