Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.252/2.252, allocations: 251 MB / 265.9 MB, free: 11.7 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.001574/0.001574, allocations: 178.9 kB / 325.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.441/2.441, allocations: 205.4 MB / 0.5764 GB, free: 21.25 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.001139/0.001139, allocations: 86.64 kB / 0.6809 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006699/0.0006702, allocations: 13.34 kB / 0.795 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2269, allocations: 106.3 MB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.44/7.668, allocations: 2.253 GB / 3.152 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/7.668, allocations: 96.02 kB / 3.152 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.17/17.84, allocations: 1.984 GB / 5.136 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.504e-06/17.84, allocations: 4 kB / 5.136 GB, free: 8.75 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005229/17.84, allocations: 87.98 kB / 5.136 GB, free: 8.664 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.01832/17.86, allocations: 3.976 MB / 5.14 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/17.86, allocations: 16.02 kB / 5.14 GB, free: 4.605 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002075/17.86, allocations: 391.9 kB / 5.14 GB, free: 4.215 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009709/17.87, allocations: 0.9243 MB / 5.141 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/17.88, allocations: 2.882 MB / 5.144 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004441/17.88, allocations: 281.5 kB / 5.144 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/17.89, allocations: 300 kB / 5.144 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/17.9, allocations: 3.236 MB / 5.147 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/17.9, allocations: 3.906 kB / 5.147 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006581/17.9, allocations: 120 kB / 5.148 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/17.9, allocations: 109.4 kB / 5.148 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/17.91, allocations: 2.656 MB / 5.15 GB, free: 9.527 MB / 0.948 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.8656/18.78, allocations: 13.22 MB / 5.163 GB, free: 86.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004566/18.78, allocations: 1.772 MB / 5.165 GB, free: 86.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007692/18.78, allocations: 327.5 kB / 5.165 GB, free: 86.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.908e-05/18.78, allocations: 61.58 kB / 5.165 GB, free: 86.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=182): time 4.538e-06/18.78, allocations: 0 / 5.165 GB, free: 86.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.009577/18.79, allocations: 2.649 MB / 5.168 GB, free: 86.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/18.79, allocations: 71.83 kB / 5.168 GB, free: 86.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005384/18.8, allocations: 1.705 MB / 5.17 GB, free: 85.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007479/18.8, allocations: 69.83 kB / 5.17 GB, free: 85.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/18.8, allocations: 1.409 MB / 5.171 GB, free: 85.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001348/18.8, allocations: 0.649 MB / 5.172 GB, free: 85.15 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/18.8, allocations: 38.91 kB / 5.172 GB, free: 85.15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001986/18.8, allocations: 390.3 kB / 5.172 GB, free: 84.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/18.8, allocations: 0.7672 MB / 5.173 GB, free: 84.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/18.81, allocations: 1.423 MB / 5.174 GB, free: 84.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/18.81, allocations: 1.035 MB / 5.175 GB, free: 84.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.026e-05/18.81, allocations: 3.656 kB / 5.175 GB, free: 84.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007552/18.82, allocations: 2.427 MB / 5.178 GB, free: 83.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001416/18.82, allocations: 5.508 MB / 5.183 GB, free: 78.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-05/18.82, allocations: 18.75 kB / 5.183 GB, free: 78.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.385e-05/18.82, allocations: 21.25 kB / 5.183 GB, free: 78.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004804/18.82, allocations: 0.513 MB / 5.183 GB, free: 78.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/18.83, allocations: 4.151 MB / 5.188 GB, free: 73.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/18.83, allocations: 375.9 kB / 5.188 GB, free: 73.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005197/18.83, allocations: 98.66 kB / 5.188 GB, free: 73.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/18.83, allocations: 3.375 kB / 5.188 GB, free: 73.88 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005575/18.84, allocations: 2.164 MB / 5.19 GB, free: 73.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/18.84, allocations: 14.66 kB / 5.19 GB, free: 73.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.603e-05/18.84, allocations: 26.38 kB / 5.19 GB, free: 73.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/18.84, allocations: 475.8 kB / 5.191 GB, free: 73.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.343e-05/18.84, allocations: 29.2 kB / 5.191 GB, free: 73.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005931/18.85, allocations: 350.8 kB / 5.191 GB, free: 73.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003651/18.85, allocations: 94.55 kB / 5.191 GB, free: 73.78 MB / 0.948 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 () * Number of clocked 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.003193/18.85, allocations: 0.8768 MB / 5.192 GB, free: 73.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/18.85, allocations: 268.8 kB / 5.192 GB, free: 73.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005643/18.86, allocations: 2.055 MB / 5.194 GB, free: 73.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/18.86, allocations: 17.84 kB / 5.194 GB, free: 73.33 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/18.86, allocations: 2.734 kB / 5.194 GB, free: 73.33 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004052/18.86, allocations: 1.845 MB / 5.196 GB, free: 73.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/18.88, allocations: 5.116 MB / 5.201 GB, free: 72.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/18.88, allocations: 3.906 kB / 5.201 GB, free: 72.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004431/18.88, allocations: 0.511 MB / 5.201 GB, free: 72.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/18.88, allocations: 13.78 kB / 5.201 GB, free: 72.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/18.88, allocations: 54.17 kB / 5.202 GB, free: 72.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/18.88, allocations: 4.116 MB / 5.206 GB, free: 68.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/18.88, allocations: 12.66 kB / 5.206 GB, free: 68.42 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007631/18.89, allocations: 3.516 MB / 5.209 GB, free: 67.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002483/18.89, allocations: 0.5844 MB / 5.21 GB, free: 67.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006947/18.89, allocations: 46.59 kB / 5.21 GB, free: 67.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004702/18.9, allocations: 264.5 kB / 5.21 GB, free: 67.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/18.9, allocations: 108.8 kB / 5.21 GB, free: 67.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/18.9, allocations: 77.03 kB / 5.21 GB, free: 67.43 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0029/18.9, allocations: 1.303 MB / 5.211 GB, free: 67.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.31e-07/18.9, allocations: 0 / 5.211 GB, free: 67.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009193/18.91, allocations: 2.157 MB / 5.213 GB, free: 67.16 MB / 0.948 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 (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.01708/18.93, allocations: 9.478 MB / 5.223 GB, free: 63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01026/18.94, allocations: 3.171 MB / 5.226 GB, free: 62.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/18.94, allocations: 0 / 5.226 GB, free: 62.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002825/18.94, allocations: 0.9931 MB / 5.227 GB, free: 62.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01379/18.96, allocations: 1.575 MB / 5.228 GB, free: 62.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02678/18.98, allocations: 19.28 MB / 5.247 GB, free: 64.97 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/18.99, allocations: 2.259 MB / 5.249 GB, free: 64.21 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006771/18.99, allocations: 1.086 MB / 5.25 GB, free: 64.18 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003278/19, allocations: 1.255 MB / 5.252 GB, free: 64.17 MB / 0.9636 GB Notification: Performance of SimCode: time 1.603e-06/19, allocations: 0 / 5.252 GB, free: 64.17 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2915/19.29, allocations: 135.8 MB / 5.384 GB, free: 58.71 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/19.29, allocations: 256.3 kB / 5.384 GB, free: 58.38 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.669/27.96, allocations: 3.469 kB / 5.384 GB, free: 58.38 MB / 0.9636 GB