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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, allocations: 285.4 MB / 298 MB, free: 6.004 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.001085/0.001084, allocations: 176.8 kB / 366.4 MB, free: 2.07 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.782/1.782, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0009479/0.0009485, allocations: 90.59 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.73e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8429, allocations: 115.3 MB / 0.971 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.332/7.175, allocations: 2.135 GB / 3.106 GB, free: 280.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/7.176, allocations: 90.42 kB / 3.106 GB, free: 280.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.441/15.62, allocations: 2.036 GB / 5.142 GB, free: 98.9 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.276e-06/15.62, allocations: 3.75 kB / 5.142 GB, free: 98.9 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0005539/15.62, allocations: 96.52 kB / 5.142 GB, free: 98.88 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.01402/15.63, allocations: 3.469 MB / 5.146 GB, free: 97.18 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/15.63, allocations: 7.062 kB / 5.146 GB, free: 97.18 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00184/15.63, allocations: 387.7 kB / 5.146 GB, free: 97.13 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007536/15.64, allocations: 0.9233 MB / 5.147 GB, free: 96.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009919/15.65, allocations: 2.842 MB / 5.15 GB, free: 96.27 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/15.65, allocations: 284.7 kB / 5.15 GB, free: 96.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/15.65, allocations: 296.2 kB / 5.15 GB, free: 96.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/15.66, allocations: 3.13 MB / 5.153 GB, free: 95.93 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/15.66, allocations: 2.438 kB / 5.153 GB, free: 95.93 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009626/15.66, allocations: 113.9 kB / 5.154 GB, free: 95.93 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/15.66, allocations: 107.3 kB / 5.154 GB, free: 95.93 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006563/15.67, allocations: 2.562 MB / 5.156 GB, free: 95.88 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.02446/15.69, allocations: 13.19 MB / 5.169 GB, free: 88.55 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/15.7, allocations: 1.759 MB / 5.171 GB, free: 88.47 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/15.7, allocations: 1.06 MB / 5.172 GB, free: 88.45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005466/15.7, allocations: 332.4 kB / 5.172 GB, free: 88.17 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/15.7, allocations: 58.59 kB / 5.172 GB, free: 88.13 MB / 1.01 GB Notification: Performance of pre-optimization done (n=182): time 3.727e-06/15.7, allocations: 0 / 5.172 GB, free: 88.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=182): time 0.004849/15.71, allocations: 1.937 MB / 5.174 GB, free: 87.91 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/15.71, allocations: 72.72 kB / 5.174 GB, free: 87.85 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/15.71, allocations: 1.676 MB / 5.176 GB, free: 87.62 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0004134/15.71, allocations: 72.05 kB / 5.176 GB, free: 87.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/15.71, allocations: 1.404 MB / 5.177 GB, free: 87.05 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008599/15.71, allocations: 0.6427 MB / 5.178 GB, free: 86.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/15.71, allocations: 41.27 kB / 5.178 GB, free: 86.53 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002022/15.71, allocations: 386 kB / 5.178 GB, free: 86.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/15.71, allocations: 0.7535 MB / 5.179 GB, free: 85.91 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/15.72, allocations: 1.437 MB / 5.18 GB, free: 84.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/15.72, allocations: 1.033 MB / 5.181 GB, free: 84.42 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/15.72, allocations: 3.656 kB / 5.181 GB, free: 84.42 MB / 1.01 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004498/15.72, allocations: 2.399 MB / 5.184 GB, free: 83.51 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001463/15.72, allocations: 5.519 MB / 5.189 GB, free: 77.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/15.72, allocations: 11.31 kB / 5.189 GB, free: 77.56 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.799e-05/15.72, allocations: 26.34 kB / 5.189 GB, free: 77.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/15.73, allocations: 0.5139 MB / 5.19 GB, free: 77.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/15.73, allocations: 4.156 MB / 5.194 GB, free: 73.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/15.73, allocations: 365.8 kB / 5.194 GB, free: 73.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/15.73, allocations: 92.53 kB / 5.194 GB, free: 73.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/15.73, allocations: 3.5 kB / 5.194 GB, free: 73.21 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003719/15.74, allocations: 2.137 MB / 5.196 GB, free: 72.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/15.74, allocations: 17.41 kB / 5.196 GB, free: 72.42 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/15.74, allocations: 26.62 kB / 5.196 GB, free: 72.42 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/15.74, allocations: 473.3 kB / 5.197 GB, free: 72.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.259e-05/15.74, allocations: 34.06 kB / 5.197 GB, free: 72.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/15.74, allocations: 352.2 kB / 5.197 GB, free: 72.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/15.74, allocations: 85.94 kB / 5.197 GB, free: 72.23 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.000696/15.74, allocations: 234 kB / 5.197 GB, free: 72.03 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/15.74, allocations: 269.3 kB / 5.198 GB, free: 71.89 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004034/15.75, allocations: 2.036 MB / 5.2 GB, free: 71.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/15.75, allocations: 15.06 kB / 5.2 GB, free: 71.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/15.75, allocations: 3.438 kB / 5.2 GB, free: 71.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002589/15.75, allocations: 1.818 MB / 5.201 GB, free: 70.28 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/15.76, allocations: 5.085 MB / 5.206 GB, free: 67.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/15.76, allocations: 5.578 kB / 5.206 GB, free: 67.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/15.76, allocations: 0.5073 MB / 5.207 GB, free: 66.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.5e-05/15.77, allocations: 8 kB / 5.207 GB, free: 66.85 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/15.77, allocations: 55.59 kB / 5.207 GB, free: 66.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/15.77, allocations: 4.127 MB / 5.211 GB, free: 62.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/15.77, allocations: 4 kB / 5.211 GB, free: 62.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005096/15.77, allocations: 3.495 MB / 5.214 GB, free: 59.21 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/15.77, allocations: 0.5653 MB / 5.215 GB, free: 58.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009439/15.78, allocations: 40 kB / 5.215 GB, free: 58.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003225/15.78, allocations: 256.2 kB / 5.215 GB, free: 58.48 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/15.78, allocations: 123.4 kB / 5.215 GB, free: 58.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/15.78, allocations: 63.69 kB / 5.215 GB, free: 58.35 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002792/15.78, allocations: 1.277 MB / 5.217 GB, free: 57.19 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/15.78, allocations: 0 / 5.217 GB, free: 57.19 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009261/15.79, allocations: 2.137 MB / 5.219 GB, free: 55.07 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.01412/15.81, allocations: 9.45 MB / 5.228 GB, free: 46.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007505/15.81, allocations: 3.214 MB / 5.231 GB, free: 43.67 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/15.81, allocations: 4 kB / 5.231 GB, free: 43.67 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/15.81, allocations: 0.9819 MB / 5.232 GB, free: 42.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009317/15.82, allocations: 1.575 MB / 5.234 GB, free: 41.64 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/15.84, allocations: 6.33 MB / 5.24 GB, free: 36.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/15.84, allocations: 2.245 MB / 5.242 GB, free: 33.92 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005901/15.85, allocations: 1.331 MB / 5.243 GB, free: 32.62 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/15.85, allocations: 1.218 MB / 5.244 GB, free: 31.41 MB / 1.01 GB Notification: Performance of SimCode: time 2.244e-06/15.85, allocations: 0 / 5.244 GB, free: 31.41 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9498/16.8, allocations: 150.8 MB / 5.392 GB, free: 113.1 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/16.8, allocations: 231 kB / 5.392 GB, free: 112.8 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/24.62, allocations: 3.375 kB / 5.392 GB, free: 112.8 MB / 1.026 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)