Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.887 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.00111/0.00111, allocations: 176.9 kB / 316.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009122/0.0009123, allocations: 92.34 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.659e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2055, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.136/5.341, allocations: 2.232 GB / 3.117 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/5.342, allocations: 86.58 kB / 3.117 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.399/10.74, allocations: 1.58 GB / 4.697 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.172e-06/10.74, allocations: 3.75 kB / 4.697 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002871/10.74, allocations: 60.11 kB / 4.697 GB, free: 111.9 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.007588/10.75, allocations: 2.505 MB / 4.7 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/10.75, allocations: 15.78 kB / 4.7 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006076/10.75, allocations: 0.7993 MB / 4.7 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007572/10.76, allocations: 2.64 MB / 4.703 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/10.76, allocations: 55.14 kB / 4.703 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/10.76, allocations: 94.22 kB / 4.703 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002261/10.76, allocations: 1.12 MB / 4.704 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/10.77, allocations: 1.333 MB / 4.706 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/10.77, allocations: 0 / 4.706 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/10.77, allocations: 3.875 kB / 4.706 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.085e-05/10.77, allocations: 49.73 kB / 4.706 GB, free: 110.1 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.01086/10.78, allocations: 7.15 MB / 4.713 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/10.78, allocations: 0.9598 MB / 4.714 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005252/10.78, allocations: 426 kB / 4.714 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/10.78, allocations: 110.4 kB / 4.714 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/10.78, allocations: 43.97 kB / 4.714 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001188/10.78, allocations: 198 kB / 4.714 GB, free: 106 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 3.537e-06/10.78, allocations: 0 / 4.714 GB, free: 106 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.002408/10.78, allocations: 1.025 MB / 4.715 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/10.78, allocations: 57.19 kB / 4.715 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/10.79, allocations: 1.288 MB / 4.717 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/10.79, allocations: 34.61 kB / 4.717 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000624/10.79, allocations: 0.9714 MB / 4.718 GB, free: 105.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/10.79, allocations: 264.2 kB / 4.718 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/10.79, allocations: 0 / 4.718 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/10.79, allocations: 340 kB / 4.718 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/10.79, allocations: 337.5 kB / 4.718 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/10.79, allocations: 0.7534 MB / 4.719 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/10.79, allocations: 492.1 kB / 4.72 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/10.79, allocations: 0 / 4.72 GB, free: 104.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002492/10.79, allocations: 1.293 MB / 4.721 GB, free: 104.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007404/10.79, allocations: 3.939 MB / 4.725 GB, free: 100 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/10.79, allocations: 10.09 kB / 4.725 GB, free: 100 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/10.79, allocations: 105.7 kB / 4.725 GB, free: 100 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/10.79, allocations: 265.7 kB / 4.725 GB, free: 100 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/10.8, allocations: 2.219 MB / 4.727 GB, free: 98.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/10.8, allocations: 123.3 kB / 4.727 GB, free: 98.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/10.8, allocations: 61.05 kB / 4.727 GB, free: 98.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/10.8, allocations: 3.859 kB / 4.727 GB, free: 98.21 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00221/10.8, allocations: 0.9951 MB / 4.728 GB, free: 98.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/10.8, allocations: 8.312 kB / 4.728 GB, free: 98.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/10.8, allocations: 105.8 kB / 4.729 GB, free: 98.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/10.8, allocations: 234.9 kB / 4.729 GB, free: 98.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/10.8, allocations: 1.632 MB / 4.73 GB, free: 96.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/10.8, allocations: 112.1 kB / 4.73 GB, free: 96.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/10.8, allocations: 49.95 kB / 4.731 GB, free: 96.97 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.0003058/10.8, allocations: 148.6 kB / 4.731 GB, free: 96.85 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001928/10.81, allocations: 0.9353 MB / 4.732 GB, free: 96.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/10.81, allocations: 188.4 kB / 4.732 GB, free: 96.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/10.81, allocations: 1.025 MB / 4.733 GB, free: 96.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/10.81, allocations: 7 kB / 4.733 GB, free: 96.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/10.81, allocations: 0 / 4.733 GB, free: 96.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001579/10.81, allocations: 0.8722 MB / 4.734 GB, free: 96.32 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.004677/10.81, allocations: 2.657 MB / 4.736 GB, free: 95.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/10.81, allocations: 3.719 kB / 4.736 GB, free: 95.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/10.82, allocations: 193.7 kB / 4.736 GB, free: 95.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/10.82, allocations: 81.67 kB / 4.736 GB, free: 95.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/10.82, allocations: 16.73 kB / 4.736 GB, free: 95.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/10.82, allocations: 2.158 MB / 4.739 GB, free: 93.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/10.82, allocations: 2.375 kB / 4.739 GB, free: 93.92 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/10.82, allocations: 1.579 MB / 4.74 GB, free: 93.48 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/10.82, allocations: 347.3 kB / 4.74 GB, free: 93.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/10.82, allocations: 9.047 kB / 4.74 GB, free: 93.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/10.82, allocations: 118.2 kB / 4.741 GB, free: 93.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/10.82, allocations: 57.17 kB / 4.741 GB, free: 93.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/10.82, allocations: 31.38 kB / 4.741 GB, free: 93.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001282/10.82, allocations: 0.9737 MB / 4.742 GB, free: 93.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.72e-07/10.82, allocations: 0 / 4.742 GB, free: 93.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004263/10.83, allocations: 1.27 MB / 4.743 GB, free: 92.97 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.00868/10.84, allocations: 6.708 MB / 4.749 GB, free: 90.05 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002823/10.84, allocations: 1.614 MB / 4.751 GB, free: 89.81 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/10.84, allocations: 0 / 4.751 GB, free: 89.81 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006742/10.84, allocations: 0.4906 MB / 4.751 GB, free: 89.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004244/10.84, allocations: 0.87 MB / 4.752 GB, free: 89.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/10.85, allocations: 3.111 MB / 4.755 GB, free: 88.82 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/10.85, allocations: 1.616 MB / 4.757 GB, free: 88.09 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002891/10.85, allocations: 0.6626 MB / 4.758 GB, free: 88.06 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/10.86, allocations: 0.8161 MB / 4.758 GB, free: 88.05 MB / 0.9167 GB Notification: Performance of SimCode: time 1.142e-06/10.86, allocations: 0 / 4.758 GB, free: 88.05 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/10.99, allocations: 78.02 MB / 4.835 GB, free: 81.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/10.99, allocations: 185.2 kB / 4.835 GB, free: 81.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.852/15.84, allocations: 4 kB / 4.835 GB, free: 81.59 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)