Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6",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.102/2.102, allocations: 251 MB / 265.9 MB, free: 11.68 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.001598/0.001598, allocations: 174.3 kB / 325.5 MB, free: 2.895 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.361/2.361, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001175/0.001174, allocations: 95.7 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006473/0.0006475, allocations: 16.97 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2182, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.537, allocations: 458.4 MB / 1.346 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/1.537, allocations: 103.6 kB / 1.347 GB, free: 9.352 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 58.77/60.31, allocations: 10.24 GB / 11.59 GB, free: 76.67 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.756e-06/60.31, allocations: 0 / 11.59 GB, free: 76.67 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003595/60.31, allocations: 351.2 kB / 11.59 GB, free: 76.57 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.1145/60.42, allocations: 17.44 MB / 11.6 GB, free: 62.21 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/60.42, allocations: 12.03 kB / 11.6 GB, free: 62.2 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004499/60.43, allocations: 0.7823 MB / 11.6 GB, free: 61.41 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/60.45, allocations: 2.078 MB / 11.61 GB, free: 59.31 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08248/60.53, allocations: 18.44 MB / 11.62 GB, free: 40.8 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00106/60.53, allocations: 0.5345 MB / 11.62 GB, free: 40.27 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003914/60.53, allocations: 0.7109 MB / 11.62 GB, free: 39.56 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02959/60.56, allocations: 8.451 MB / 11.63 GB, free: 30.77 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003156/60.56, allocations: 19.88 kB / 11.63 GB, free: 30.75 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00235/60.56, allocations: 255.9 kB / 11.63 GB, free: 30.5 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/60.57, allocations: 152 kB / 11.63 GB, free: 30.35 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02445/60.59, allocations: 6.897 MB / 11.64 GB, free: 23.44 MB / 1.135 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 1.268/61.86, allocations: 49.69 MB / 11.69 GB, free: 85.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/61.87, allocations: 4.862 MB / 11.69 GB, free: 85.66 MB / 1.151 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 evalFunc (simulation): time 0.05488/61.93, allocations: 13.39 MB / 11.71 GB, free: 82.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0108/61.94, allocations: 3.322 MB / 11.71 GB, free: 82.86 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01853/61.96, allocations: 2.449 MB / 11.71 GB, free: 82.86 MB / 1.151 GB Notification: Performance of pre-optimization done (n=327): time 2.171e-05/61.96, allocations: 0 / 11.71 GB, free: 82.86 MB / 1.151 GB Notification: Performance of matching and sorting (n=516): time 0.2509/62.21, allocations: 44.68 MB / 11.76 GB, free: 76.04 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/62.21, allocations: 105.2 kB / 11.76 GB, free: 75.97 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03579/62.25, allocations: 12.19 MB / 11.77 GB, free: 75.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002288/62.25, allocations: 176 kB / 11.77 GB, free: 75.27 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0105/62.26, allocations: 6.222 MB / 11.77 GB, free: 74.19 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003393/62.26, allocations: 1.741 MB / 11.78 GB, free: 73.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/62.26, allocations: 145.3 kB / 11.78 GB, free: 73.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0006403/62.26, allocations: 0.5916 MB / 11.78 GB, free: 72.99 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01679/62.28, allocations: 4.386 MB / 11.78 GB, free: 72.97 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01965/62.3, allocations: 7.307 MB / 11.79 GB, free: 69.62 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01871/62.32, allocations: 5.187 MB / 11.79 GB, free: 69.47 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/62.32, allocations: 18.19 kB / 11.79 GB, free: 69.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.05858/62.38, allocations: 14.9 MB / 11.81 GB, free: 68.42 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0102/62.39, allocations: 38.51 MB / 11.85 GB, free: 44.57 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002786/62.39, allocations: 59.38 kB / 11.85 GB, free: 44.57 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/62.4, allocations: 3.508 MB / 11.85 GB, free: 44.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01897/62.42, allocations: 1.783 MB / 11.85 GB, free: 44.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/62.44, allocations: 12.37 MB / 11.86 GB, free: 37.74 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02398/62.47, allocations: 1.131 MB / 11.86 GB, free: 37.71 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003126/62.47, allocations: 487.8 kB / 11.86 GB, free: 37.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/62.47, allocations: 6.5 kB / 11.86 GB, free: 37.71 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05397/62.53, allocations: 13.89 MB / 11.88 GB, free: 37.35 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003135/62.53, allocations: 60.25 kB / 11.88 GB, free: 37.35 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01533/62.54, allocations: 3.794 MB / 11.88 GB, free: 37.27 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01614/62.56, allocations: 1.774 MB / 11.88 GB, free: 37.27 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0448/62.6, allocations: 17.36 MB / 11.9 GB, free: 31.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02231/62.62, allocations: 1.102 MB / 11.9 GB, free: 31.48 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002722/62.63, allocations: 450.6 kB / 11.9 GB, free: 31.48 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 721 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01262/62.64, allocations: 3.125 MB / 11.9 GB, free: 31.29 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005316/62.65, allocations: 1.206 MB / 11.91 GB, free: 30.62 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05739/62.7, allocations: 13.29 MB / 11.92 GB, free: 46.05 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001453/62.7, allocations: 68.36 kB / 11.92 GB, free: 46.05 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/62.7, allocations: 0 / 11.92 GB, free: 46.05 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04102/62.74, allocations: 10.69 MB / 11.93 GB, free: 45.42 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.08797/62.83, allocations: 25.02 MB / 11.95 GB, free: 43.22 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-05/62.83, allocations: 13.16 kB / 11.95 GB, free: 43.22 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01093/62.84, allocations: 1.083 MB / 11.95 GB, free: 43.21 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009713/62.85, allocations: 2.389 MB / 11.96 GB, free: 43.05 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001428/62.85, allocations: 168.5 kB / 11.96 GB, free: 43.05 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/62.87, allocations: 10.99 MB / 11.97 GB, free: 36.31 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/62.87, allocations: 11.19 kB / 11.97 GB, free: 36.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06106/62.93, allocations: 19.94 MB / 11.99 GB, free: 32.04 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01224/62.94, allocations: 2.529 MB / 11.99 GB, free: 31.27 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005778/62.95, allocations: 111.4 kB / 11.99 GB, free: 31.27 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01824/62.97, allocations: 0.9082 MB / 11.99 GB, free: 31.19 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001928/62.97, allocations: 395 kB / 11.99 GB, free: 31.17 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001398/62.97, allocations: 251.3 kB / 11.99 GB, free: 31.17 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02649/63, allocations: 9.285 MB / 12 GB, free: 30.82 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.993e-06/63, allocations: 0 / 12 GB, free: 30.82 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05433/63.05, allocations: 5.95 MB / 12.01 GB, free: 30.82 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.07241/63.12, allocations: 25.17 MB / 12.03 GB, free: 23.97 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.06455/63.19, allocations: 17.72 MB / 12.05 GB, free: 22.89 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/63.19, allocations: 0 / 12.05 GB, free: 22.89 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01763/63.21, allocations: 4.992 MB / 12.05 GB, free: 22.45 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04856/63.25, allocations: 5.955 MB / 12.06 GB, free: 18.49 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.378/65.63, allocations: 80.86 MB / 12.14 GB, free: 153.6 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01865/65.65, allocations: 7.062 MB / 12.14 GB, free: 152.6 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.03008/65.68, allocations: 3.852 MB / 12.15 GB, free: 152.5 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0179/65.7, allocations: 6.072 MB / 12.15 GB, free: 152.5 MB / 1.229 GB Notification: Performance of SimCode: time 1.022e-06/65.7, allocations: 0 / 12.15 GB, free: 152.5 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.189/66.89, allocations: 390.6 MB / 12.54 GB, free: 3.391 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/66.89, allocations: 253 kB / 12.54 GB, free: 3.055 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.17/93.06, allocations: 0.9062 kB / 12.54 GB, free: 3.055 MB / 1.229 GB