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.303/2.303, allocations: 248.5 MB / 261 MB, free: 6.004 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.001473/0.001473, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.00107/0.00107, allocations: 101.2 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.586e-05/4.592e-05, allocations: 8 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1992, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.896/2.095, allocations: 456 MB / 1.336 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/2.096, allocations: 95.03 kB / 1.336 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 34.78/36.87, allocations: 6.241 GB / 7.577 GB, free: 22.16 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.815e-06/36.87, allocations: 0 / 7.577 GB, free: 22.16 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.00499/36.88, allocations: 0.5226 MB / 7.578 GB, free: 21.63 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: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.07068/36.95, allocations: 14.17 MB / 7.592 GB, free: 7.34 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/36.95, allocations: 8.031 kB / 7.592 GB, free: 7.332 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006105/36.95, allocations: 1.058 MB / 7.593 GB, free: 6.266 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/36.97, allocations: 2.309 MB / 7.595 GB, free: 3.934 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.385/38.36, allocations: 23.28 MB / 7.618 GB, free: 71.82 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001666/38.36, allocations: 0.7268 MB / 7.618 GB, free: 71.8 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007254/38.37, allocations: 1.033 MB / 7.619 GB, free: 71.78 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05836/38.42, allocations: 16.68 MB / 7.636 GB, free: 69.94 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006261/38.43, allocations: 11.34 kB / 7.636 GB, free: 69.94 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005011/38.43, allocations: 358.2 kB / 7.636 GB, free: 69.94 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003013/38.43, allocations: 211.9 kB / 7.636 GB, free: 69.94 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05205/38.48, allocations: 19.49 MB / 7.655 GB, free: 69.88 MB / 1.135 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.2186/38.7, allocations: 78.36 MB / 7.732 GB, free: 38.1 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03004/38.73, allocations: 12.23 MB / 7.744 GB, free: 37.65 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02188/38.75, allocations: 9.435 MB / 7.753 GB, free: 37.55 MB / 1.135 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.1159/38.87, allocations: 33.71 MB / 7.786 GB, free: 28.92 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02526/38.89, allocations: 9.297 MB / 7.795 GB, free: 28.74 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08257/38.98, allocations: 15.15 MB / 7.81 GB, free: 28.43 MB / 1.135 GB Notification: Performance of pre-optimization done (n=606): time 5.227e-05/38.98, allocations: 0 / 7.81 GB, free: 28.43 MB / 1.135 GB Notification: Performance of matching and sorting (n=860): time 1.475/40.45, allocations: 171.3 MB / 7.977 GB, free: 11.45 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007078/40.45, allocations: 2.537 MB / 7.979 GB, free: 8.344 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04602/40.5, allocations: 14.75 MB / 7.994 GB, free: 14.17 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.005454/40.5, allocations: 272.4 kB / 7.994 GB, free: 13.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0164/40.52, allocations: 7.887 MB / 8.002 GB, free: 6.652 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.008295/40.53, allocations: 2.979 MB / 8.005 GB, free: 3.953 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004987/40.53, allocations: 213.2 kB / 8.005 GB, free: 3.75 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001393/40.54, allocations: 0.7641 MB / 8.006 GB, free: 3.121 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0633/40.6, allocations: 11.62 MB / 8.017 GB, free: 0 / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03599/40.64, allocations: 13.38 MB / 8.03 GB, free: 2.672 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.33/41.97, allocations: 11.67 MB / 8.041 GB, free: 93.78 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/41.97, allocations: 14.22 kB / 8.041 GB, free: 93.78 MB / 1.167 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 1.35/43.32, allocations: 129.7 MB / 8.168 GB, free: 93.09 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00657/43.32, allocations: 32.96 MB / 8.2 GB, free: 58.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005732/43.32, allocations: 113.4 kB / 8.2 GB, free: 58.71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354/44.68, allocations: 151.8 MB / 8.349 GB, free: 50.02 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02452/44.7, allocations: 2.388 MB / 8.351 GB, free: 49.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2845/44.99, allocations: 75.91 MB / 8.425 GB, free: 9.633 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03588/45.02, allocations: 1.388 MB / 8.426 GB, free: 8.512 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006392/45.03, allocations: 0.9141 MB / 8.427 GB, free: 7.684 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/45.03, allocations: 7.953 kB / 8.427 GB, free: 7.676 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.465/47.49, allocations: 128.2 MB / 8.553 GB, free: 126.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006157/47.49, allocations: 108 kB / 8.553 GB, free: 126.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331/48.83, allocations: 152.7 MB / 8.702 GB, free: 125.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02088/48.85, allocations: 2.365 MB / 8.704 GB, free: 125.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3139/49.16, allocations: 82.5 MB / 8.785 GB, free: 112.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03502/49.2, allocations: 1.382 MB / 8.786 GB, free: 111.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006021/49.2, allocations: 0.8657 MB / 8.787 GB, free: 110.9 MB / 1.214 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 (990): * Single equations (assignments): 910 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.009993/49.21, allocations: 0.7236 MB / 8.787 GB, free: 110.6 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009042/49.22, allocations: 1.56 MB / 8.789 GB, free: 109.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3506/49.57, allocations: 50.87 MB / 8.839 GB, free: 69.14 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001906/49.57, allocations: 100 kB / 8.839 GB, free: 69.05 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001281/49.57, allocations: 28 kB / 8.839 GB, free: 69.02 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3192/49.89, allocations: 44.74 MB / 8.882 GB, free: 32.25 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.561/51.45, allocations: 69.95 MB / 8.951 GB, free: 114.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001393/51.45, allocations: 3.156 kB / 8.951 GB, free: 114.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01602/51.47, allocations: 1.575 MB / 8.952 GB, free: 114.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3429/51.81, allocations: 44.74 MB / 8.996 GB, free: 114.5 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002965/51.81, allocations: 348.5 kB / 8.996 GB, free: 114.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1129/51.93, allocations: 33.1 MB / 9.029 GB, free: 107.4 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/51.93, allocations: 3.625 kB / 9.029 GB, free: 107.4 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3531/52.28, allocations: 58.5 MB / 9.086 GB, free: 105.9 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01745/52.3, allocations: 3.709 MB / 9.089 GB, free: 105.7 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009027/52.31, allocations: 286 kB / 9.09 GB, free: 105.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02682/52.33, allocations: 1.187 MB / 9.091 GB, free: 105.7 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005561/52.34, allocations: 0.604 MB / 9.091 GB, free: 105.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003895/52.34, allocations: 359.1 kB / 9.092 GB, free: 105.7 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.04681/52.39, allocations: 11.23 MB / 9.103 GB, free: 105.2 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.393e-06/52.39, allocations: 0 / 9.103 GB, free: 105.2 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.0775/52.47, allocations: 8.788 MB / 9.111 GB, free: 105.2 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 (669): * Single equations (assignments): 645 * 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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.3604/52.83, allocations: 63.73 MB / 9.174 GB, free: 100.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1716/53, allocations: 43.28 MB / 9.216 GB, free: 95.3 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.263e-05/53, allocations: 9.781 kB / 9.216 GB, free: 95.3 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.03629/53.04, allocations: 11.4 MB / 9.227 GB, free: 89.21 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06505/53.1, allocations: 7.798 MB / 9.235 GB, free: 85.17 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1114/53.21, allocations: 34.28 MB / 9.268 GB, free: 61.21 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02029/53.23, allocations: 9.51 MB / 9.277 GB, free: 55.6 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.05713/53.29, allocations: 8.592 MB / 9.286 GB, free: 50.59 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01909/53.31, allocations: 7.845 MB / 9.293 GB, free: 49.82 MB / 1.214 GB Notification: Performance of SimCode: time 1.573e-06/53.31, allocations: 0 / 9.293 GB, free: 49.82 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.951/58.26, allocations: 0.6638 GB / 9.957 GB, free: 175.5 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/58.26, allocations: 214 kB / 9.957 GB, free: 175.2 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.53/101.8, allocations: 10.59 kB / 9.957 GB, free: 175.2 MB / 1.276 GB