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.652/1.652, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.00116/0.00116, allocations: 176.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.484/1.484, 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.0008031/0.0008033, allocations: 101.1 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.812e-05, allocations: 4 kB / 0.8517 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.633, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.456/6.089, allocations: 2.134 GB / 3.099 GB, free: 288.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/6.089, allocations: 91.48 kB / 3.099 GB, free: 288.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.679/13.77, allocations: 2.014 GB / 5.113 GB, free: 80.04 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.755e-06/13.77, allocations: 2.375 kB / 5.113 GB, free: 80.04 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000646/13.77, allocations: 92.09 kB / 5.113 GB, free: 80.03 MB / 0.9948 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.01627/13.79, allocations: 3.47 MB / 5.116 GB, free: 78.61 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/13.79, allocations: 7.219 kB / 5.116 GB, free: 78.61 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00788/13.79, allocations: 0.9254 MB / 5.117 GB, free: 78.41 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/13.8, allocations: 2.839 MB / 5.12 GB, free: 77.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003976/13.8, allocations: 176.3 kB / 5.12 GB, free: 77.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001601/13.81, allocations: 173.3 kB / 5.12 GB, free: 77.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006855/13.81, allocations: 2.432 MB / 5.123 GB, free: 77.73 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008641/13.82, allocations: 2.743 MB / 5.125 GB, free: 77.49 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/13.82, allocations: 5.031 kB / 5.125 GB, free: 77.49 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000742/13.82, allocations: 6.781 kB / 5.125 GB, free: 77.49 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/13.82, allocations: 101.7 kB / 5.125 GB, free: 77.48 MB / 0.9948 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.02119/13.84, allocations: 12.67 MB / 5.138 GB, free: 70.35 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/13.85, allocations: 1.687 MB / 5.14 GB, free: 70.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/13.85, allocations: 1.006 MB / 5.14 GB, free: 70.28 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005434/13.85, allocations: 330.2 kB / 5.141 GB, free: 69.99 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/13.85, allocations: 61.19 kB / 5.141 GB, free: 69.95 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=182): time 5.42e-06/13.85, allocations: 0 / 5.141 GB, free: 69.95 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.004767/13.85, allocations: 1.851 MB / 5.143 GB, free: 69.74 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/13.85, allocations: 68.88 kB / 5.143 GB, free: 69.67 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/13.86, allocations: 1.42 MB / 5.144 GB, free: 69.46 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004907/13.86, allocations: 29.67 kB / 5.144 GB, free: 69.43 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001751/13.86, allocations: 1.4 MB / 5.146 GB, free: 68.86 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/13.86, allocations: 0.6239 MB / 5.146 GB, free: 68.45 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/13.86, allocations: 0 / 5.146 GB, free: 68.45 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002577/13.86, allocations: 394.3 kB / 5.146 GB, free: 68.13 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/13.86, allocations: 0.7207 MB / 5.147 GB, free: 68.12 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/13.87, allocations: 1.386 MB / 5.149 GB, free: 67.35 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/13.87, allocations: 0.9868 MB / 5.15 GB, free: 67.31 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.159e-05/13.87, allocations: 5.031 kB / 5.15 GB, free: 67.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004432/13.87, allocations: 2.222 MB / 5.152 GB, free: 67.05 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001506/13.87, allocations: 5.468 MB / 5.157 GB, free: 61.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/13.87, allocations: 15.25 kB / 5.157 GB, free: 61.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.728e-05/13.87, allocations: 25.84 kB / 5.157 GB, free: 61.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/13.88, allocations: 0.5173 MB / 5.158 GB, free: 61.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/13.88, allocations: 4.185 MB / 5.162 GB, free: 57.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/13.88, allocations: 309.3 kB / 5.162 GB, free: 56.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003902/13.88, allocations: 92.03 kB / 5.162 GB, free: 56.96 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/13.88, allocations: 3.938 kB / 5.162 GB, free: 56.96 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003671/13.89, allocations: 1.913 MB / 5.164 GB, free: 56.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/13.89, allocations: 17.06 kB / 5.164 GB, free: 56.85 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.933e-05/13.89, allocations: 25.69 kB / 5.164 GB, free: 56.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/13.89, allocations: 473.1 kB / 5.164 GB, free: 56.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-05/13.89, allocations: 32.81 kB / 5.164 GB, free: 56.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/13.89, allocations: 299 kB / 5.165 GB, free: 56.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/13.89, allocations: 91.84 kB / 5.165 GB, free: 56.73 MB / 0.9948 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.0007574/13.89, allocations: 159.5 kB / 5.165 GB, free: 56.59 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/13.89, allocations: 257.7 kB / 5.165 GB, free: 56.46 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/13.9, allocations: 1.883 MB / 5.167 GB, free: 56.34 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/13.9, allocations: 20.81 kB / 5.167 GB, free: 56.34 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/13.9, allocations: 0 / 5.167 GB, free: 56.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002211/13.9, allocations: 1.716 MB / 5.169 GB, free: 56.04 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/13.91, allocations: 4.638 MB / 5.173 GB, free: 55.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/13.91, allocations: 5.094 kB / 5.173 GB, free: 55.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/13.91, allocations: 0.5067 MB / 5.174 GB, free: 55.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.614e-05/13.91, allocations: 7.531 kB / 5.174 GB, free: 55.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/13.91, allocations: 34.2 kB / 5.174 GB, free: 55.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/13.91, allocations: 4.129 MB / 5.178 GB, free: 51.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/13.91, allocations: 3.875 kB / 5.178 GB, free: 51.39 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00486/13.92, allocations: 3.344 MB / 5.181 GB, free: 50.65 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/13.92, allocations: 0.5474 MB / 5.182 GB, free: 50.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009312/13.92, allocations: 22.59 kB / 5.182 GB, free: 50.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/13.93, allocations: 220.6 kB / 5.182 GB, free: 50.38 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/13.93, allocations: 113.1 kB / 5.182 GB, free: 50.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/13.93, allocations: 73.39 kB / 5.182 GB, free: 50.37 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002524/13.93, allocations: 1.051 MB / 5.183 GB, free: 50.23 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.31e-07/13.93, allocations: 3.625 kB / 5.183 GB, free: 50.23 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007562/13.94, allocations: 1.916 MB / 5.185 GB, free: 49.96 MB / 0.9948 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.00769/13.94, allocations: 5.205 MB / 5.19 GB, free: 47.65 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007624/13.95, allocations: 3.055 MB / 5.193 GB, free: 47.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/13.95, allocations: 2.625 kB / 5.193 GB, free: 47.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/13.95, allocations: 0.9399 MB / 5.194 GB, free: 47.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00889/13.96, allocations: 1.459 MB / 5.195 GB, free: 47.41 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/13.97, allocations: 5.393 MB / 5.201 GB, free: 45.78 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/13.98, allocations: 2.251 MB / 5.203 GB, free: 44.98 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006179/13.98, allocations: 1.262 MB / 5.204 GB, free: 44.85 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007855/13.98, allocations: 175.1 kB / 5.204 GB, free: 44.84 MB / 0.9948 GB Notification: Performance of SimCode: time 9.62e-07/13.98, allocations: 0 / 5.204 GB, free: 44.84 MB / 0.9948 GB Notification: Performance of Templates: time 0.1171/14.1, allocations: 73.29 MB / 5.276 GB, free: 13.64 MB / 1.01 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)