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.147/2.147, allocations: 248.5 MB / 261.1 MB, free: 5.965 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.001445/0.001445, allocations: 182 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.998/1.998, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001417/0.001417, allocations: 90.44 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.981e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1934, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.919/2.113, allocations: 457.7 MB / 1.338 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/2.113, allocations: 98.41 kB / 1.338 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 56.84/58.96, allocations: 9.98 GB / 11.32 GB, free: 80.92 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.425e-06/58.96, allocations: 0 / 11.32 GB, free: 80.92 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003404/58.96, allocations: 348.8 kB / 11.32 GB, free: 80.85 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.0566/59.02, allocations: 11.15 MB / 11.33 GB, free: 75.78 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/59.02, allocations: 12.22 kB / 11.33 GB, free: 75.78 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004495/59.02, allocations: 0.782 MB / 11.33 GB, free: 75.71 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/59.04, allocations: 2.215 MB / 11.33 GB, free: 74.88 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0888/59.13, allocations: 18.61 MB / 11.35 GB, free: 72.53 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/59.13, allocations: 0.5257 MB / 11.35 GB, free: 72.52 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004804/59.14, allocations: 0.7161 MB / 11.35 GB, free: 72.51 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0418/59.18, allocations: 13.04 MB / 11.36 GB, free: 71.87 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004313/59.18, allocations: 3.969 kB / 11.36 GB, free: 71.87 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003759/59.18, allocations: 248.3 kB / 11.36 GB, free: 71.86 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/59.18, allocations: 146.8 kB / 11.36 GB, free: 71.86 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04483/59.23, allocations: 17.47 MB / 11.38 GB, free: 71.78 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.1701/59.4, allocations: 69.9 MB / 11.45 GB, free: 28.09 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02109/59.42, allocations: 9.396 MB / 11.46 GB, free: 19.62 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01869/59.44, allocations: 8.408 MB / 11.47 GB, free: 12.04 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 evalFunc (simulation): time 0.1274/59.56, allocations: 29.73 MB / 11.5 GB, free: 4.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.114/60.68, allocations: 8.194 MB / 11.5 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08661/60.77, allocations: 15.22 MB / 11.52 GB, free: 111.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=393): time 4.593e-05/60.77, allocations: 2.656 kB / 11.52 GB, free: 111.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=581): time 0.4348/61.2, allocations: 74.68 MB / 11.59 GB, free: 104.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/61.2, allocations: 119.5 kB / 11.59 GB, free: 104.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03613/61.24, allocations: 11.84 MB / 11.6 GB, free: 104.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004092/61.24, allocations: 184.2 kB / 11.6 GB, free: 104 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01072/61.25, allocations: 6.021 MB / 11.61 GB, free: 103.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005455/61.26, allocations: 1.956 MB / 11.61 GB, free: 102.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003916/61.26, allocations: 147.3 kB / 11.61 GB, free: 102.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0007793/61.26, allocations: 0.5965 MB / 11.61 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02189/61.28, allocations: 7.738 MB / 11.62 GB, free: 101.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02437/61.31, allocations: 10.32 MB / 11.63 GB, free: 98.88 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02418/61.33, allocations: 8.673 MB / 11.64 GB, free: 98.71 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/61.33, allocations: 13.91 kB / 11.64 GB, free: 98.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.08964/61.42, allocations: 26.02 MB / 11.66 GB, free: 97.69 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.006135/61.43, allocations: 29.65 MB / 11.69 GB, free: 67 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002463/61.43, allocations: 45.19 kB / 11.69 GB, free: 67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584/63.01, allocations: 170.4 MB / 11.86 GB, free: 41.17 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01854/63.03, allocations: 1.693 MB / 11.86 GB, free: 39.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08053/63.11, allocations: 26.57 MB / 11.89 GB, free: 18.43 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03055/63.14, allocations: 1.211 MB / 11.89 GB, free: 17.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005087/63.15, allocations: 0.7993 MB / 11.89 GB, free: 16.63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/63.15, allocations: 0 / 11.89 GB, free: 16.63 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08563/63.23, allocations: 25.07 MB / 11.91 GB, free: 448 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002153/63.23, allocations: 48 kB / 11.91 GB, free: 400 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736/65.97, allocations: 170.6 MB / 12.08 GB, free: 134 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01571/65.99, allocations: 1.681 MB / 12.08 GB, free: 134 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.106/66.09, allocations: 30.93 MB / 12.11 GB, free: 130.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03015/66.12, allocations: 1.18 MB / 12.11 GB, free: 130.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005029/66.13, allocations: 0.7618 MB / 12.11 GB, free: 130.2 MB / 1.182 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * 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 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.007737/66.13, allocations: 0.5152 MB / 12.11 GB, free: 130.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007271/66.14, allocations: 1.207 MB / 12.12 GB, free: 130.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09615/66.24, allocations: 23.22 MB / 12.14 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001697/66.24, allocations: 76.16 kB / 12.14 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/66.24, allocations: 4 kB / 12.14 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06435/66.3, allocations: 17.7 MB / 12.16 GB, free: 128.6 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.2516/66.55, allocations: 53.92 MB / 12.21 GB, free: 122.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001154/66.55, allocations: 7.75 kB / 12.21 GB, free: 122.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01188/66.57, allocations: 1.19 MB / 12.21 GB, free: 122.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4074/66.97, allocations: 48.87 MB / 12.26 GB, free: 101 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002225/66.98, allocations: 197.7 kB / 12.26 GB, free: 100.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04148/67.02, allocations: 14.71 MB / 12.27 GB, free: 90.48 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/67.02, allocations: 12.59 kB / 12.27 GB, free: 90.47 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.105/67.12, allocations: 32.61 MB / 12.3 GB, free: 72.71 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01302/67.14, allocations: 2.913 MB / 12.31 GB, free: 70.96 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006269/67.14, allocations: 137.2 kB / 12.31 GB, free: 70.93 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02222/67.16, allocations: 0.9336 MB / 12.31 GB, free: 70.37 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002738/67.17, allocations: 460.8 kB / 12.31 GB, free: 70.14 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001803/67.17, allocations: 288.1 kB / 12.31 GB, free: 69.95 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0248/67.19, allocations: 9.028 MB / 12.32 GB, free: 64.84 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.202e-06/67.19, allocations: 4 kB / 12.32 GB, free: 64.84 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.06251/67.26, allocations: 6.509 MB / 12.32 GB, free: 59.14 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (491): * Single equations (assignments): 469 * 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 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.1175/67.37, allocations: 37.89 MB / 12.36 GB, free: 32.94 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 1.271/68.65, allocations: 33.33 MB / 12.39 GB, free: 130.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.37e-05/68.65, allocations: 5.688 kB / 12.39 GB, free: 130.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.03645/68.68, allocations: 9.163 MB / 12.4 GB, free: 130.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05653/68.74, allocations: 6.273 MB / 12.41 GB, free: 130.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08262/68.82, allocations: 24.46 MB / 12.43 GB, free: 126.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01533/68.84, allocations: 7.182 MB / 12.44 GB, free: 125.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.04783/68.88, allocations: 6.35 MB / 12.45 GB, free: 125 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01516/68.9, allocations: 5.848 MB / 12.45 GB, free: 125 MB / 1.182 GB Notification: Performance of SimCode: time 1.763e-06/68.9, allocations: 3.094 kB / 12.45 GB, free: 125 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.653/72.55, allocations: 0.5417 GB / 12.99 GB, free: 170.3 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/72.55, allocations: 221.9 kB / 12.99 GB, free: 170.1 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.46/105, allocations: 4 kB / 12.99 GB, free: 170.1 MB / 1.229 GB