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.206/2.206, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001664, allocations: 191.9 kB / 325.5 MB, free: 2.895 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.367/2.367, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001135/0.001135, allocations: 99.16 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004836, allocations: 12.12 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2168, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.551, allocations: 456.5 MB / 1.345 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.552, allocations: 97.77 kB / 1.345 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 53.13/54.68, allocations: 9.252 GB / 10.6 GB, free: 73.17 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.597e-06/54.68, allocations: 0 / 10.6 GB, free: 73.17 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004751/54.68, allocations: 0.5104 MB / 10.6 GB, free: 73.06 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.1167/54.8, allocations: 21.41 MB / 10.62 GB, free: 65.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/54.8, allocations: 11.19 kB / 10.62 GB, free: 65.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008079/54.81, allocations: 1.093 MB / 10.62 GB, free: 65.52 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02103/54.83, allocations: 2.297 MB / 10.62 GB, free: 64.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1095/54.94, allocations: 23.49 MB / 10.64 GB, free: 61.93 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001368/54.94, allocations: 0.7113 MB / 10.65 GB, free: 61.91 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006788/54.95, allocations: 1.021 MB / 10.65 GB, free: 61.89 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05772/55, allocations: 16.77 MB / 10.66 GB, free: 60.03 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007025/55.01, allocations: 14.62 kB / 10.66 GB, free: 60.03 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005549/55.01, allocations: 355.8 kB / 10.66 GB, free: 60.03 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000308/55.01, allocations: 213.1 kB / 10.66 GB, free: 60.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05666/55.07, allocations: 19.75 MB / 10.68 GB, free: 59.96 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.2121/55.28, allocations: 79.58 MB / 10.76 GB, free: 25.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03178/55.31, allocations: 11.63 MB / 10.77 GB, free: 25.41 MB / 1.151 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1263/55.44, allocations: 32.56 MB / 10.8 GB, free: 16.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03736/55.48, allocations: 9.14 MB / 10.81 GB, free: 16.66 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1187/55.59, allocations: 14.89 MB / 10.83 GB, free: 16.18 MB / 1.151 GB Notification: Performance of pre-optimization done (n=561): time 5.097e-05/55.59, allocations: 0 / 10.83 GB, free: 16.18 MB / 1.151 GB Notification: Performance of matching and sorting (n=775): time 2.935/58.53, allocations: 200 MB / 11.02 GB, free: 84.16 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008035/58.53, allocations: 2.524 MB / 11.02 GB, free: 81.16 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04892/58.58, allocations: 14.91 MB / 11.04 GB, free: 80.43 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005279/58.58, allocations: 255.5 kB / 11.04 GB, free: 80.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01527/58.6, allocations: 7.884 MB / 11.05 GB, free: 80.06 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007379/58.61, allocations: 2.699 MB / 11.05 GB, free: 80.04 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004989/58.61, allocations: 202.4 kB / 11.05 GB, free: 80.04 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001242/58.61, allocations: 0.7449 MB / 11.05 GB, free: 79.71 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03297/58.65, allocations: 9.946 MB / 11.06 GB, free: 79.68 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03681/58.68, allocations: 13.61 MB / 11.07 GB, free: 75.77 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0353/58.72, allocations: 11.27 MB / 11.08 GB, free: 75.57 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001349/58.72, allocations: 16.81 kB / 11.08 GB, free: 75.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 1.272/59.99, allocations: 128.8 MB / 11.21 GB, free: 73.61 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01138/60, allocations: 38.28 MB / 11.25 GB, free: 50.54 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008808/60, allocations: 118.3 kB / 11.25 GB, free: 50.54 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392/61.4, allocations: 146.4 MB / 11.39 GB, free: 11.04 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02715/61.42, allocations: 2.562 MB / 11.39 GB, free: 8.652 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3032/61.73, allocations: 74.4 MB / 11.47 GB, free: 0.7344 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272/63, allocations: 1.436 MB / 11.47 GB, free: 137.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006683/63.01, allocations: 0.9088 MB / 11.47 GB, free: 137.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/63.01, allocations: 7.766 kB / 11.47 GB, free: 137.2 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.264/64.27, allocations: 127.5 MB / 11.59 GB, free: 136.7 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006943/64.27, allocations: 116.9 kB / 11.59 GB, free: 136.7 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337/65.61, allocations: 146.7 MB / 11.74 GB, free: 133 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02264/65.63, allocations: 2.555 MB / 11.74 GB, free: 132.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3038/65.93, allocations: 79.19 MB / 11.82 GB, free: 87.09 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03453/65.97, allocations: 1.405 MB / 11.82 GB, free: 85.93 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005868/65.97, allocations: 0.8761 MB / 11.82 GB, free: 85.14 MB / 1.229 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1067): * Single equations (assignments): 989 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.02077/65.99, allocations: 4.253 MB / 11.82 GB, free: 82.52 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009103/66, allocations: 1.543 MB / 11.82 GB, free: 81.8 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3595/66.36, allocations: 49.45 MB / 11.87 GB, free: 42.07 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001913/66.36, allocations: 91.98 kB / 11.87 GB, free: 41.98 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002046/66.36, allocations: 28 kB / 11.87 GB, free: 41.96 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602/67.97, allocations: 43.52 MB / 11.92 GB, free: 103.2 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4044/68.37, allocations: 66.51 MB / 11.98 GB, free: 99.21 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001516/68.37, allocations: 0 / 11.98 GB, free: 99.21 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01752/68.39, allocations: 1.682 MB / 11.98 GB, free: 99.21 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3445/68.73, allocations: 41.78 MB / 12.02 GB, free: 99.13 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003206/68.74, allocations: 336.4 kB / 12.02 GB, free: 99.13 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1165/68.85, allocations: 29.62 MB / 12.05 GB, free: 93.21 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/68.85, allocations: 7.344 kB / 12.05 GB, free: 93.21 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3976/69.25, allocations: 57.18 MB / 12.11 GB, free: 91.94 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01784/69.27, allocations: 3.565 MB / 12.11 GB, free: 91.84 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009132/69.28, allocations: 276 kB / 12.11 GB, free: 91.84 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02639/69.3, allocations: 1.155 MB / 12.11 GB, free: 91.84 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004776/69.31, allocations: 0.5634 MB / 12.11 GB, free: 91.83 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003187/69.31, allocations: 336.7 kB / 12.11 GB, free: 91.83 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.0348/69.35, allocations: 11.42 MB / 12.12 GB, free: 91.36 MB / 1.229 GB Notification: Performance of sort global known variables: time 6.41e-07/69.35, allocations: 0 / 12.12 GB, free: 91.36 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.08482/69.43, allocations: 8.757 MB / 12.13 GB, free: 91.36 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (702): * Single equations (assignments): 680 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {6 81,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.4459/69.88, allocations: 62.95 MB / 12.19 GB, free: 87.05 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1444/70.02, allocations: 41.97 MB / 12.24 GB, free: 83.79 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.687e-05/70.02, allocations: 9.188 kB / 12.24 GB, free: 83.79 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03741/70.06, allocations: 10.88 MB / 12.25 GB, free: 80.96 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06566/70.13, allocations: 7.618 MB / 12.25 GB, free: 77.09 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.148/70.27, allocations: 92.25 MB / 12.34 GB, free: 26.86 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02115/70.29, allocations: 9.36 MB / 12.35 GB, free: 21.36 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.04035/70.33, allocations: 5.495 MB / 12.36 GB, free: 17.73 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02496/70.36, allocations: 8.12 MB / 12.37 GB, free: 13.27 MB / 1.26 GB Notification: Performance of SimCode: time 1.543e-06/70.36, allocations: 0 / 12.37 GB, free: 13.27 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.951/75.31, allocations: 0.605 GB / 12.97 GB, free: 158 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/75.31, allocations: 247.5 kB / 12.97 GB, free: 157.6 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.06/111.4, allocations: 0 / 12.97 GB, free: 157.6 MB / 1.292 GB