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.15/2.15, allocations: 248.5 MB / 261.1 MB, free: 6.105 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.001446/0.001446, allocations: 178.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.884/1.884, allocations: 205.1 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.001087/0.001087, allocations: 89.19 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.251e-05/4.263e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2009, allocations: 106.3 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.905/2.106, allocations: 456.3 MB / 1.336 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/2.106, allocations: 96.02 kB / 1.336 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 48.07/50.18, allocations: 8.46 GB / 9.796 GB, free: 76.93 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.805e-06/50.18, allocations: 0 / 9.796 GB, free: 76.93 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0073/50.18, allocations: 0.5108 MB / 9.797 GB, free: 76.8 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.07505/50.26, allocations: 14.15 MB / 9.811 GB, free: 70.56 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/50.26, allocations: 9.188 kB / 9.811 GB, free: 70.56 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006394/50.27, allocations: 1.06 MB / 9.812 GB, free: 70.47 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/50.28, allocations: 2.308 MB / 9.814 GB, free: 69.44 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1066/50.39, allocations: 23.21 MB / 9.837 GB, free: 66.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00141/50.39, allocations: 0.7133 MB / 9.837 GB, free: 66.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006725/50.4, allocations: 1.029 MB / 9.838 GB, free: 66.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05432/50.45, allocations: 16.54 MB / 9.854 GB, free: 64.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006856/50.45, allocations: 14.33 kB / 9.854 GB, free: 64.47 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004948/50.46, allocations: 360.6 kB / 9.855 GB, free: 64.47 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002666/50.46, allocations: 219.1 kB / 9.855 GB, free: 64.46 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05124/50.51, allocations: 19.39 MB / 9.874 GB, free: 64.36 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.2071/50.72, allocations: 79.19 MB / 9.951 GB, free: 16.87 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02761/50.75, allocations: 11.63 MB / 9.963 GB, free: 6.379 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02368/50.77, allocations: 9.137 MB / 9.971 GB, free: 14.83 MB / 1.167 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 1.245/52.02, allocations: 33.13 MB / 10 GB, free: 102.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02882/52.04, allocations: 9.066 MB / 10.01 GB, free: 102 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08397/52.13, allocations: 15.15 MB / 10.03 GB, free: 102 MB / 1.167 GB Notification: Performance of pre-optimization done (n=582): time 4.883e-05/52.13, allocations: 1.281 kB / 10.03 GB, free: 102 MB / 1.167 GB Notification: Performance of matching and sorting (n=812): time 1.553/53.68, allocations: 168.9 MB / 10.19 GB, free: 93.05 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007273/53.68, allocations: 2.533 MB / 10.19 GB, free: 90.04 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04629/53.73, allocations: 14.74 MB / 10.21 GB, free: 89.16 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005608/53.73, allocations: 260.1 kB / 10.21 GB, free: 89.12 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01539/53.75, allocations: 7.911 MB / 10.22 GB, free: 87.75 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00711/53.76, allocations: 2.82 MB / 10.22 GB, free: 86.31 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006471/53.76, allocations: 209.1 kB / 10.22 GB, free: 86.31 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001972/53.76, allocations: 0.7429 MB / 10.22 GB, free: 85.98 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03136/53.8, allocations: 9.499 MB / 10.23 GB, free: 85.96 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03202/53.83, allocations: 13.18 MB / 10.24 GB, free: 81.95 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03064/53.86, allocations: 10.87 MB / 10.25 GB, free: 81.61 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/53.86, allocations: 15.38 kB / 10.25 GB, free: 81.61 MB / 1.167 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.298/55.16, allocations: 128.3 MB / 10.38 GB, free: 26.44 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.009872/55.17, allocations: 36.7 MB / 10.41 GB, free: 4.832 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006887/55.17, allocations: 116.1 kB / 10.41 GB, free: 4.723 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685/57.85, allocations: 146.9 MB / 10.56 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0266/57.88, allocations: 2.584 MB / 10.56 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2888/58.17, allocations: 73.2 MB / 10.63 GB, free: 117.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04177/58.21, allocations: 1.44 MB / 10.63 GB, free: 117.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006056/58.22, allocations: 0.9166 MB / 10.63 GB, free: 117.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/58.22, allocations: 7.188 kB / 10.63 GB, free: 117.1 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.327/59.54, allocations: 126.9 MB / 10.76 GB, free: 89.63 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005537/59.54, allocations: 116.7 kB / 10.76 GB, free: 89.52 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568/62.11, allocations: 147.3 MB / 10.9 GB, free: 147.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02323/62.14, allocations: 2.555 MB / 10.91 GB, free: 147.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3051/62.44, allocations: 77 MB / 10.98 GB, free: 143.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03444/62.48, allocations: 1.412 MB / 10.98 GB, free: 143.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005832/62.48, allocations: 0.877 MB / 10.98 GB, free: 143.1 MB / 1.229 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 (1062): * Single equations (assignments): 982 * 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.01011/62.49, allocations: 0.7191 MB / 10.98 GB, free: 143 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009139/62.5, allocations: 1.551 MB / 10.98 GB, free: 143 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3595/62.86, allocations: 49.16 MB / 11.03 GB, free: 142.3 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001835/62.86, allocations: 96.02 kB / 11.03 GB, free: 142.3 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001254/62.86, allocations: 30.03 kB / 11.03 GB, free: 142.3 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3197/63.18, allocations: 43.15 MB / 11.08 GB, free: 141.6 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.392/63.57, allocations: 67.53 MB / 11.14 GB, free: 137.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001366/63.57, allocations: 0 / 11.14 GB, free: 137.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01849/63.59, allocations: 1.723 MB / 11.14 GB, free: 137.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3964/63.99, allocations: 42.27 MB / 11.18 GB, free: 128.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003147/63.99, allocations: 344.3 kB / 11.18 GB, free: 128.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.104/64.1, allocations: 30.53 MB / 11.21 GB, free: 109.2 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/64.1, allocations: 2.188 kB / 11.21 GB, free: 109.2 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3472/64.44, allocations: 56.56 MB / 11.27 GB, free: 78.16 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02203/64.46, allocations: 3.625 MB / 11.27 GB, free: 75.97 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01011/64.48, allocations: 272.6 kB / 11.27 GB, free: 75.88 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02715/64.5, allocations: 1.221 MB / 11.27 GB, free: 75.24 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00457/64.51, allocations: 0.5879 MB / 11.27 GB, free: 74.95 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003092/64.51, allocations: 354.4 kB / 11.28 GB, free: 74.72 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03156/64.54, allocations: 11.25 MB / 11.29 GB, free: 68.31 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.292e-06/64.54, allocations: 1.422 kB / 11.29 GB, free: 68.31 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.07075/64.61, allocations: 8.776 MB / 11.29 GB, free: 60.64 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 (717): * Single equations (assignments): 693 * 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 1.548/66.16, allocations: 62.04 MB / 11.36 GB, free: 142.8 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1456/66.31, allocations: 41.48 MB / 11.4 GB, free: 139.6 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.488e-05/66.31, allocations: 8.219 kB / 11.4 GB, free: 139.6 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03709/66.34, allocations: 10.61 MB / 11.41 GB, free: 139.3 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06837/66.41, allocations: 7.76 MB / 11.41 GB, free: 139.2 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1384/66.55, allocations: 33.96 MB / 11.45 GB, free: 133.3 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02283/66.57, allocations: 9.437 MB / 11.46 GB, free: 132.1 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0634/66.64, allocations: 8.949 MB / 11.46 GB, free: 131.9 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02187/66.66, allocations: 7.85 MB / 11.47 GB, free: 131.9 MB / 1.229 GB Notification: Performance of SimCode: time 1.342e-06/66.66, allocations: 1.125 kB / 11.47 GB, free: 131.9 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.904/70.56, allocations: 0.6462 GB / 12.12 GB, free: 57.95 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/70.56, allocations: 225.9 kB / 12.12 GB, free: 57.72 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.53/114.1, allocations: 4 kB / 12.12 GB, free: 57.71 MB / 1.245 GB