Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001189/0.001189, allocations: 183.2 kB / 371.6 MB, free: 3.383 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.788/1.788, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001135/0.001136, allocations: 92.59 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.858e-05/4.862e-05, allocations: 8 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3023, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.59/6.893, allocations: 2.136 GB / 3.116 GB, free: 104 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/6.893, allocations: 93.27 kB / 3.116 GB, free: 103.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.762/15.65, allocations: 2.036 GB / 5.152 GB, free: 95.39 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.996e-06/15.65, allocations: 0.8438 kB / 5.152 GB, free: 95.39 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0003304/15.66, allocations: 93.44 kB / 5.152 GB, free: 95.39 MB / 1.026 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.01474/15.67, allocations: 3.47 MB / 5.156 GB, free: 94.26 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/15.67, allocations: 10.83 kB / 5.156 GB, free: 94.26 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001406/15.67, allocations: 394.5 kB / 5.156 GB, free: 94.21 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007528/15.68, allocations: 0.9258 MB / 5.157 GB, free: 94.01 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008985/15.69, allocations: 2.84 MB / 5.16 GB, free: 93.59 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003336/15.69, allocations: 280.8 kB / 5.16 GB, free: 93.52 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/15.69, allocations: 298.7 kB / 5.16 GB, free: 93.52 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006624/15.7, allocations: 3.13 MB / 5.163 GB, free: 93.26 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/15.7, allocations: 8.438 kB / 5.163 GB, free: 93.26 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/15.7, allocations: 115.4 kB / 5.163 GB, free: 93.26 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/15.7, allocations: 104.5 kB / 5.163 GB, free: 93.25 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/15.7, allocations: 2.565 MB / 5.166 GB, free: 93.21 MB / 1.026 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.01886/15.72, allocations: 13.18 MB / 5.179 GB, free: 86.14 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/15.72, allocations: 1.759 MB / 5.181 GB, free: 86.1 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/15.73, allocations: 1.057 MB / 5.182 GB, free: 86.08 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/15.73, allocations: 329.8 kB / 5.182 GB, free: 85.8 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/15.73, allocations: 58.22 kB / 5.182 GB, free: 85.75 MB / 1.026 GB Notification: Performance of pre-optimization done (n=182): time 4.157e-06/15.73, allocations: 1.312 kB / 5.182 GB, free: 85.75 MB / 1.026 GB Notification: Performance of matching and sorting (n=182): time 0.004683/15.73, allocations: 1.938 MB / 5.184 GB, free: 85.54 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/15.73, allocations: 70.09 kB / 5.184 GB, free: 85.48 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/15.73, allocations: 1.67 MB / 5.186 GB, free: 85.26 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0003962/15.73, allocations: 70.27 kB / 5.186 GB, free: 85.23 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/15.74, allocations: 1.409 MB / 5.187 GB, free: 84.75 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008487/15.74, allocations: 0.6428 MB / 5.188 GB, free: 84.33 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/15.74, allocations: 37.94 kB / 5.188 GB, free: 84.33 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001689/15.74, allocations: 392.1 kB / 5.188 GB, free: 84.02 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/15.74, allocations: 0.752 MB / 5.189 GB, free: 84.02 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/15.74, allocations: 1.434 MB / 5.19 GB, free: 83.24 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/15.74, allocations: 1.029 MB / 5.191 GB, free: 83.21 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/15.74, allocations: 3.312 kB / 5.191 GB, free: 83.21 MB / 1.026 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005048/15.75, allocations: 2.413 MB / 5.194 GB, free: 83 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001296/15.75, allocations: 5.514 MB / 5.199 GB, free: 77.16 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/15.75, allocations: 13.78 kB / 5.199 GB, free: 77.16 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.436e-05/15.75, allocations: 30.88 kB / 5.199 GB, free: 77.16 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/15.75, allocations: 0.508 MB / 5.199 GB, free: 77.16 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/15.75, allocations: 4.158 MB / 5.203 GB, free: 73.06 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/15.76, allocations: 370.5 kB / 5.204 GB, free: 72.96 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004267/15.76, allocations: 89.83 kB / 5.204 GB, free: 72.96 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/15.76, allocations: 4.625 kB / 5.204 GB, free: 72.96 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00471/15.76, allocations: 2.138 MB / 5.206 GB, free: 72.91 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/15.76, allocations: 15.34 kB / 5.206 GB, free: 72.91 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.671e-05/15.76, allocations: 25.06 kB / 5.206 GB, free: 72.91 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/15.77, allocations: 477.5 kB / 5.207 GB, free: 72.91 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.109e-05/15.77, allocations: 27.8 kB / 5.207 GB, free: 72.91 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/15.77, allocations: 356.8 kB / 5.207 GB, free: 72.82 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004237/15.77, allocations: 88.44 kB / 5.207 GB, free: 72.82 MB / 1.026 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.001029/15.77, allocations: 240.4 kB / 5.207 GB, free: 72.71 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/15.77, allocations: 269.7 kB / 5.207 GB, free: 72.57 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005205/15.78, allocations: 2.033 MB / 5.209 GB, free: 72.46 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/15.78, allocations: 21.39 kB / 5.209 GB, free: 72.46 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/15.78, allocations: 0 / 5.209 GB, free: 72.46 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003107/15.78, allocations: 1.817 MB / 5.211 GB, free: 72.16 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/15.79, allocations: 5.073 MB / 5.216 GB, free: 71.62 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/15.79, allocations: 6.125 kB / 5.216 GB, free: 71.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/15.8, allocations: 0.5094 MB / 5.217 GB, free: 71.62 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.342e-05/15.8, allocations: 16.08 kB / 5.217 GB, free: 71.62 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/15.8, allocations: 50.55 kB / 5.217 GB, free: 71.62 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/15.8, allocations: 4.126 MB / 5.221 GB, free: 67.53 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/15.8, allocations: 5.25 kB / 5.221 GB, free: 67.53 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005129/15.8, allocations: 3.493 MB / 5.224 GB, free: 66.77 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/15.81, allocations: 0.5702 MB / 5.225 GB, free: 66.52 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/15.81, allocations: 39.84 kB / 5.225 GB, free: 66.52 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/15.81, allocations: 249.2 kB / 5.225 GB, free: 66.5 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/15.81, allocations: 116.1 kB / 5.225 GB, free: 66.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/15.81, allocations: 76.83 kB / 5.225 GB, free: 66.5 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001944/15.81, allocations: 1.274 MB / 5.226 GB, free: 66.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.5e-07/15.81, allocations: 0 / 5.226 GB, free: 66.34 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.006719/15.82, allocations: 2.136 MB / 5.229 GB, free: 66.09 MB / 1.026 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.01202/15.83, allocations: 9.451 MB / 5.238 GB, free: 61.92 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00636/15.84, allocations: 3.216 MB / 5.241 GB, free: 61.86 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/15.84, allocations: 3.5 kB / 5.241 GB, free: 61.86 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/15.84, allocations: 0.9864 MB / 5.242 GB, free: 61.84 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009538/15.85, allocations: 1.572 MB / 5.243 GB, free: 61.8 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/15.86, allocations: 6.327 MB / 5.25 GB, free: 60.43 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/15.86, allocations: 2.254 MB / 5.252 GB, free: 59.67 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.005499/15.87, allocations: 1.331 MB / 5.253 GB, free: 59.64 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/15.87, allocations: 1.216 MB / 5.254 GB, free: 59.64 MB / 1.026 GB Notification: Performance of SimCode: time 1.543e-06/15.87, allocations: 5 kB / 5.254 GB, free: 59.64 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2459/16.12, allocations: 150.8 MB / 5.402 GB, free: 27.13 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/16.12, allocations: 220.3 kB / 5.402 GB, free: 26.91 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/23.99, allocations: 0 / 5.402 GB, free: 26.91 MB / 1.026 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)