Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.505/2.505, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001474/0.001473, allocations: 184.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001081/0.001081, allocations: 89.34 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.78e-05, allocations: 8 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7927/0.7928, allocations: 115.3 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.139/6.932, allocations: 2.112 GB / 3.076 GB, free: 5.023 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/6.933, allocations: 86.14 kB / 3.076 GB, free: 4.984 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.167/16.1, allocations: 1.631 GB / 4.707 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.974e-06/16.1, allocations: 0 / 4.707 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000495/16.1, allocations: 59.08 kB / 4.707 GB, free: 116.2 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.00973/16.11, allocations: 2.509 MB / 4.709 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/16.11, allocations: 14.09 kB / 4.709 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009337/16.12, allocations: 0.8135 MB / 4.71 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/16.13, allocations: 2.629 MB / 4.713 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/16.13, allocations: 45.09 kB / 4.713 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006791/16.13, allocations: 92.95 kB / 4.713 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004054/16.14, allocations: 1.12 MB / 4.714 GB, free: 114.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004907/16.14, allocations: 1.324 MB / 4.715 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.671e-05/16.14, allocations: 10.03 kB / 4.715 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/16.14, allocations: 0 / 4.715 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-05/16.14, allocations: 50.45 kB / 4.715 GB, free: 114.4 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.01706/16.16, allocations: 7.142 MB / 4.722 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/16.16, allocations: 0.9605 MB / 4.723 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/16.16, allocations: 432.2 kB / 4.724 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/16.16, allocations: 109.3 kB / 4.724 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/16.16, allocations: 48.77 kB / 4.724 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001849/16.16, allocations: 191.8 kB / 4.724 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 1.069e-05/16.16, allocations: 0 / 4.724 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.004915/16.17, allocations: 1.033 MB / 4.725 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/16.17, allocations: 63.34 kB / 4.725 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/16.17, allocations: 1.28 MB / 4.726 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003101/16.17, allocations: 28.92 kB / 4.726 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/16.17, allocations: 0.9707 MB / 4.727 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004901/16.17, allocations: 269 kB / 4.727 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/16.17, allocations: 0 / 4.727 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001136/16.17, allocations: 348.3 kB / 4.728 GB, free: 109 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/16.18, allocations: 339.3 kB / 4.728 GB, free: 109 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/16.18, allocations: 0.7501 MB / 4.729 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/16.18, allocations: 499.4 kB / 4.729 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/16.18, allocations: 3.125 kB / 4.729 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005231/16.18, allocations: 1.284 MB / 4.731 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009688/16.18, allocations: 3.942 MB / 4.734 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/16.18, allocations: 8.562 kB / 4.734 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/16.19, allocations: 99.33 kB / 4.735 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/16.19, allocations: 263.4 kB / 4.735 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/16.19, allocations: 2.258 MB / 4.737 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/16.19, allocations: 108.6 kB / 4.737 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003687/16.19, allocations: 59.22 kB / 4.737 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/16.19, allocations: 5.562 kB / 4.737 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0041/16.2, allocations: 0.9874 MB / 4.738 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/16.2, allocations: 12.38 kB / 4.738 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/16.2, allocations: 107.4 kB / 4.738 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/16.2, allocations: 233.4 kB / 4.738 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/16.2, allocations: 1.672 MB / 4.74 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/16.21, allocations: 110 kB / 4.74 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003283/16.21, allocations: 53.52 kB / 4.74 GB, free: 101.2 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.0005208/16.21, allocations: 148.7 kB / 4.74 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003845/16.21, allocations: 0.9368 MB / 4.741 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007628/16.21, allocations: 184.7 kB / 4.741 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004339/16.22, allocations: 1.016 MB / 4.742 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/16.22, allocations: 15.2 kB / 4.742 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/16.22, allocations: 0 / 4.742 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003237/16.22, allocations: 0.865 MB / 4.743 GB, free: 100.6 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.009272/16.23, allocations: 2.676 MB / 4.746 GB, free: 99.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/16.23, allocations: 2.594 kB / 4.746 GB, free: 99.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/16.23, allocations: 200.5 kB / 4.746 GB, free: 99.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004771/16.23, allocations: 90.3 kB / 4.746 GB, free: 99.93 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/16.23, allocations: 7.422 kB / 4.746 GB, free: 99.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/16.24, allocations: 2.193 MB / 4.748 GB, free: 98.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/16.24, allocations: 3.094 kB / 4.748 GB, free: 98.15 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/16.24, allocations: 1.582 MB / 4.75 GB, free: 97.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/16.24, allocations: 332.8 kB / 4.75 GB, free: 97.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006659/16.24, allocations: 7.25 kB / 4.75 GB, free: 97.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/16.25, allocations: 117.4 kB / 4.75 GB, free: 97.51 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/16.25, allocations: 52.58 kB / 4.75 GB, free: 97.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/16.25, allocations: 36.64 kB / 4.75 GB, free: 97.51 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002547/16.25, allocations: 0.9714 MB / 4.751 GB, free: 97.36 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.392e-06/16.25, allocations: 0 / 4.751 GB, free: 97.36 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008382/16.26, allocations: 1.292 MB / 4.753 GB, free: 97.21 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.01402/16.27, allocations: 6.721 MB / 4.759 GB, free: 94.29 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004604/16.28, allocations: 1.615 MB / 4.761 GB, free: 94.05 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/16.28, allocations: 0 / 4.761 GB, free: 94.05 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/16.28, allocations: 0.4911 MB / 4.761 GB, free: 93.94 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007343/16.28, allocations: 0.8892 MB / 4.762 GB, free: 93.91 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/16.3, allocations: 3.112 MB / 4.765 GB, free: 93.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/16.3, allocations: 1.61 MB / 4.767 GB, free: 92.32 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.006161/16.3, allocations: 0.6639 MB / 4.767 GB, free: 92.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/16.31, allocations: 0.8046 MB / 4.768 GB, free: 92.29 MB / 0.9792 GB Notification: Performance of SimCode: time 1.403e-06/16.31, allocations: 1.625 kB / 4.768 GB, free: 92.29 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.207/16.51, allocations: 78.05 MB / 4.844 GB, free: 66.69 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/16.51, allocations: 173.3 kB / 4.845 GB, free: 66.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.383/22.9, allocations: 0 / 4.845 GB, free: 66.5 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)