Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.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.Basic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Basic",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.168/2.168, allocations: 248.7 MB / 256.2 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001467, allocations: 179.1 kB / 315.4 MB, free: 4.008 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.024/2.024, allocations: 205.3 MB / 0.5662 GB, free: 0.582 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001178, allocations: 104.2 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.38e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2117, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.916/2.128, allocations: 456.3 MB / 1.33 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/2.128, allocations: 96.78 kB / 1.33 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 34.26/36.39, allocations: 6.211 GB / 7.541 GB, free: 20.88 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.974e-06/36.39, allocations: 0 / 7.541 GB, free: 20.88 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.004624/36.39, allocations: 0.5303 MB / 7.541 GB, free: 20.34 MB / 1.12 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.07083/36.46, allocations: 14.15 MB / 7.555 GB, free: 6.074 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/36.46, allocations: 8.031 kB / 7.555 GB, free: 6.066 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01942/36.48, allocations: 2.304 MB / 7.557 GB, free: 3.738 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.301/38.78, allocations: 23.29 MB / 7.58 GB, free: 73.28 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009791/38.78, allocations: 261.1 kB / 7.58 GB, free: 73.28 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006882/38.79, allocations: 0.5954 MB / 7.581 GB, free: 73.28 MB / 1.136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05841/38.85, allocations: 19.84 MB / 7.6 GB, free: 73.24 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05326/38.9, allocations: 15.5 MB / 7.615 GB, free: 71.43 MB / 1.136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006772/38.9, allocations: 14.22 kB / 7.615 GB, free: 71.43 MB / 1.136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004773/38.91, allocations: 15.91 kB / 7.615 GB, free: 71.43 MB / 1.136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002969/38.91, allocations: 211.7 kB / 7.615 GB, free: 71.43 MB / 1.136 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.2101/39.12, allocations: 77.01 MB / 7.691 GB, free: 40.64 MB / 1.136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0302/39.15, allocations: 13.11 MB / 7.703 GB, free: 40.2 MB / 1.136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02113/39.17, allocations: 9.789 MB / 7.713 GB, free: 40.09 MB / 1.136 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 evalFunc (simulation): time 0.1149/39.28, allocations: 33.46 MB / 7.746 GB, free: 31.39 MB / 1.136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02341/39.31, allocations: 9.118 MB / 7.755 GB, free: 31.23 MB / 1.136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08166/39.39, allocations: 14.96 MB / 7.769 GB, free: 31.07 MB / 1.136 GB Notification: Performance of pre-optimization done (n=606): time 6.382e-05/39.39, allocations: 0 / 7.769 GB, free: 31.07 MB / 1.136 GB Notification: Performance of matching and sorting (n=608): time 1.323/40.71, allocations: 140.3 MB / 7.906 GB, free: 26.34 MB / 1.136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008024/40.71, allocations: 2.514 MB / 7.909 GB, free: 23.34 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04486/40.76, allocations: 13.83 MB / 7.922 GB, free: 22.58 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.004941/40.76, allocations: 47.3 kB / 7.922 GB, free: 22.55 MB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 0.01411/40.78, allocations: 7.766 MB / 7.93 GB, free: 21.11 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00621/40.78, allocations: 2.076 MB / 7.932 GB, free: 20.02 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004389/40.79, allocations: 0 / 7.932 GB, free: 20.02 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 0.001153/40.79, allocations: 0.6841 MB / 7.932 GB, free: 19.69 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02179/40.81, allocations: 8.516 MB / 7.941 GB, free: 19.66 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02576/40.84, allocations: 12.03 MB / 7.953 GB, free: 14.65 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03004/40.87, allocations: 9.984 MB / 7.962 GB, free: 6.707 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/40.87, allocations: 12 kB / 7.962 GB, free: 6.695 MB / 1.136 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 3.609/44.48, allocations: 125.6 MB / 8.085 GB, free: 93.12 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006867/44.48, allocations: 32.83 MB / 8.117 GB, free: 58.94 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006162/44.48, allocations: 117.9 kB / 8.117 GB, free: 58.94 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369/45.85, allocations: 144.6 MB / 8.258 GB, free: 57.16 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02143/45.87, allocations: 2.025 MB / 8.26 GB, free: 57.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2665/46.14, allocations: 68.76 MB / 8.327 GB, free: 61.61 MB / 1.183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03129/46.17, allocations: 0.937 MB / 8.328 GB, free: 61.26 MB / 1.183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005458/46.18, allocations: 0.8319 MB / 8.329 GB, free: 61 MB / 1.183 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/46.18, allocations: 5.75 kB / 8.329 GB, free: 61 MB / 1.183 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.324/47.5, allocations: 122.1 MB / 8.448 GB, free: 12.73 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000693/47.5, allocations: 112.9 kB / 8.449 GB, free: 12.62 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527/50.03, allocations: 144.5 MB / 8.59 GB, free: 145.9 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0177/50.05, allocations: 2.001 MB / 8.592 GB, free: 145.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2955/50.34, allocations: 73.27 MB / 8.663 GB, free: 143.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03118/50.37, allocations: 0.9197 MB / 8.664 GB, free: 143.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005508/50.38, allocations: 0.7788 MB / 8.665 GB, free: 143.2 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (889): * Single equations (assignments): 811 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.008475/50.39, allocations: 351 kB / 8.665 GB, free: 143.1 MB / 1.229 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 1.284/51.67, allocations: 119.3 MB / 8.782 GB, free: 128.1 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008597/51.68, allocations: 1.476 MB / 8.783 GB, free: 126.9 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3967/52.08, allocations: 44.4 MB / 8.826 GB, free: 90.34 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001654/52.08, allocations: 68 kB / 8.827 GB, free: 90.27 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001101/52.08, allocations: 28.69 kB / 8.827 GB, free: 90.24 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.315/52.39, allocations: 39.16 MB / 8.865 GB, free: 57.34 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.572/53.97, allocations: 59.26 MB / 8.923 GB, free: 143.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001022/53.97, allocations: 8.266 kB / 8.923 GB, free: 143.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01209/53.98, allocations: 1.075 MB / 8.924 GB, free: 143.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.354/54.33, allocations: 41.82 MB / 8.965 GB, free: 143.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002589/54.34, allocations: 157.2 kB / 8.965 GB, free: 143.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1043/54.44, allocations: 28.79 MB / 8.993 GB, free: 137.6 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/54.44, allocations: 3.469 kB / 8.993 GB, free: 137.6 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3517/54.79, allocations: 49.92 MB / 9.042 GB, free: 136.4 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01628/54.81, allocations: 3.205 MB / 9.045 GB, free: 136.1 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007871/54.82, allocations: 78.94 kB / 9.045 GB, free: 136.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0257/54.84, allocations: 0.8025 MB / 9.046 GB, free: 136 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004901/54.85, allocations: 446.8 kB / 9.046 GB, free: 136 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003395/54.85, allocations: 258.4 kB / 9.046 GB, free: 136 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.04361/54.89, allocations: 10.39 MB / 9.056 GB, free: 135.6 MB / 1.229 GB Notification: Performance of sort global known variables: time 2.295e-06/54.89, allocations: 0 / 9.056 GB, free: 135.6 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06534/54.96, allocations: 7.833 MB / 9.064 GB, free: 135.6 MB / 1.229 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (503): * Single equations (assignments): 481 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.3626/55.32, allocations: 54.69 MB / 9.117 GB, free: 131.3 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1213/55.44, allocations: 36.53 MB / 9.153 GB, free: 128 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.138e-05/55.44, allocations: 13.19 kB / 9.153 GB, free: 128 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.02917/55.47, allocations: 8.719 MB / 9.162 GB, free: 127.7 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06567/55.54, allocations: 7.577 MB / 9.169 GB, free: 127.6 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1076/55.65, allocations: 30.2 MB / 9.199 GB, free: 118.8 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02138/55.67, allocations: 8.995 MB / 9.207 GB, free: 113.6 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0777/55.74, allocations: 8.006 MB / 9.215 GB, free: 109.1 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01891/55.76, allocations: 7.384 MB / 9.222 GB, free: 108.4 MB / 1.229 GB Notification: Performance of SimCode: time 1.513e-06/55.76, allocations: 0 / 9.222 GB, free: 108.4 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.441/58.2, allocations: 0.5646 GB / 9.787 GB, free: 9.031 MB / 1.261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/58.2, allocations: 173.6 kB / 9.787 GB, free: 8.828 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.91/95.11, allocations: 0 / 9.787 GB, free: 8.828 MB / 1.261 GB