Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified1",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.209/2.209, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001543/0.001543, allocations: 187.8 kB / 315.4 MB, free: 4 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.005/2.005, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 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.001133/0.001133, allocations: 89.44 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.809e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.88/2.105, allocations: 456.4 MB / 1.33 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/2.105, allocations: 95.52 kB / 1.33 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 46.82/48.93, allocations: 8.42 GB / 9.75 GB, free: 74.41 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.995e-06/48.93, allocations: 0 / 9.75 GB, free: 74.41 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004925/48.93, allocations: 0.5109 MB / 9.75 GB, free: 74.26 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.07019/49, allocations: 14.14 MB / 9.764 GB, free: 68.04 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/49, allocations: 8.781 kB / 9.764 GB, free: 68.04 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/49.02, allocations: 2.304 MB / 9.766 GB, free: 67 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1062/49.13, allocations: 23.22 MB / 9.789 GB, free: 64.06 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006938/49.13, allocations: 257.8 kB / 9.789 GB, free: 64.06 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006486/49.13, allocations: 0.5751 MB / 9.79 GB, free: 64.06 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04811/49.18, allocations: 19.66 MB / 9.809 GB, free: 64.01 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05006/49.23, allocations: 15.35 MB / 9.824 GB, free: 62.06 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006355/49.23, allocations: 17.12 kB / 9.824 GB, free: 62.05 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004659/49.24, allocations: 15.75 kB / 9.824 GB, free: 62.05 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002761/49.24, allocations: 213.9 kB / 9.824 GB, free: 62.05 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.1985/49.44, allocations: 77.84 MB / 9.9 GB, free: 1.973 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03315/49.47, allocations: 12.52 MB / 9.912 GB, free: 7.375 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.144/50.61, allocations: 9.231 MB / 9.921 GB, free: 104.3 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.1233/50.74, allocations: 32.88 MB / 9.953 GB, free: 96.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03264/50.77, allocations: 8.902 MB / 9.962 GB, free: 95.86 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1176/50.89, allocations: 14.96 MB / 9.977 GB, free: 95.86 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 9.982e-05/50.89, allocations: 0 / 9.977 GB, free: 95.86 MB / 1.151 GB Notification: Performance of matching and sorting (n=584): time 1.347/52.23, allocations: 138.8 MB / 10.11 GB, free: 92.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008042/52.24, allocations: 2.502 MB / 10.11 GB, free: 89.09 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04497/52.28, allocations: 13.87 MB / 10.13 GB, free: 88.32 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00452/52.28, allocations: 44.83 kB / 10.13 GB, free: 88.29 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01503/52.3, allocations: 7.91 MB / 10.14 GB, free: 86.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.006054/52.31, allocations: 1.99 MB / 10.14 GB, free: 85.86 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004317/52.31, allocations: 0 / 10.14 GB, free: 85.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001207/52.31, allocations: 0.6783 MB / 10.14 GB, free: 85.53 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02207/52.33, allocations: 8.37 MB / 10.15 GB, free: 85.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02649/52.36, allocations: 11.83 MB / 10.16 GB, free: 81.54 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02961/52.39, allocations: 9.827 MB / 10.17 GB, free: 81.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/52.39, allocations: 13.22 kB / 10.17 GB, free: 81.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 1.243/53.63, allocations: 124.3 MB / 10.29 GB, free: 37.79 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00721/53.64, allocations: 36.55 MB / 10.33 GB, free: 216 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006847/53.64, allocations: 122.1 kB / 10.33 GB, free: 96 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607/56.25, allocations: 143.7 MB / 10.47 GB, free: 121.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02183/56.27, allocations: 2.133 MB / 10.47 GB, free: 121.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2701/56.54, allocations: 67.46 MB / 10.53 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03117/56.57, allocations: 0.9546 MB / 10.53 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005631/56.58, allocations: 0.8328 MB / 10.54 GB, free: 116 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/56.58, allocations: 3.75 kB / 10.54 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.245/57.82, allocations: 121.6 MB / 10.65 GB, free: 106.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006405/57.82, allocations: 116 kB / 10.65 GB, free: 106 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394/59.22, allocations: 143.4 MB / 10.79 GB, free: 2.316 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.195/60.41, allocations: 2.105 MB / 10.8 GB, free: 154.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2945/60.71, allocations: 69.52 MB / 10.86 GB, free: 150.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03039/60.74, allocations: 0.9287 MB / 10.86 GB, free: 150.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005472/60.74, allocations: 0.7915 MB / 10.87 GB, free: 150.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (937): * Single equations (assignments): 859 * 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 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.008814/60.75, allocations: 354 kB / 10.87 GB, free: 150.7 MB / 1.214 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 1.254/62.01, allocations: 118.5 MB / 10.98 GB, free: 150 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008726/62.01, allocations: 1.479 MB / 10.98 GB, free: 150 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3864/62.4, allocations: 43.53 MB / 11.03 GB, free: 149.1 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001642/62.4, allocations: 73.14 kB / 11.03 GB, free: 149.1 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.628e-05/62.4, allocations: 29.22 kB / 11.03 GB, free: 149.1 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3062/62.71, allocations: 38.39 MB / 11.06 GB, free: 148.3 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3746/63.08, allocations: 58.03 MB / 11.12 GB, free: 131 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-05/63.08, allocations: 0 / 11.12 GB, free: 131 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0127/63.09, allocations: 1.138 MB / 11.12 GB, free: 129.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3426/63.44, allocations: 41.01 MB / 11.16 GB, free: 89.84 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002711/63.44, allocations: 154.7 kB / 11.16 GB, free: 89.73 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1002/63.54, allocations: 27.57 MB / 11.19 GB, free: 70.62 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/63.54, allocations: 2.531 kB / 11.19 GB, free: 70.62 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3357/63.88, allocations: 48.91 MB / 11.24 GB, free: 31.89 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183/65.06, allocations: 3.151 MB / 11.24 GB, free: 155.2 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01278/65.07, allocations: 79.86 kB / 11.24 GB, free: 155.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03816/65.11, allocations: 0.8028 MB / 11.24 GB, free: 155.2 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006186/65.12, allocations: 428.1 kB / 11.24 GB, free: 155.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004342/65.12, allocations: 255.7 kB / 11.24 GB, free: 155.2 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.03852/65.16, allocations: 10.4 MB / 11.25 GB, free: 154.8 MB / 1.214 GB Notification: Performance of sort global known variables: time 8.31e-07/65.16, allocations: 2.281 kB / 11.25 GB, free: 154.8 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.07531/65.24, allocations: 7.869 MB / 11.26 GB, free: 154.8 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 (527): * Single equations (assignments): 505 * 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 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.407/65.64, allocations: 53.95 MB / 11.31 GB, free: 151.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1339/65.78, allocations: 36.01 MB / 11.35 GB, free: 148.4 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 3.369e-05/65.78, allocations: 14.19 kB / 11.35 GB, free: 148.4 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.03277/65.81, allocations: 8.449 MB / 11.35 GB, free: 148.1 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06656/65.88, allocations: 7.568 MB / 11.36 GB, free: 148 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.147/66.02, allocations: 30.13 MB / 11.39 GB, free: 142.3 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0353/66.06, allocations: 8.967 MB / 11.4 GB, free: 141.1 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.06349/66.12, allocations: 8.192 MB / 11.41 GB, free: 141 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02015/66.14, allocations: 7.416 MB / 11.42 GB, free: 141 MB / 1.214 GB Notification: Performance of SimCode: time 2.145e-06/66.14, allocations: 0 / 11.42 GB, free: 141 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.773/69.91, allocations: 0.5541 GB / 11.97 GB, free: 105.6 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/69.91, allocations: 173.2 kB / 11.97 GB, free: 105.5 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.67/106.6, allocations: 3.938 kB / 11.97 GB, free: 105.4 MB / 1.214 GB