Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.MoverStages.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.Movers.Examples.MoverStages,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Examples_MoverStages",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.361/2.361, allocations: 248.7 MB / 256.2 MB, free: 7.016 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.001468/0.001468, allocations: 182.6 kB / 315.4 MB, free: 3.988 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.035/2.035, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 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.001166/0.001166, allocations: 90.81 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.791e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1967, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.913/2.11, allocations: 438.6 MB / 1.312 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/2.11, allocations: 93.36 kB / 1.313 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 12.03/14.14, allocations: 2.252 GB / 3.564 GB, free: 60.22 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.685e-06/14.14, allocations: 3.938 kB / 3.564 GB, free: 60.21 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001039/14.14, allocations: 109.7 kB / 3.564 GB, free: 60.2 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01452/14.16, allocations: 4.03 MB / 3.568 GB, free: 57.35 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/14.16, allocations: 6.875 kB / 3.568 GB, free: 57.35 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/14.17, allocations: 1.189 MB / 3.57 GB, free: 56.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09942/14.27, allocations: 30.38 MB / 3.599 GB, free: 30.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/14.27, allocations: 68 kB / 3.599 GB, free: 30.61 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/14.27, allocations: 143.9 kB / 3.599 GB, free: 30.47 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006418/14.27, allocations: 2.242 MB / 3.602 GB, free: 28.22 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007684/14.28, allocations: 2.504 MB / 3.604 GB, free: 25.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.579e-05/14.28, allocations: 4 kB / 3.604 GB, free: 25.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004382/14.28, allocations: 7.984 kB / 3.604 GB, free: 25.56 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/14.28, allocations: 55.95 kB / 3.604 GB, free: 25.5 MB / 0.9167 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.03327/14.32, allocations: 12.78 MB / 3.617 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004888/14.32, allocations: 2.181 MB / 3.619 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/14.32, allocations: 0.9129 MB / 3.62 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/14.34, allocations: 5.145 MB / 3.625 GB, free: 3.773 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002066/14.34, allocations: 1.113 MB / 3.626 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002491/14.34, allocations: 170.4 kB / 3.626 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=92): time 9.769e-06/14.34, allocations: 0 / 3.626 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=92): time 0.01254/14.35, allocations: 2.762 MB / 3.629 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/14.35, allocations: 111.6 kB / 3.629 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01509/14.37, allocations: 4.738 MB / 3.633 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0007051/14.37, allocations: 29.7 kB / 3.633 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004379/14.37, allocations: 2.151 MB / 3.635 GB, free: 8.617 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009072/14.37, allocations: 299.5 kB / 3.636 GB, free: 8.32 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/14.37, allocations: 0 / 3.636 GB, free: 8.32 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003129/14.37, allocations: 390 kB / 3.636 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/14.38, allocations: 1.05 MB / 3.637 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/14.38, allocations: 2.08 MB / 3.639 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006543/14.39, allocations: 1.48 MB / 3.641 GB, free: 2.812 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-05/14.39, allocations: 8 kB / 3.641 GB, free: 2.805 MB / 0.9323 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01435/14.4, allocations: 3.589 MB / 3.644 GB, free: 15.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006688/14.41, allocations: 13.58 MB / 3.657 GB, free: 288 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.736e-05/14.41, allocations: 32 kB / 3.657 GB, free: 256 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7713/15.18, allocations: 328 kB / 3.658 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006165/15.19, allocations: 0.5413 MB / 3.658 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007886/15.19, allocations: 6.014 MB / 3.664 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/15.2, allocations: 148.1 kB / 3.664 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/15.2, allocations: 212.7 kB / 3.664 GB, free: 101.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/15.2, allocations: 3.656 kB / 3.664 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01116/15.21, allocations: 2.688 MB / 3.667 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/15.21, allocations: 28.75 kB / 3.667 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/15.21, allocations: 336.9 kB / 3.667 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004672/15.22, allocations: 0.5903 MB / 3.668 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/15.22, allocations: 2.568 MB / 3.671 GB, free: 99.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/15.23, allocations: 136.6 kB / 3.671 GB, free: 99.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009786/15.23, allocations: 208.3 kB / 3.671 GB, free: 99.26 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.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: pump_dp.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: pump_y.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: pump_m_flow.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: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001142/15.23, allocations: 214.1 kB / 3.671 GB, free: 99.15 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01107/15.24, allocations: 2.076 MB / 3.673 GB, free: 99.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/15.24, allocations: 410.5 kB / 3.673 GB, free: 98.97 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/15.25, allocations: 2.566 MB / 3.676 GB, free: 98.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-05/15.25, allocations: 18.23 kB / 3.676 GB, free: 98.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/15.25, allocations: 1.125 kB / 3.676 GB, free: 98.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.816e-05/15.25, allocations: 6.094 kB / 3.676 GB, free: 98.8 MB / 0.948 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.02173/15.28, allocations: 5.692 MB / 3.682 GB, free: 98.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/15.28, allocations: 1.562 kB / 3.682 GB, free: 98.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/15.28, allocations: 223.5 kB / 3.682 GB, free: 98.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/15.28, allocations: 361.5 kB / 3.682 GB, free: 98.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003322/15.28, allocations: 33.17 kB / 3.682 GB, free: 98.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004276/15.28, allocations: 4.985 MB / 3.687 GB, free: 94.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/15.28, allocations: 4.062 kB / 3.687 GB, free: 94.01 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009358/15.29, allocations: 2.429 MB / 3.689 GB, free: 93.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003871/15.3, allocations: 0.9196 MB / 3.69 GB, free: 93.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001661/15.3, allocations: 10.55 kB / 3.69 GB, free: 93.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005203/15.31, allocations: 140.5 kB / 3.69 GB, free: 93.03 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005689/15.31, allocations: 82.3 kB / 3.691 GB, free: 93.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003815/15.31, allocations: 83.61 kB / 3.691 GB, free: 93.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01184/15.32, allocations: 3.526 MB / 3.694 GB, free: 92.85 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.172e-06/15.32, allocations: 0 / 3.694 GB, free: 92.85 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01202/15.33, allocations: 1.888 MB / 3.696 GB, free: 92.75 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01469/15.34, allocations: 5.274 MB / 3.701 GB, free: 91.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01179/15.36, allocations: 3.97 MB / 3.705 GB, free: 90.99 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/15.36, allocations: 3.531 kB / 3.705 GB, free: 90.99 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/15.36, allocations: 0.8251 MB / 3.706 GB, free: 90.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01407/15.37, allocations: 1.951 MB / 3.708 GB, free: 90.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/15.4, allocations: 6.569 MB / 3.714 GB, free: 89.48 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004054/15.4, allocations: 2.698 MB / 3.717 GB, free: 88.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01532/15.41, allocations: 2.15 MB / 3.719 GB, free: 88.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004031/15.42, allocations: 1.793 MB / 3.721 GB, free: 88.65 MB / 0.948 GB Notification: Performance of SimCode: time 2.054e-06/15.42, allocations: 2.641 kB / 3.721 GB, free: 88.65 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3143/15.73, allocations: 134.8 MB / 3.852 GB, free: 81.49 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/15.73, allocations: 160 kB / 3.852 GB, free: 81.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.616/25.35, allocations: 3.938 kB / 3.852 GB, free: 81.29 MB / 0.948 GB