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.178/2.178, allocations: 248.7 MB / 256.2 MB, free: 7.062 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.001476/0.001476, allocations: 186.6 kB / 315.4 MB, free: 3.992 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.11/2.11, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 90.03 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.966e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2031, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.998/2.201, allocations: 457.9 MB / 1.331 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/2.201, allocations: 99.44 kB / 1.331 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 55.91/58.11, allocations: 9.934 GB / 11.27 GB, free: 74.49 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.725e-06/58.11, allocations: 0 / 11.27 GB, free: 74.49 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004668/58.12, allocations: 347.1 kB / 11.27 GB, free: 74.43 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.07708/58.19, allocations: 11.13 MB / 11.28 GB, free: 69.48 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.829e-05/58.19, allocations: 10.34 kB / 11.28 GB, free: 69.48 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02517/58.22, allocations: 2.226 MB / 11.28 GB, free: 68.67 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09275/58.31, allocations: 18.59 MB / 11.3 GB, free: 66.38 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005771/58.31, allocations: 195.2 kB / 11.3 GB, free: 66.38 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005089/58.32, allocations: 445.8 kB / 11.3 GB, free: 66.37 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06656/58.38, allocations: 17.83 MB / 11.32 GB, free: 66.34 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04796/58.43, allocations: 12.18 MB / 11.33 GB, free: 65.71 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002994/58.43, allocations: 3.938 kB / 11.33 GB, free: 65.71 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003378/58.44, allocations: 7.5 kB / 11.33 GB, free: 65.71 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002034/58.44, allocations: 154.5 kB / 11.33 GB, free: 65.71 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.1733/58.61, allocations: 69 MB / 11.39 GB, free: 33.27 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/58.63, allocations: 10.17 MB / 11.4 GB, free: 33.09 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01814/58.65, allocations: 8.749 MB / 11.41 GB, free: 30.75 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.09208/58.74, allocations: 29.28 MB / 11.44 GB, free: 14.85 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01802/58.76, allocations: 7.95 MB / 11.45 GB, free: 11.94 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09433/58.85, allocations: 15.1 MB / 11.46 GB, free: 5.375 MB / 1.135 GB Notification: Performance of pre-optimization done (n=393): time 4.263e-05/58.85, allocations: 0 / 11.46 GB, free: 5.375 MB / 1.135 GB Notification: Performance of matching and sorting (n=395): time 1.274/60.13, allocations: 37.09 MB / 11.5 GB, free: 96.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/60.13, allocations: 93.66 kB / 11.5 GB, free: 96.02 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04026/60.17, allocations: 11.14 MB / 11.51 GB, free: 95.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003699/60.17, allocations: 39.58 kB / 11.51 GB, free: 95.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01127/60.18, allocations: 5.98 MB / 11.52 GB, free: 95.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.004594/60.19, allocations: 1.291 MB / 11.52 GB, free: 95.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003281/60.19, allocations: 1.125 kB / 11.52 GB, free: 95.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0007324/60.19, allocations: 0.5362 MB / 11.52 GB, free: 94.88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01738/60.21, allocations: 6.879 MB / 11.53 GB, free: 94.86 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01981/60.23, allocations: 9.303 MB / 11.53 GB, free: 92.01 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02271/60.25, allocations: 7.93 MB / 11.54 GB, free: 91.89 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/60.25, allocations: 11.59 kB / 11.54 GB, free: 91.89 MB / 1.151 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.07695/60.33, allocations: 22.89 MB / 11.56 GB, free: 91.07 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.006078/60.33, allocations: 29.52 MB / 11.59 GB, free: 60.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002519/60.34, allocations: 48.58 kB / 11.59 GB, free: 60.39 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559/61.89, allocations: 167.2 MB / 11.76 GB, free: 59.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01436/61.91, allocations: 1.295 MB / 11.76 GB, free: 59.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07688/61.99, allocations: 25.49 MB / 11.78 GB, free: 55.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02703/62.01, allocations: 0.8094 MB / 11.78 GB, free: 55.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004356/62.02, allocations: 0.7318 MB / 11.78 GB, free: 55.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/62.02, allocations: 4.719 kB / 11.78 GB, free: 55.23 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06999/62.09, allocations: 20.83 MB / 11.81 GB, free: 54.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000237/62.09, allocations: 50.28 kB / 11.81 GB, free: 54.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711/64.8, allocations: 167.2 MB / 11.97 GB, free: 122.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/64.81, allocations: 1.286 MB / 11.97 GB, free: 122.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09552/64.9, allocations: 28.32 MB / 12 GB, free: 119.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02653/64.93, allocations: 0.7869 MB / 12 GB, free: 119.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00475/64.94, allocations: 0.6891 MB / 12 GB, free: 119.9 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 (560): * Single equations (assignments): 548 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.006613/64.94, allocations: 283.6 kB / 12 GB, free: 119.8 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0626/65.01, allocations: 19.14 MB / 12.02 GB, free: 119.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006521/65.01, allocations: 1.144 MB / 12.02 GB, free: 119.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06717/65.08, allocations: 17.22 MB / 12.04 GB, free: 119.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001495/65.08, allocations: 54.64 kB / 12.04 GB, free: 119.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/65.08, allocations: 1.031 kB / 12.04 GB, free: 119.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0375/65.12, allocations: 12.45 MB / 12.05 GB, free: 118.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.2189/65.34, allocations: 45.27 MB / 12.09 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.883e-05/65.34, allocations: 4.969 kB / 12.09 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007181/65.34, allocations: 0.6949 MB / 12.09 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3872/65.73, allocations: 47.68 MB / 12.14 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001802/65.73, allocations: 70.17 kB / 12.14 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03782/65.77, allocations: 13.17 MB / 12.15 GB, free: 108.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/65.77, allocations: 7.969 kB / 12.15 GB, free: 108.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2673/66.04, allocations: 40.94 MB / 12.19 GB, free: 106.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01259/66.05, allocations: 2.524 MB / 12.19 GB, free: 105.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006108/66.06, allocations: 12.47 kB / 12.19 GB, free: 105.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0196/66.08, allocations: 0.6134 MB / 12.2 GB, free: 105.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002213/66.08, allocations: 300.7 kB / 12.2 GB, free: 105.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001605/66.08, allocations: 196.9 kB / 12.2 GB, free: 105.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02386/66.1, allocations: 8.345 MB / 12.2 GB, free: 105.6 MB / 1.182 GB Notification: Performance of sort global known variables: time 9.32e-07/66.1, allocations: 0 / 12.2 GB, free: 105.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05654/66.16, allocations: 5.67 MB / 12.21 GB, free: 105.6 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (324): * Single equations (assignments): 304 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.2745/66.44, allocations: 45.51 MB / 12.25 GB, free: 82.54 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1031/66.54, allocations: 28.58 MB / 12.28 GB, free: 68.19 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/66.54, allocations: 1.859 kB / 12.28 GB, free: 68.19 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02466/66.56, allocations: 7.173 MB / 12.29 GB, free: 64.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05163/66.61, allocations: 6.103 MB / 12.29 GB, free: 61.19 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06968/66.68, allocations: 21.11 MB / 12.32 GB, free: 45.86 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01442/66.7, allocations: 6.798 MB / 12.32 GB, free: 41.58 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.03916/66.74, allocations: 5.723 MB / 12.33 GB, free: 37.87 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01104/66.75, allocations: 5.463 MB / 12.33 GB, free: 32.82 MB / 1.182 GB Notification: Performance of SimCode: time 1.392e-06/66.75, allocations: 0 / 12.33 GB, free: 32.82 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.522/71.27, allocations: 474.2 MB / 12.8 GB, free: 136.9 MB / 1.261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/71.27, allocations: 173.5 kB / 12.8 GB, free: 136.7 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.07/99.34, allocations: 0.5312 kB / 12.8 GB, free: 136.7 MB / 1.261 GB