Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5",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.113/2.113, allocations: 251 MB / 265.9 MB, free: 11.68 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.001592/0.001591, allocations: 184.4 kB / 325.5 MB, free: 2.891 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.402/2.402, 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.00116/0.00116, allocations: 105.8 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004905, allocations: 14.8 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2308, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.542, allocations: 457.8 MB / 1.346 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/1.542, allocations: 102.3 kB / 1.346 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 57.52/59.06, allocations: 10.01 GB / 11.36 GB, free: 66.94 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.795e-06/59.06, allocations: 0.6875 kB / 11.36 GB, free: 66.94 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003279/59.07, allocations: 343.6 kB / 11.36 GB, free: 66.88 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.09849/59.16, allocations: 17.53 MB / 11.37 GB, free: 60.93 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/59.16, allocations: 9.812 kB / 11.37 GB, free: 60.93 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004933/59.17, allocations: 0.7831 MB / 11.37 GB, free: 60.86 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/59.19, allocations: 2.224 MB / 11.38 GB, free: 60.07 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09335/59.28, allocations: 18.8 MB / 11.39 GB, free: 57.96 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001118/59.28, allocations: 0.5361 MB / 11.4 GB, free: 57.95 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004932/59.29, allocations: 0.7083 MB / 11.4 GB, free: 57.95 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04401/59.33, allocations: 13.29 MB / 11.41 GB, free: 57.35 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004237/59.33, allocations: 11.92 kB / 11.41 GB, free: 57.35 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003863/59.34, allocations: 245.1 kB / 11.41 GB, free: 57.35 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/59.34, allocations: 154.1 kB / 11.41 GB, free: 57.35 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04798/59.39, allocations: 17.92 MB / 11.43 GB, free: 57.3 MB / 1.135 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.1764/59.56, allocations: 69.96 MB / 11.5 GB, free: 25.52 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03291/59.59, allocations: 9.718 MB / 11.5 GB, free: 25.35 MB / 1.135 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.0874/59.68, allocations: 29.13 MB / 11.53 GB, free: 17.31 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02277/59.71, allocations: 8.261 MB / 11.54 GB, free: 17.19 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08005/59.79, allocations: 15.07 MB / 11.56 GB, free: 16.98 MB / 1.135 GB Notification: Performance of pre-optimization done (n=394): time 3.879e-05/59.79, allocations: 0 / 11.56 GB, free: 16.98 MB / 1.135 GB Notification: Performance of matching and sorting (n=583): time 0.8043/60.59, allocations: 114.2 MB / 11.67 GB, free: 7.254 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/60.59, allocations: 115.3 kB / 11.67 GB, free: 7.184 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.035/60.62, allocations: 11.97 MB / 11.68 GB, free: 6.477 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.003971/60.63, allocations: 182.3 kB / 11.68 GB, free: 6.445 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.009992/60.64, allocations: 6.03 MB / 11.69 GB, free: 5.129 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.005289/60.64, allocations: 1.958 MB / 11.69 GB, free: 3.855 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004096/60.65, allocations: 146.6 kB / 11.69 GB, free: 3.855 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0007315/60.65, allocations: 0.5936 MB / 11.69 GB, free: 3.539 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02605/60.68, allocations: 8.312 MB / 11.7 GB, free: 3.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02901/60.7, allocations: 10.9 MB / 11.71 GB, free: 32 kB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03075/60.74, allocations: 9.217 MB / 11.72 GB, free: 12.13 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-05/60.74, allocations: 10.72 kB / 11.72 GB, free: 12.13 MB / 1.151 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.1055/60.84, allocations: 27.29 MB / 11.74 GB, free: 11.54 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.287/62.13, allocations: 29.64 MB / 11.77 GB, free: 104 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002098/62.13, allocations: 46.88 kB / 11.77 GB, free: 104 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555/63.68, allocations: 170.6 MB / 11.94 GB, free: 103.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01869/63.7, allocations: 1.684 MB / 11.94 GB, free: 103.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08788/63.79, allocations: 26.75 MB / 11.97 GB, free: 98.42 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03068/63.82, allocations: 1.2 MB / 11.97 GB, free: 98.36 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004762/63.83, allocations: 0.8 MB / 11.97 GB, free: 98.36 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/63.83, allocations: 4.406 kB / 11.97 GB, free: 98.36 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09258/63.92, allocations: 26.25 MB / 11.99 GB, free: 97.89 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/63.92, allocations: 44.16 kB / 11.99 GB, free: 97.89 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538/65.46, allocations: 170.9 MB / 12.16 GB, free: 13.09 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.016/65.47, allocations: 1.669 MB / 12.16 GB, free: 11.55 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1191/65.59, allocations: 31.78 MB / 12.19 GB, free: 3.832 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03039/65.62, allocations: 1.177 MB / 12.19 GB, free: 2.836 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004885/65.63, allocations: 0.7569 MB / 12.19 GB, free: 2.137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 644 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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: 0 * Non-linear torn systems: 3 {39 57,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01564/65.64, allocations: 3.101 MB / 12.2 GB, free: 228 kB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007089/65.65, allocations: 1.198 MB / 12.2 GB, free: 15.67 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.283/66.93, allocations: 24.45 MB / 12.22 GB, free: 152.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001858/66.93, allocations: 76.58 kB / 12.22 GB, free: 152.8 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/66.93, allocations: 0 / 12.22 GB, free: 152.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07882/67.01, allocations: 18.93 MB / 12.24 GB, free: 152.2 MB / 1.229 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 postOpt removeSimpleEquations (simulation): time 0.1622/67.17, allocations: 45.38 MB / 12.29 GB, free: 145.9 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001188/67.17, allocations: 11.75 kB / 12.29 GB, free: 145.9 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01172/67.19, allocations: 1.176 MB / 12.29 GB, free: 145.9 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4104/67.6, allocations: 48.98 MB / 12.33 GB, free: 145.8 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002082/67.6, allocations: 204.6 kB / 12.34 GB, free: 145.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04163/67.64, allocations: 14.86 MB / 12.35 GB, free: 140.6 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/67.64, allocations: 12.22 kB / 12.35 GB, free: 140.6 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09161/67.73, allocations: 30.98 MB / 12.38 GB, free: 137.2 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01305/67.75, allocations: 2.917 MB / 12.38 GB, free: 137.1 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006487/67.75, allocations: 127.7 kB / 12.38 GB, free: 137.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02313/67.77, allocations: 0.9286 MB / 12.38 GB, free: 137.1 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00305/67.78, allocations: 463.4 kB / 12.38 GB, free: 137.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002304/67.78, allocations: 284.4 kB / 12.38 GB, free: 137.1 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02702/67.81, allocations: 9.167 MB / 12.39 GB, free: 136.8 MB / 1.229 GB Notification: Performance of sort global known variables: time 9.12e-07/67.81, allocations: 3.938 kB / 12.39 GB, free: 136.8 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.0614/67.87, allocations: 6.526 MB / 12.4 GB, free: 136.8 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (489): * Single equations (assignments): 467 * 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: 0 * Non-linear torn systems: 3 {8 74,38 56,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.1015/67.97, allocations: 36.28 MB / 12.44 GB, free: 130.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1373/68.11, allocations: 34.57 MB / 12.47 GB, free: 129.8 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/68.11, allocations: 10.06 kB / 12.47 GB, free: 129.8 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03746/68.15, allocations: 9.663 MB / 12.48 GB, free: 129.7 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05326/68.2, allocations: 6.26 MB / 12.48 GB, free: 129.6 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1172/68.32, allocations: 73.21 MB / 12.56 GB, free: 77.91 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01641/68.33, allocations: 7.159 MB / 12.56 GB, free: 75.52 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.03053/68.36, allocations: 3.729 MB / 12.57 GB, free: 72.85 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01729/68.38, allocations: 6.106 MB / 12.57 GB, free: 70.95 MB / 1.229 GB Notification: Performance of SimCode: time 2.094e-06/68.38, allocations: 0 / 12.57 GB, free: 70.95 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.405/71.78, allocations: 0.5141 GB / 13.09 GB, free: 12.41 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/71.79, allocations: 245.1 kB / 13.09 GB, free: 12.09 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.33/102.1, allocations: 0 / 13.09 GB, free: 12.09 MB / 1.229 GB