Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Simplified6,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6",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.305/2.305, allocations: 248.7 MB / 256.2 MB, free: 6.973 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.001449/0.001449, allocations: 192.2 kB / 315.4 MB, free: 3.973 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.198/2.198, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 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.001492/0.001493, allocations: 92.72 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.687e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1965, allocations: 106.2 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.934/2.131, allocations: 458.6 MB / 1.332 GB, free: 250 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/2.131, allocations: 102.6 kB / 1.332 GB, free: 250 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 57.15/59.29, allocations: 10.16 GB / 11.49 GB, free: 81.27 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.264e-06/59.29, allocations: 0 / 11.49 GB, free: 81.27 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003734/59.29, allocations: 342.7 kB / 11.49 GB, free: 81.21 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.05617/59.35, allocations: 11.06 MB / 11.5 GB, free: 76.4 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/59.35, allocations: 14.47 kB / 11.5 GB, free: 76.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/59.36, allocations: 2.067 MB / 11.51 GB, free: 75.62 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08076/59.44, allocations: 18.25 MB / 11.52 GB, free: 73.52 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005742/59.44, allocations: 197.5 kB / 11.52 GB, free: 73.52 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003518/59.45, allocations: 441.7 kB / 11.52 GB, free: 73.51 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02201/59.47, allocations: 6.824 MB / 11.53 GB, free: 73.49 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02799/59.5, allocations: 7.407 MB / 11.54 GB, free: 72.44 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004032/59.5, allocations: 14.66 kB / 11.54 GB, free: 72.44 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002538/59.5, allocations: 14.19 kB / 11.54 GB, free: 72.44 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/59.5, allocations: 157.7 kB / 11.54 GB, free: 72.44 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.1161/59.62, allocations: 48.6 MB / 11.59 GB, free: 45.82 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/59.63, allocations: 5.378 MB / 11.59 GB, free: 45.66 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009316/59.64, allocations: 3.93 MB / 11.6 GB, free: 45.61 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.05458/59.69, allocations: 13.38 MB / 11.61 GB, free: 42.46 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008403/59.7, allocations: 3.098 MB / 11.61 GB, free: 42.36 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01783/59.72, allocations: 2.278 MB / 11.61 GB, free: 42.17 MB / 1.135 GB Notification: Performance of pre-optimization done (n=326): time 3.289e-05/59.72, allocations: 6 kB / 11.61 GB, free: 42.17 MB / 1.135 GB Notification: Performance of matching and sorting (n=328): time 0.06876/59.79, allocations: 15.59 MB / 11.63 GB, free: 39.34 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/59.79, allocations: 85.73 kB / 11.63 GB, free: 39.28 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03579/59.83, allocations: 11.32 MB / 11.64 GB, free: 38.55 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.001928/59.83, allocations: 39.8 kB / 11.64 GB, free: 38.52 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01085/59.84, allocations: 6.19 MB / 11.65 GB, free: 37.04 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.002311/59.84, allocations: 1.075 MB / 11.65 GB, free: 36.32 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/59.84, allocations: 0 / 11.65 GB, free: 36.32 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0009307/59.84, allocations: 0.5414 MB / 11.65 GB, free: 36.01 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01283/59.86, allocations: 2.995 MB / 11.65 GB, free: 35.99 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/59.87, allocations: 5.763 MB / 11.66 GB, free: 32.63 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/59.88, allocations: 3.945 MB / 11.66 GB, free: 32.47 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.742e-05/59.88, allocations: 17.47 kB / 11.66 GB, free: 32.47 MB / 1.135 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.03654/59.92, allocations: 10.7 MB / 11.67 GB, free: 31.55 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.011/59.93, allocations: 38.35 MB / 11.71 GB, free: 7.504 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002541/59.93, allocations: 57.91 kB / 11.71 GB, free: 7.504 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005038/59.93, allocations: 1.356 MB / 11.71 GB, free: 7.418 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01495/59.95, allocations: 1.391 MB / 11.71 GB, free: 7.414 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/59.96, allocations: 9.712 MB / 11.72 GB, free: 17.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01915/59.98, allocations: 0.7449 MB / 11.72 GB, free: 17.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002215/59.98, allocations: 418.9 kB / 11.72 GB, free: 17.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/59.98, allocations: 2.688 kB / 11.72 GB, free: 17.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02986/60.01, allocations: 8.455 MB / 11.73 GB, free: 17.44 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002163/60.01, allocations: 58.75 kB / 11.73 GB, free: 17.44 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006937/60.02, allocations: 1.466 MB / 11.73 GB, free: 17.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/60.03, allocations: 1.385 MB / 11.73 GB, free: 17.33 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03064/60.06, allocations: 12.54 MB / 11.74 GB, free: 12.85 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01918/60.08, allocations: 0.7204 MB / 11.75 GB, free: 12.75 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002339/60.09, allocations: 378.1 kB / 11.75 GB, free: 12.75 MB / 1.167 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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: 269 * 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 (640): * Single equations (assignments): 625 * 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: 5 * 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: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of prepare postOptimizeDAE: time 0.003759/60.09, allocations: 313.4 kB / 11.75 GB, free: 12.61 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02293/60.11, allocations: 6.54 MB / 11.75 GB, free: 11.72 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004856/60.12, allocations: 1.133 MB / 11.75 GB, free: 11.09 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02834/60.15, allocations: 7.562 MB / 11.76 GB, free: 10.57 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.534e-05/60.15, allocations: 35.62 kB / 11.76 GB, free: 10.57 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/60.15, allocations: 3.938 kB / 11.76 GB, free: 10.57 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01808/60.16, allocations: 5.704 MB / 11.77 GB, free: 10.04 MB / 1.167 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.05392/60.22, allocations: 16.03 MB / 11.78 GB, free: 8.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/60.22, allocations: 3.625 kB / 11.78 GB, free: 8.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006573/60.22, allocations: 0.6115 MB / 11.78 GB, free: 8.465 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004262/60.23, allocations: 1.122 MB / 11.78 GB, free: 8.383 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009036/60.23, allocations: 56.61 kB / 11.78 GB, free: 8.383 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009944/60.24, allocations: 8.111 MB / 11.79 GB, free: 2.77 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/60.24, allocations: 0 / 11.79 GB, free: 2.77 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03063/60.27, allocations: 10.37 MB / 11.8 GB, free: 14.52 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01101/60.28, allocations: 2.137 MB / 11.8 GB, free: 12.65 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0048/60.29, allocations: 8 kB / 11.8 GB, free: 12.64 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01585/60.3, allocations: 0.6146 MB / 11.8 GB, free: 12.22 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001301/60.3, allocations: 228.7 kB / 11.8 GB, free: 12.08 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007547/60.3, allocations: 166.7 kB / 11.81 GB, free: 11.95 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02636/60.33, allocations: 8.457 MB / 11.81 GB, free: 4.637 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.21e-07/60.33, allocations: 2.906 kB / 11.81 GB, free: 4.637 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05443/60.39, allocations: 5.335 MB / 11.82 GB, free: 16 kB / 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 (274): * Single equations (assignments): 251 * 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: 5 * 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: 5 {1 2,1 4,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 1.185/61.57, allocations: 14.91 MB / 11.83 GB, free: 127.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0394/61.61, allocations: 11.84 MB / 11.84 GB, free: 127.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/61.61, allocations: 4.422 kB / 11.84 GB, free: 127.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.008667/61.62, allocations: 2.641 MB / 11.85 GB, free: 127.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0501/61.67, allocations: 5.83 MB / 11.85 GB, free: 127.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06914/61.74, allocations: 19.26 MB / 11.87 GB, free: 123.2 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01557/61.75, allocations: 6.682 MB / 11.88 GB, free: 122.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.04373/61.8, allocations: 5.84 MB / 11.88 GB, free: 122.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01405/61.81, allocations: 5.353 MB / 11.89 GB, free: 122.1 MB / 1.182 GB Notification: Performance of SimCode: time 3.055e-06/61.81, allocations: 0 / 11.89 GB, free: 122.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8183/62.63, allocations: 338.2 MB / 12.22 GB, free: 5.168 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/62.63, allocations: 169.2 kB / 12.22 GB, free: 4.977 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.98/88.61, allocations: 5.859 kB / 12.22 GB, free: 4.973 MB / 1.198 GB