Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified3",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.271/2.271, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001533/0.001533, allocations: 186.4 kB / 315.4 MB, free: 3.992 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.039/2.039, allocations: 205.3 MB / 0.5662 GB, free: 0.543 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.001117/0.001117, allocations: 78.55 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.718e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1998, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.961/2.16, allocations: 456.7 MB / 1.33 GB, free: 250.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/2.161, allocations: 96.72 kB / 1.33 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 52.41/54.57, allocations: 9.182 GB / 10.51 GB, free: 78.07 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.605e-06/54.57, allocations: 0 / 10.51 GB, free: 78.07 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00516/54.57, allocations: 0.5128 MB / 10.51 GB, free: 77.96 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.07422/54.65, allocations: 14.14 MB / 10.53 GB, free: 71.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/54.65, allocations: 8.75 kB / 10.53 GB, free: 71.88 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02446/54.67, allocations: 2.304 MB / 10.53 GB, free: 70.85 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1067/54.78, allocations: 23.21 MB / 10.55 GB, free: 67.91 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007089/54.78, allocations: 258 kB / 10.55 GB, free: 67.91 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00615/54.78, allocations: 0.5814 MB / 10.55 GB, free: 67.91 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04888/54.83, allocations: 19.59 MB / 10.57 GB, free: 67.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04988/54.88, allocations: 15.32 MB / 10.59 GB, free: 65.92 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006715/54.88, allocations: 18.31 kB / 10.59 GB, free: 65.91 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004985/54.89, allocations: 18.12 kB / 10.59 GB, free: 65.91 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003217/54.89, allocations: 213.5 kB / 10.59 GB, free: 65.91 MB / 1.151 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.1998/55.09, allocations: 78.2 MB / 10.66 GB, free: 29.85 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02557/55.11, allocations: 12.09 MB / 10.67 GB, free: 24.23 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02023/55.14, allocations: 9.544 MB / 10.68 GB, free: 20.08 MB / 1.151 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.1125/55.25, allocations: 32.71 MB / 10.72 GB, free: 12.56 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02421/55.27, allocations: 8.817 MB / 10.72 GB, free: 5.812 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.364/56.64, allocations: 16.99 MB / 10.74 GB, free: 102.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=561): time 6.577e-05/56.64, allocations: 0 / 10.74 GB, free: 102.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=563): time 1.435/58.07, allocations: 138.3 MB / 10.88 GB, free: 100.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007499/58.07, allocations: 2.507 MB / 10.88 GB, free: 97.27 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04524/58.12, allocations: 13.87 MB / 10.89 GB, free: 96.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.004523/58.12, allocations: 44.92 kB / 10.89 GB, free: 96.47 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01503/58.14, allocations: 7.937 MB / 10.9 GB, free: 95.11 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005576/58.14, allocations: 1.924 MB / 10.9 GB, free: 94.11 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00392/58.15, allocations: 0 / 10.9 GB, free: 94.11 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001125/58.15, allocations: 0.6706 MB / 10.9 GB, free: 93.78 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02171/58.17, allocations: 8.314 MB / 10.91 GB, free: 93.76 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02527/58.2, allocations: 11.76 MB / 10.92 GB, free: 89.79 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02962/58.22, allocations: 9.768 MB / 10.93 GB, free: 89.56 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/58.23, allocations: 14.31 kB / 10.93 GB, free: 89.56 MB / 1.167 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 1.332/59.56, allocations: 124 MB / 11.05 GB, free: 85.88 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007108/59.56, allocations: 38.12 MB / 11.09 GB, free: 46.84 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006462/59.56, allocations: 123.8 kB / 11.09 GB, free: 46.84 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519/62.08, allocations: 143.2 MB / 11.23 GB, free: 125.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0219/62.11, allocations: 2.13 MB / 11.23 GB, free: 125.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2635/62.37, allocations: 65.58 MB / 11.3 GB, free: 121 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03196/62.4, allocations: 0.9678 MB / 11.3 GB, free: 121 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005553/62.41, allocations: 0.8316 MB / 11.3 GB, free: 121 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/62.41, allocations: 3.75 kB / 11.3 GB, free: 121 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.257/63.66, allocations: 121.4 MB / 11.42 GB, free: 119.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006522/63.66, allocations: 118.4 kB / 11.42 GB, free: 119.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351/65.02, allocations: 143.3 MB / 11.56 GB, free: 33.29 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0185/65.03, allocations: 2.116 MB / 11.56 GB, free: 31.34 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508/66.54, allocations: 68.63 MB / 11.63 GB, free: 135.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03044/66.57, allocations: 0.9353 MB / 11.63 GB, free: 135.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005581/66.58, allocations: 0.791 MB / 11.63 GB, free: 135.4 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (945): * Single equations (assignments): 869 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007934/66.59, allocations: 349 kB / 11.63 GB, free: 135.3 MB / 1.214 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 1.425/68.01, allocations: 118.2 MB / 11.74 GB, free: 134.9 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008667/68.02, allocations: 1.465 MB / 11.74 GB, free: 134.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3391/68.36, allocations: 43.13 MB / 11.79 GB, free: 134.3 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001937/68.36, allocations: 69.33 kB / 11.79 GB, free: 134.3 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001157/68.36, allocations: 30.31 kB / 11.79 GB, free: 134.3 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3105/68.67, allocations: 38.05 MB / 11.82 GB, free: 133.6 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.374/69.04, allocations: 56.82 MB / 11.88 GB, free: 129.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.592e-05/69.04, allocations: 128 / 11.88 GB, free: 129.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01223/69.06, allocations: 1.112 MB / 11.88 GB, free: 129.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3669/69.42, allocations: 40.46 MB / 11.92 GB, free: 119.1 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002472/69.43, allocations: 154.1 kB / 11.92 GB, free: 119.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09526/69.52, allocations: 25.9 MB / 11.95 GB, free: 104.1 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/69.52, allocations: 0.6562 kB / 11.95 GB, free: 104.1 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3292/69.85, allocations: 48.45 MB / 11.99 GB, free: 72.19 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0152/69.87, allocations: 3.121 MB / 12 GB, free: 69.76 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007997/69.87, allocations: 79.25 kB / 12 GB, free: 69.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02318/69.9, allocations: 0.751 MB / 12 GB, free: 68.98 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003611/69.9, allocations: 419.6 kB / 12 GB, free: 68.62 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002565/69.9, allocations: 244.8 kB / 12 GB, free: 68.42 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02962/69.93, allocations: 10.4 MB / 12.01 GB, free: 61.52 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.002e-06/69.93, allocations: 0.9844 kB / 12.01 GB, free: 61.52 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.07841/70.01, allocations: 7.863 MB / 12.02 GB, free: 54.16 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (519): * Single equations (assignments): 499 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 1.553/71.56, allocations: 53.58 MB / 12.07 GB, free: 122.2 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1288/71.69, allocations: 35.11 MB / 12.1 GB, free: 119.2 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.368e-05/71.69, allocations: 11.69 kB / 12.1 GB, free: 119.2 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.02764/71.72, allocations: 8.133 MB / 12.11 GB, free: 119 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06627/71.79, allocations: 7.431 MB / 12.12 GB, free: 118.9 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1137/71.9, allocations: 30.05 MB / 12.15 GB, free: 113.2 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02315/71.92, allocations: 8.947 MB / 12.15 GB, free: 112 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.0621/71.99, allocations: 8.251 MB / 12.16 GB, free: 111.9 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02105/72.01, allocations: 7.364 MB / 12.17 GB, free: 111.9 MB / 1.214 GB Notification: Performance of SimCode: time 2.555e-06/72.01, allocations: 5.781 kB / 12.17 GB, free: 111.9 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.856/75.86, allocations: 0.5498 GB / 12.72 GB, free: 156.5 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/75.86, allocations: 171.8 kB / 12.72 GB, free: 156.3 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.76/112.6, allocations: 0 / 12.72 GB, free: 156.3 MB / 1.245 GB