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.182/2.182, allocations: 251 MB / 265.9 MB, free: 11.71 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.002355/0.002355, allocations: 186.4 kB / 325.5 MB, free: 2.902 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.329/2.329, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001165/0.001165, allocations: 91.5 kB / 0.6809 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.000475, allocations: 12.62 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2203, allocations: 106.3 MB / 0.8988 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.299/1.52, allocations: 456.3 MB / 1.344 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003904/1.52, allocations: 98.73 kB / 1.344 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 48.43/49.95, allocations: 8.484 GB / 9.829 GB, free: 84.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.186e-06/49.95, allocations: 5.594 kB / 9.829 GB, free: 84.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004899/49.95, allocations: 0.5119 MB / 9.829 GB, free: 84.69 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.1176/50.07, allocations: 21.42 MB / 9.85 GB, free: 76.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/50.07, allocations: 8.344 kB / 9.85 GB, free: 76.93 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007013/50.08, allocations: 1.086 MB / 9.851 GB, free: 76.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02003/50.1, allocations: 2.303 MB / 9.853 GB, free: 75.82 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1109/50.21, allocations: 23.5 MB / 9.876 GB, free: 73.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001457/50.21, allocations: 0.7197 MB / 9.877 GB, free: 73.08 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00698/50.22, allocations: 1.016 MB / 9.878 GB, free: 73.06 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06094/50.28, allocations: 16.79 MB / 9.894 GB, free: 71.15 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007316/50.28, allocations: 18.78 kB / 9.894 GB, free: 71.15 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005611/50.28, allocations: 368.3 kB / 9.895 GB, free: 71.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002986/50.28, allocations: 211.3 kB / 9.895 GB, free: 71.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05674/50.34, allocations: 19.79 MB / 9.914 GB, free: 71.07 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.2105/50.55, allocations: 79.25 MB / 9.992 GB, free: 36.93 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03046/50.58, allocations: 11.87 MB / 10 GB, free: 36.46 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.1021/50.68, allocations: 32.88 MB / 10.04 GB, free: 24.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02661/50.71, allocations: 9.24 MB / 10.04 GB, free: 20.98 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07943/50.79, allocations: 14.9 MB / 10.06 GB, free: 19.46 MB / 1.151 GB Notification: Performance of pre-optimization done (n=581): time 4.419e-05/50.79, allocations: 0 / 10.06 GB, free: 19.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=811): time 2.869/53.66, allocations: 197.4 MB / 10.25 GB, free: 104.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007721/53.66, allocations: 2.535 MB / 10.25 GB, free: 101.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0469/53.71, allocations: 14.91 MB / 10.27 GB, free: 100.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005258/53.71, allocations: 264.7 kB / 10.27 GB, free: 100.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01492/53.73, allocations: 7.902 MB / 10.28 GB, free: 98.97 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007099/53.74, allocations: 2.82 MB / 10.28 GB, free: 97.53 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005136/53.74, allocations: 208.7 kB / 10.28 GB, free: 97.53 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001377/53.74, allocations: 0.7515 MB / 10.28 GB, free: 97.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03211/53.77, allocations: 10.08 MB / 10.29 GB, free: 97.16 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03668/53.81, allocations: 13.76 MB / 10.3 GB, free: 93.14 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03812/53.85, allocations: 11.41 MB / 10.31 GB, free: 92.82 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/53.85, allocations: 18.94 kB / 10.31 GB, free: 92.81 MB / 1.167 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.292/55.14, allocations: 129.4 MB / 10.44 GB, free: 71.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007292/55.15, allocations: 36.7 MB / 10.48 GB, free: 33.89 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006781/55.15, allocations: 122.1 kB / 10.48 GB, free: 33.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749/57.9, allocations: 148 MB / 10.62 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0263/57.92, allocations: 2.579 MB / 10.62 GB, free: 128.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3058/58.23, allocations: 76.81 MB / 10.7 GB, free: 121.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03547/58.27, allocations: 1.444 MB / 10.7 GB, free: 121.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006112/58.27, allocations: 0.9164 MB / 10.7 GB, free: 121.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/58.27, allocations: 2.438 kB / 10.7 GB, free: 121.7 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.252/59.52, allocations: 128.1 MB / 10.83 GB, free: 119.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006032/59.52, allocations: 117.3 kB / 10.83 GB, free: 119.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368/60.89, allocations: 147.7 MB / 10.97 GB, free: 4.891 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02408/60.92, allocations: 2.553 MB / 10.97 GB, free: 2.52 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595/62.51, allocations: 81.05 MB / 11.05 GB, free: 158.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0417/62.55, allocations: 1.412 MB / 11.05 GB, free: 158.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006137/62.56, allocations: 0.8726 MB / 11.05 GB, free: 158.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 981 * 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.02088/62.58, allocations: 4.278 MB / 11.06 GB, free: 157.9 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009066/62.59, allocations: 1.551 MB / 11.06 GB, free: 157.9 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3743/62.96, allocations: 50.26 MB / 11.11 GB, free: 157.2 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002581/62.96, allocations: 95.55 kB / 11.11 GB, free: 157.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002586/62.96, allocations: 28.97 kB / 11.11 GB, free: 157.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3399/63.3, allocations: 44.26 MB / 11.15 GB, free: 156.5 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4128/63.72, allocations: 68.46 MB / 11.22 GB, free: 152.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001572/63.72, allocations: 3.953 kB / 11.22 GB, free: 152.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01788/63.74, allocations: 1.729 MB / 11.22 GB, free: 152.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3469/64.08, allocations: 42.78 MB / 11.26 GB, free: 152.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003151/64.09, allocations: 344.5 kB / 11.26 GB, free: 152.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1133/64.2, allocations: 31.83 MB / 11.29 GB, free: 134.6 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/64.2, allocations: 1.594 kB / 11.29 GB, free: 134.6 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3719/64.57, allocations: 58.19 MB / 11.35 GB, free: 103.3 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0166/64.59, allocations: 3.629 MB / 11.36 GB, free: 101.1 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008306/64.6, allocations: 281.6 kB / 11.36 GB, free: 101 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02738/64.62, allocations: 1.224 MB / 11.36 GB, free: 100.4 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004461/64.63, allocations: 0.5822 MB / 11.36 GB, free: 100.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002443/64.63, allocations: 351.6 kB / 11.36 GB, free: 99.86 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03109/64.66, allocations: 11.42 MB / 11.37 GB, free: 94 MB / 1.229 GB Notification: Performance of sort global known variables: time 8.71e-07/64.66, allocations: 0 / 11.37 GB, free: 94 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06869/64.73, allocations: 8.784 MB / 11.38 GB, free: 86.32 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 (716): * Single equations (assignments): 692 * 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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.3841/65.11, allocations: 63.7 MB / 11.44 GB, free: 32.34 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 1.288/66.4, allocations: 43.92 MB / 11.48 GB, free: 155.2 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/66.4, allocations: 11.75 kB / 11.48 GB, free: 155.2 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.04379/66.45, allocations: 11.72 MB / 11.49 GB, free: 154.8 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06592/66.51, allocations: 7.763 MB / 11.5 GB, free: 154.7 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1547/66.67, allocations: 91.78 MB / 11.59 GB, free: 93.28 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0233/66.69, allocations: 9.41 MB / 11.6 GB, free: 92.15 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04197/66.73, allocations: 5.473 MB / 11.61 GB, free: 92.01 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02455/66.76, allocations: 8.182 MB / 11.61 GB, free: 92.01 MB / 1.229 GB Notification: Performance of SimCode: time 1.864e-06/66.76, allocations: 1.844 kB / 11.61 GB, free: 92.01 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.519/69.28, allocations: 0.6101 GB / 12.22 GB, free: 93.53 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/69.28, allocations: 256.9 kB / 12.22 GB, free: 93.19 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.12/107.4, allocations: 4 kB / 12.22 GB, free: 93.18 MB / 1.245 GB