Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.34/2.34, 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.001516/0.001515, allocations: 178.3 kB / 315.4 MB, free: 4 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.057/2.057, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 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.001061/0.001061, allocations: 86.16 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.933e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.198, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.926/7.124, allocations: 2.232 GB / 3.116 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/7.124, allocations: 91.95 kB / 3.116 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.547/15.67, allocations: 1.58 GB / 4.696 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.984e-06/15.67, allocations: 0 / 4.696 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004415/15.67, allocations: 55.97 kB / 4.696 GB, free: 115.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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.009133/15.68, allocations: 2.512 MB / 4.698 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/15.68, allocations: 10.38 kB / 4.698 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00928/15.69, allocations: 0.8092 MB / 4.699 GB, free: 114 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/15.7, allocations: 2.632 MB / 4.702 GB, free: 113.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/15.7, allocations: 42.91 kB / 4.702 GB, free: 113.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/15.7, allocations: 92.88 kB / 4.702 GB, free: 113.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003517/15.71, allocations: 1.124 MB / 4.703 GB, free: 113.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/15.71, allocations: 1.334 MB / 4.704 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-05/15.71, allocations: 7.75 kB / 4.704 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/15.71, allocations: 1.203 kB / 4.704 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.926e-05/15.71, allocations: 50 kB / 4.704 GB, free: 113.4 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.0153/15.73, allocations: 7.153 MB / 4.711 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/15.73, allocations: 0.9613 MB / 4.712 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/15.73, allocations: 425.2 kB / 4.713 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/15.73, allocations: 110.2 kB / 4.713 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/15.73, allocations: 40.91 kB / 4.713 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001711/15.73, allocations: 202 kB / 4.713 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 7.324e-06/15.73, allocations: 3.938 kB / 4.713 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.004283/15.74, allocations: 1.025 MB / 4.714 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/15.74, allocations: 62.28 kB / 4.714 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/15.74, allocations: 1.281 MB / 4.715 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002865/15.74, allocations: 25.7 kB / 4.715 GB, free: 108.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009464/15.74, allocations: 0.9786 MB / 4.716 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/15.74, allocations: 262.4 kB / 4.716 GB, free: 108.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/15.74, allocations: 0 / 4.716 GB, free: 108.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001219/15.74, allocations: 346.9 kB / 4.717 GB, free: 108 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007705/15.74, allocations: 333.3 kB / 4.717 GB, free: 108 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009958/15.74, allocations: 0.7437 MB / 4.718 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/15.74, allocations: 0.4898 MB / 4.718 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/15.74, allocations: 3.875 kB / 4.718 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004506/15.75, allocations: 1.291 MB / 4.72 GB, free: 107.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009855/15.75, allocations: 3.934 MB / 4.723 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/15.75, allocations: 11.59 kB / 4.723 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/15.75, allocations: 105.9 kB / 4.724 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/15.75, allocations: 256.2 kB / 4.724 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/15.75, allocations: 2.228 MB / 4.726 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/15.76, allocations: 114 kB / 4.726 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/15.76, allocations: 59.83 kB / 4.726 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/15.76, allocations: 8.734 kB / 4.726 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003621/15.76, allocations: 0.9832 MB / 4.727 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/15.76, allocations: 12.69 kB / 4.727 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004172/15.76, allocations: 111.9 kB / 4.727 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/15.76, allocations: 232.7 kB / 4.727 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/15.77, allocations: 1.632 MB / 4.729 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/15.77, allocations: 114.7 kB / 4.729 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/15.77, allocations: 53.33 kB / 4.729 GB, free: 100.2 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000457/15.77, allocations: 148.5 kB / 4.729 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003587/15.77, allocations: 0.9415 MB / 4.73 GB, free: 99.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005895/15.77, allocations: 192.1 kB / 4.73 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/15.78, allocations: 1.007 MB / 4.731 GB, free: 99.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/15.78, allocations: 7.562 kB / 4.731 GB, free: 99.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/15.78, allocations: 0 / 4.731 GB, free: 99.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002874/15.78, allocations: 0.8643 MB / 4.732 GB, free: 99.56 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 postOpt removeSimpleEquations (simulation): time 0.008408/15.79, allocations: 2.671 MB / 4.735 GB, free: 98.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/15.79, allocations: 0 / 4.735 GB, free: 98.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/15.79, allocations: 193.2 kB / 4.735 GB, free: 98.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/15.79, allocations: 84.73 kB / 4.735 GB, free: 98.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/15.79, allocations: 13.16 kB / 4.735 GB, free: 98.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/15.79, allocations: 2.165 MB / 4.737 GB, free: 97.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/15.79, allocations: 6.938 kB / 4.737 GB, free: 97.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004472/15.8, allocations: 1.583 MB / 4.739 GB, free: 96.72 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/15.8, allocations: 339.7 kB / 4.739 GB, free: 96.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/15.8, allocations: 6.516 kB / 4.739 GB, free: 96.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/15.8, allocations: 118.4 kB / 4.739 GB, free: 96.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/15.8, allocations: 57.2 kB / 4.739 GB, free: 96.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/15.8, allocations: 36.11 kB / 4.739 GB, free: 96.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002087/15.81, allocations: 0.9694 MB / 4.74 GB, free: 96.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.91e-07/15.81, allocations: 0 / 4.74 GB, free: 96.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007123/15.81, allocations: 1.273 MB / 4.742 GB, free: 96.21 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01257/15.83, allocations: 6.705 MB / 4.748 GB, free: 93.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004068/15.83, allocations: 1.61 MB / 4.75 GB, free: 93.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/15.83, allocations: 3.438 kB / 4.75 GB, free: 93.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/15.83, allocations: 0.4891 MB / 4.75 GB, free: 92.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006982/15.84, allocations: 0.8781 MB / 4.751 GB, free: 92.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/15.85, allocations: 3.106 MB / 4.754 GB, free: 92.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/15.85, allocations: 1.617 MB / 4.756 GB, free: 91.32 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005205/15.85, allocations: 0.6702 MB / 4.756 GB, free: 91.29 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/15.86, allocations: 0.8085 MB / 4.757 GB, free: 91.29 MB / 0.9167 GB Notification: Performance of SimCode: time 1.162e-06/15.86, allocations: 0 / 4.757 GB, free: 91.29 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2154/16.07, allocations: 78 MB / 4.833 GB, free: 77.64 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/16.07, allocations: 176.7 kB / 4.833 GB, free: 77.45 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.177/22.25, allocations: 0 / 4.833 GB, free: 77.45 MB / 0.9167 GB