Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 285.6 MB / 293.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001208, allocations: 172.9 kB / 361.4 MB, free: 6.898 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009257/0.0009256, allocations: 96.86 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.32e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7368, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.831/5.568, allocations: 2.113 GB / 3.077 GB, free: 1.977 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/5.568, allocations: 91.02 kB / 3.077 GB, free: 1.934 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.475/12.04, allocations: 1.631 GB / 4.708 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.844e-06/12.04, allocations: 0 / 4.708 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004774/12.04, allocations: 66.08 kB / 4.708 GB, free: 116.8 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.01082/12.05, allocations: 2.501 MB / 4.711 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/12.05, allocations: 10.03 kB / 4.711 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006944/12.06, allocations: 0.8166 MB / 4.711 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009573/12.07, allocations: 2.64 MB / 4.714 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/12.07, allocations: 42.16 kB / 4.714 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006427/12.07, allocations: 90.19 kB / 4.714 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003181/12.08, allocations: 1.122 MB / 4.715 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/12.08, allocations: 1.333 MB / 4.716 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/12.08, allocations: 2.25 kB / 4.716 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/12.08, allocations: 0 / 4.716 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/12.08, allocations: 49.55 kB / 4.716 GB, free: 114.9 MB / 0.9792 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.01183/12.09, allocations: 7.132 MB / 4.723 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/12.09, allocations: 0.9672 MB / 4.724 GB, free: 111 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/12.09, allocations: 421.5 kB / 4.725 GB, free: 111 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/12.09, allocations: 114.9 kB / 4.725 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.02e-05/12.09, allocations: 41.59 kB / 4.725 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001379/12.09, allocations: 198.9 kB / 4.725 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 4.388e-06/12.09, allocations: 0 / 4.725 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.003105/12.1, allocations: 1.025 MB / 4.726 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/12.1, allocations: 67.03 kB / 4.726 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/12.1, allocations: 1.287 MB / 4.727 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/12.1, allocations: 25.7 kB / 4.727 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006951/12.1, allocations: 0.9796 MB / 4.728 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/12.1, allocations: 265.5 kB / 4.729 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/12.1, allocations: 0 / 4.729 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/12.1, allocations: 346.4 kB / 4.729 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/12.1, allocations: 333.2 kB / 4.729 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006601/12.1, allocations: 0.7487 MB / 4.73 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/12.1, allocations: 498.2 kB / 4.731 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/12.1, allocations: 9.641 kB / 4.731 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00279/12.11, allocations: 1.29 MB / 4.732 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009738/12.11, allocations: 3.94 MB / 4.736 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/12.11, allocations: 13.75 kB / 4.736 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/12.11, allocations: 102.9 kB / 4.736 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/12.11, allocations: 260 kB / 4.736 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/12.11, allocations: 2.249 MB / 4.738 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/12.11, allocations: 112.1 kB / 4.738 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/12.11, allocations: 60.64 kB / 4.738 GB, free: 103 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/12.11, allocations: 6.562 kB / 4.738 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002244/12.12, allocations: 0.9967 MB / 4.739 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/12.12, allocations: 9.781 kB / 4.739 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/12.12, allocations: 109.4 kB / 4.739 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/12.12, allocations: 235.8 kB / 4.74 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/12.12, allocations: 1.655 MB / 4.741 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/12.12, allocations: 102 kB / 4.741 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/12.12, allocations: 58.08 kB / 4.741 GB, free: 101.8 MB / 0.9792 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.0004718/12.12, allocations: 139.5 kB / 4.742 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002672/12.12, allocations: 0.9434 MB / 4.743 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005673/12.12, allocations: 184.2 kB / 4.743 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/12.13, allocations: 1.022 MB / 4.744 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/12.13, allocations: 7.531 kB / 4.744 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/12.13, allocations: 0 / 4.744 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001749/12.13, allocations: 0.8712 MB / 4.745 GB, free: 101.1 MB / 0.9792 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.00681/12.14, allocations: 2.673 MB / 4.747 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/12.14, allocations: 3.844 kB / 4.747 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000928/12.14, allocations: 201.3 kB / 4.747 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/12.14, allocations: 84.5 kB / 4.747 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/12.14, allocations: 14.72 kB / 4.747 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/12.14, allocations: 2.184 MB / 4.75 GB, free: 98.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/12.14, allocations: 2.344 kB / 4.75 GB, free: 98.72 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/12.14, allocations: 1.591 MB / 4.751 GB, free: 98.28 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/12.14, allocations: 334.6 kB / 4.751 GB, free: 98.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005756/12.14, allocations: 6.906 kB / 4.751 GB, free: 98.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/12.15, allocations: 120.4 kB / 4.752 GB, free: 98.07 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/12.15, allocations: 58.88 kB / 4.752 GB, free: 98.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.608e-05/12.15, allocations: 32.38 kB / 4.752 GB, free: 98.07 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002148/12.15, allocations: 0.9682 MB / 4.753 GB, free: 97.93 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.9e-07/12.15, allocations: 0 / 4.753 GB, free: 97.93 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006413/12.15, allocations: 1.291 MB / 4.754 GB, free: 97.77 MB / 0.9792 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.01345/12.17, allocations: 6.719 MB / 4.76 GB, free: 94.86 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003632/12.17, allocations: 1.617 MB / 4.762 GB, free: 94.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/12.17, allocations: 0 / 4.762 GB, free: 94.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008591/12.17, allocations: 499.1 kB / 4.762 GB, free: 94.51 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004783/12.18, allocations: 0.8742 MB / 4.763 GB, free: 94.49 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008906/12.19, allocations: 3.111 MB / 4.766 GB, free: 93.63 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/12.19, allocations: 1.61 MB / 4.768 GB, free: 92.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003606/12.19, allocations: 0.6683 MB / 4.769 GB, free: 92.87 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/12.19, allocations: 0.8104 MB / 4.769 GB, free: 92.86 MB / 0.9792 GB Notification: Performance of SimCode: time 1.673e-06/12.19, allocations: 3.188 kB / 4.769 GB, free: 92.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/12.32, allocations: 78.06 MB / 4.846 GB, free: 63.42 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/12.32, allocations: 181.2 kB / 4.846 GB, free: 63.23 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.989/17.31, allocations: 4 kB / 4.846 GB, free: 63.22 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)