Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified2",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.258/2.258, 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.00163/0.001629, allocations: 183.1 kB / 325.5 MB, free: 2.891 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.369/2.369, allocations: 205.4 MB / 0.5764 GB, free: 21.15 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.001183/0.001183, allocations: 104.4 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004832, allocations: 12.12 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2193, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/1.557, allocations: 456.4 MB / 1.344 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/1.558, allocations: 102.3 kB / 1.345 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 49.85/51.41, allocations: 8.485 GB / 9.83 GB, free: 92.44 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.625e-06/51.41, allocations: 0 / 9.83 GB, free: 92.44 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.005114/51.41, allocations: 0.5119 MB / 9.83 GB, free: 92.34 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.1196/51.53, allocations: 21.42 MB / 9.851 GB, free: 84.63 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/51.53, allocations: 9.625 kB / 9.851 GB, free: 84.63 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007471/51.54, allocations: 1.084 MB / 9.852 GB, free: 84.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01983/51.56, allocations: 2.306 MB / 9.854 GB, free: 83.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1102/51.67, allocations: 23.5 MB / 9.877 GB, free: 80.95 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001722/51.67, allocations: 0.7147 MB / 9.878 GB, free: 80.93 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007726/51.68, allocations: 1.018 MB / 9.879 GB, free: 80.91 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05749/51.74, allocations: 16.8 MB / 9.895 GB, free: 79.06 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006671/51.74, allocations: 22.14 kB / 9.895 GB, free: 79.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005124/51.74, allocations: 358.2 kB / 9.896 GB, free: 79.05 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000288/51.74, allocations: 219.8 kB / 9.896 GB, free: 79.05 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05589/51.8, allocations: 19.79 MB / 9.915 GB, free: 78.99 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 removeSimpleEquations (simulation): time 0.2133/52.01, allocations: 79.25 MB / 9.993 GB, free: 45.29 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03139/52.04, allocations: 11.88 MB / 10 GB, free: 44.84 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.1027/52.15, allocations: 32.88 MB / 10.04 GB, free: 36.21 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02537/52.17, allocations: 9.238 MB / 10.05 GB, free: 36.03 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0814/52.25, allocations: 14.9 MB / 10.06 GB, free: 35.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=581): time 4.341e-05/52.25, allocations: 0 / 10.06 GB, free: 35.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=811): time 2.877/55.13, allocations: 198.3 MB / 10.25 GB, free: 104 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008201/55.13, allocations: 2.529 MB / 10.26 GB, free: 101 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04806/55.18, allocations: 14.9 MB / 10.27 GB, free: 100.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005393/55.18, allocations: 266.6 kB / 10.27 GB, free: 100.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01528/55.2, allocations: 7.908 MB / 10.28 GB, free: 99.85 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007973/55.21, allocations: 2.815 MB / 10.28 GB, free: 99.77 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005816/55.21, allocations: 208.8 kB / 10.28 GB, free: 99.77 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001397/55.21, allocations: 0.7545 MB / 10.28 GB, free: 99.45 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03331/55.25, allocations: 10.07 MB / 10.29 GB, free: 99.42 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03781/55.29, allocations: 13.77 MB / 10.31 GB, free: 95.51 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03755/55.32, allocations: 11.41 MB / 10.32 GB, free: 95.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/55.32, allocations: 14.91 kB / 10.32 GB, free: 95.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.278/56.6, allocations: 129.4 MB / 10.44 GB, free: 91.87 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007096/56.61, allocations: 36.7 MB / 10.48 GB, free: 54.42 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007082/56.61, allocations: 118.2 kB / 10.48 GB, free: 54.42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366/57.98, allocations: 147.1 MB / 10.62 GB, free: 12.29 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0275/58, allocations: 2.578 MB / 10.63 GB, free: 9.891 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489/59.49, allocations: 76.38 MB / 10.7 GB, free: 147.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03507/59.53, allocations: 1.438 MB / 10.7 GB, free: 147.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005914/59.53, allocations: 0.9164 MB / 10.7 GB, free: 147.9 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/59.53, allocations: 3.969 kB / 10.7 GB, free: 147.9 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.268/60.8, allocations: 128.1 MB / 10.83 GB, free: 146.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006443/60.8, allocations: 119.5 kB / 10.83 GB, free: 146.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329/62.13, allocations: 147.4 MB / 10.97 GB, free: 93.27 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02308/62.15, allocations: 2.557 MB / 10.97 GB, free: 90.89 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3461/62.5, allocations: 80.7 MB / 11.05 GB, free: 31.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03471/62.54, allocations: 1.413 MB / 11.05 GB, free: 30.73 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006317/62.54, allocations: 0.8691 MB / 11.05 GB, free: 29.95 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1061): * Single equations (assignments): 981 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02019/62.56, allocations: 4.27 MB / 11.06 GB, free: 27.32 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009087/62.57, allocations: 1.555 MB / 11.06 GB, free: 26.6 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557/64.13, allocations: 50.25 MB / 11.11 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001826/64.13, allocations: 100.3 kB / 11.11 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002663/64.13, allocations: 31.19 kB / 11.11 GB, free: 139 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3396/64.47, allocations: 44.24 MB / 11.15 GB, free: 138.3 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4094/64.88, allocations: 68.45 MB / 11.22 GB, free: 134.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001523/64.88, allocations: 5.922 kB / 11.22 GB, free: 134.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01836/64.9, allocations: 1.726 MB / 11.22 GB, free: 134.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3492/65.25, allocations: 42.25 MB / 11.26 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003127/65.25, allocations: 340.8 kB / 11.26 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1106/65.36, allocations: 31.59 MB / 11.29 GB, free: 127 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/65.36, allocations: 3.656 kB / 11.29 GB, free: 127 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3709/65.73, allocations: 58.16 MB / 11.35 GB, free: 125.7 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01647/65.75, allocations: 3.628 MB / 11.35 GB, free: 125.6 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008521/65.76, allocations: 273.9 kB / 11.35 GB, free: 125.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02663/65.78, allocations: 1.222 MB / 11.36 GB, free: 125.6 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00453/65.79, allocations: 0.5923 MB / 11.36 GB, free: 125.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002958/65.79, allocations: 345.9 kB / 11.36 GB, free: 125.6 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.03326/65.82, allocations: 11.42 MB / 11.37 GB, free: 122.1 MB / 1.214 GB Notification: Performance of sort global known variables: time 8.51e-07/65.82, allocations: 2.25 kB / 11.37 GB, free: 122.1 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.07062/65.89, allocations: 8.784 MB / 11.38 GB, free: 114.4 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * 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 (716): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.3805/66.27, allocations: 63.67 MB / 11.44 GB, free: 78.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1492/66.42, allocations: 42.72 MB / 11.48 GB, free: 54.29 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.392e-05/66.42, allocations: 11.75 kB / 11.48 GB, free: 54.29 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.0402/66.46, allocations: 11.2 MB / 11.49 GB, free: 44.64 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06794/66.53, allocations: 7.759 MB / 11.5 GB, free: 39.45 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.427/68.96, allocations: 91.18 MB / 11.59 GB, free: 74.53 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02359/68.98, allocations: 9.407 MB / 11.6 GB, free: 73.39 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.04198/69.02, allocations: 5.5 MB / 11.6 GB, free: 73.26 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02522/69.05, allocations: 8.189 MB / 11.61 GB, free: 73.26 MB / 1.214 GB Notification: Performance of SimCode: time 1.553e-06/69.05, allocations: 0 / 11.61 GB, free: 73.26 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.561/71.61, allocations: 0.6134 GB / 12.22 GB, free: 159.4 MB / 1.261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/71.61, allocations: 264.4 kB / 12.22 GB, free: 159 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.05/108.7, allocations: 4 kB / 12.22 GB, free: 159 MB / 1.261 GB