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.7/1.7, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001078/0.001077, allocations: 180.9 kB / 361.4 MB, free: 6.836 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.709/1.709, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009975/0.0009972, allocations: 101.2 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.34e-05, allocations: 8 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7195/0.7195, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.921/6.64, allocations: 2.134 GB / 3.099 GB, free: 288.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/6.641, allocations: 88.53 kB / 3.099 GB, free: 288.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.829/14.47, allocations: 2.014 GB / 5.113 GB, free: 80.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/14.47, allocations: 0 / 5.113 GB, free: 80.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004904/14.47, allocations: 97.55 kB / 5.113 GB, free: 80.59 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.01387/14.48, allocations: 3.473 MB / 5.116 GB, free: 79.17 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/14.48, allocations: 13.83 kB / 5.116 GB, free: 79.17 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009273/14.49, allocations: 0.9164 MB / 5.117 GB, free: 78.98 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/14.51, allocations: 2.844 MB / 5.12 GB, free: 78.39 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/14.51, allocations: 177.9 kB / 5.12 GB, free: 78.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/14.51, allocations: 176 kB / 5.12 GB, free: 78.32 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006756/14.51, allocations: 2.434 MB / 5.123 GB, free: 78.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009194/14.52, allocations: 2.738 MB / 5.125 GB, free: 78.06 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/14.52, allocations: 7.781 kB / 5.125 GB, free: 78.06 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008343/14.52, allocations: 0 / 5.125 GB, free: 78.06 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/14.52, allocations: 101 kB / 5.126 GB, free: 78.05 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.02013/14.54, allocations: 12.68 MB / 5.138 GB, free: 70.93 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/14.55, allocations: 1.697 MB / 5.14 GB, free: 70.87 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/14.55, allocations: 1.003 MB / 5.141 GB, free: 70.85 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006239/14.55, allocations: 328.8 kB / 5.141 GB, free: 70.56 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.703e-05/14.55, allocations: 57.5 kB / 5.141 GB, free: 70.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=182): time 3.768e-06/14.55, allocations: 2.875 kB / 5.141 GB, free: 70.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.004654/14.55, allocations: 1.849 MB / 5.143 GB, free: 70.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/14.55, allocations: 73.41 kB / 5.143 GB, free: 70.25 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003317/14.56, allocations: 1.415 MB / 5.144 GB, free: 70.04 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004099/14.56, allocations: 33.17 kB / 5.144 GB, free: 70 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/14.56, allocations: 1.397 MB / 5.146 GB, free: 69.44 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008272/14.56, allocations: 0.6212 MB / 5.146 GB, free: 69.03 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/14.56, allocations: 2.344 kB / 5.146 GB, free: 69.03 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001852/14.56, allocations: 392.7 kB / 5.147 GB, free: 68.72 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/14.56, allocations: 0.7171 MB / 5.147 GB, free: 68.71 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/14.56, allocations: 1.381 MB / 5.149 GB, free: 67.94 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/14.57, allocations: 0.9949 MB / 5.15 GB, free: 67.89 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/14.57, allocations: 3.844 kB / 5.15 GB, free: 67.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004022/14.57, allocations: 2.224 MB / 5.152 GB, free: 67.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001038/14.57, allocations: 5.472 MB / 5.157 GB, free: 61.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/14.57, allocations: 17.56 kB / 5.157 GB, free: 61.78 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-05/14.57, allocations: 22.28 kB / 5.157 GB, free: 61.78 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/14.57, allocations: 0.5091 MB / 5.158 GB, free: 61.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/14.57, allocations: 4.183 MB / 5.162 GB, free: 57.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003981/14.58, allocations: 314.7 kB / 5.162 GB, free: 57.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/14.58, allocations: 95.14 kB / 5.162 GB, free: 57.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/14.58, allocations: 7.438 kB / 5.162 GB, free: 57.54 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00401/14.58, allocations: 1.913 MB / 5.164 GB, free: 57.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.755e-05/14.58, allocations: 18.91 kB / 5.164 GB, free: 57.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.853e-05/14.58, allocations: 24.84 kB / 5.164 GB, free: 57.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/14.58, allocations: 468.4 kB / 5.164 GB, free: 57.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.434e-05/14.59, allocations: 34.27 kB / 5.164 GB, free: 57.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/14.59, allocations: 294 kB / 5.165 GB, free: 57.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/14.59, allocations: 91.84 kB / 5.165 GB, free: 57.32 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.0008131/14.59, allocations: 156.2 kB / 5.165 GB, free: 57.18 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00367/14.59, allocations: 1.751 MB / 5.167 GB, free: 56.97 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009158/14.6, allocations: 256.2 kB / 5.167 GB, free: 56.84 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/14.6, allocations: 1.885 MB / 5.169 GB, free: 56.72 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/14.6, allocations: 21.55 kB / 5.169 GB, free: 56.72 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/14.6, allocations: 0 / 5.169 GB, free: 56.72 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002309/14.6, allocations: 1.722 MB / 5.17 GB, free: 56.41 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009888/14.61, allocations: 4.638 MB / 5.175 GB, free: 55.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/14.61, allocations: 5.188 kB / 5.175 GB, free: 55.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/14.61, allocations: 0.5028 MB / 5.176 GB, free: 55.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.378e-05/14.61, allocations: 9.469 kB / 5.176 GB, free: 55.87 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/14.61, allocations: 28.52 kB / 5.176 GB, free: 55.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/14.62, allocations: 4.129 MB / 5.18 GB, free: 51.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/14.62, allocations: 7.625 kB / 5.18 GB, free: 51.77 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005564/14.62, allocations: 3.344 MB / 5.183 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/14.62, allocations: 0.5534 MB / 5.183 GB, free: 50.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006822/14.62, allocations: 13.12 kB / 5.183 GB, free: 50.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003085/14.63, allocations: 220.3 kB / 5.184 GB, free: 50.75 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/14.63, allocations: 112.4 kB / 5.184 GB, free: 50.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/14.63, allocations: 85.08 kB / 5.184 GB, free: 50.74 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001936/14.63, allocations: 1.047 MB / 5.185 GB, free: 50.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.4e-07/14.63, allocations: 0 / 5.185 GB, free: 50.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.009628/14.64, allocations: 1.917 MB / 5.187 GB, free: 50.33 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.01257/14.65, allocations: 9.749 MB / 5.196 GB, free: 46.14 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006206/14.66, allocations: 3.057 MB / 5.199 GB, free: 45.99 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/14.66, allocations: 5.531 kB / 5.199 GB, free: 45.99 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/14.66, allocations: 0.9469 MB / 5.2 GB, free: 45.94 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008493/14.67, allocations: 1.453 MB / 5.202 GB, free: 45.89 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/14.68, allocations: 6.135 MB / 5.208 GB, free: 44.12 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/14.68, allocations: 2.25 MB / 5.21 GB, free: 43.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005718/14.69, allocations: 1.256 MB / 5.211 GB, free: 43.06 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002552/14.69, allocations: 1.213 MB / 5.212 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of SimCode: time 1.903e-06/14.69, allocations: 0 / 5.212 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9466/15.64, allocations: 104.6 MB / 5.314 GB, free: 121.3 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/15.64, allocations: 184 kB / 5.314 GB, free: 121.1 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.39/22.03, allocations: 0 / 5.314 GB, free: 121.1 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)