Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 289.9 MB / 297.4 MB, free: 6.441 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.001472/0.001472, allocations: 180.8 kB / 366.7 MB, free: 1.68 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.931/1.931, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0008817/0.0008816, allocations: 97.22 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.451e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7378, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.601/6.339, allocations: 2.114 GB / 3.087 GB, free: 340.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/6.34, allocations: 88.44 kB / 3.087 GB, free: 340.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.675/12.01, allocations: 1.631 GB / 4.718 GB, free: 117 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.814e-06/12.01, allocations: 0 / 4.718 GB, free: 117 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002753/12.01, allocations: 66.06 kB / 4.718 GB, free: 116.9 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.006444/12.02, allocations: 2.503 MB / 4.72 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/12.02, allocations: 10.12 kB / 4.72 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/12.03, allocations: 0.8137 MB / 4.721 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00549/12.03, allocations: 2.636 MB / 4.724 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/12.03, allocations: 45.03 kB / 4.724 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/12.03, allocations: 90.8 kB / 4.724 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001879/12.03, allocations: 1.123 MB / 4.725 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/12.04, allocations: 1.322 MB / 4.726 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/12.04, allocations: 3.938 kB / 4.726 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/12.04, allocations: 0 / 4.726 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/12.04, allocations: 47.08 kB / 4.726 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.007719/12.04, allocations: 7.148 MB / 4.733 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/12.04, allocations: 0.9637 MB / 4.734 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/12.05, allocations: 431.3 kB / 4.735 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/12.05, allocations: 109.5 kB / 4.735 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/12.05, allocations: 41.81 kB / 4.735 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008245/12.05, allocations: 198.2 kB / 4.735 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 2.574e-06/12.05, allocations: 0 / 4.735 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.002336/12.05, allocations: 1.036 MB / 4.736 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/12.05, allocations: 63.06 kB / 4.736 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/12.05, allocations: 1.279 MB / 4.737 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7e-05/12.05, allocations: 25.7 kB / 4.737 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/12.05, allocations: 0.9729 MB / 4.738 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/12.05, allocations: 269.5 kB / 4.739 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/12.05, allocations: 0 / 4.739 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/12.05, allocations: 351.3 kB / 4.739 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/12.05, allocations: 334.1 kB / 4.739 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/12.05, allocations: 0.7488 MB / 4.74 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/12.05, allocations: 0.489 MB / 4.74 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/12.05, allocations: 3.406 kB / 4.74 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002434/12.06, allocations: 1.292 MB / 4.742 GB, free: 108.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007546/12.06, allocations: 3.938 MB / 4.746 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/12.06, allocations: 10.62 kB / 4.746 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/12.06, allocations: 97.86 kB / 4.746 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/12.06, allocations: 265.2 kB / 4.746 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/12.06, allocations: 2.249 MB / 4.748 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/12.06, allocations: 113.3 kB / 4.748 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/12.06, allocations: 55.66 kB / 4.748 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/12.06, allocations: 5.938 kB / 4.748 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002013/12.06, allocations: 0.9923 MB / 4.749 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/12.06, allocations: 12.47 kB / 4.749 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/12.06, allocations: 102 kB / 4.749 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/12.06, allocations: 233.7 kB / 4.75 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/12.07, allocations: 1.667 MB / 4.751 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/12.07, allocations: 112.6 kB / 4.751 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/12.07, allocations: 48.91 kB / 4.751 GB, free: 101.5 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.0002744/12.07, allocations: 146.5 kB / 4.751 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001923/12.07, allocations: 0.9474 MB / 4.752 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/12.07, allocations: 181.2 kB / 4.753 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/12.07, allocations: 1.019 MB / 4.754 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/12.07, allocations: 9.938 kB / 4.754 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/12.07, allocations: 3.953 kB / 4.754 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/12.07, allocations: 0.865 MB / 4.754 GB, free: 100.8 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.004742/12.08, allocations: 2.682 MB / 4.757 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/12.08, allocations: 3.375 kB / 4.757 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/12.08, allocations: 189.6 kB / 4.757 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/12.08, allocations: 85.05 kB / 4.757 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/12.08, allocations: 13.98 kB / 4.757 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/12.08, allocations: 2.194 MB / 4.759 GB, free: 98.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/12.08, allocations: 1.938 kB / 4.759 GB, free: 98.35 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/12.08, allocations: 1.591 MB / 4.761 GB, free: 97.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/12.09, allocations: 336 kB / 4.761 GB, free: 97.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/12.09, allocations: 7.719 kB / 4.761 GB, free: 97.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/12.09, allocations: 114.6 kB / 4.761 GB, free: 97.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/12.09, allocations: 52.45 kB / 4.761 GB, free: 97.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.507e-05/12.09, allocations: 32.84 kB / 4.762 GB, free: 97.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001696/12.09, allocations: 0.9667 MB / 4.762 GB, free: 97.55 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.81e-07/12.09, allocations: 0 / 4.762 GB, free: 97.55 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005593/12.09, allocations: 1.295 MB / 4.764 GB, free: 97.4 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.008946/12.1, allocations: 6.727 MB / 4.77 GB, free: 94.46 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002692/12.11, allocations: 1.62 MB / 4.772 GB, free: 94.17 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/12.11, allocations: 3.594 kB / 4.772 GB, free: 94.17 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006752/12.11, allocations: 496.7 kB / 4.772 GB, free: 94.05 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004379/12.11, allocations: 0.875 MB / 4.773 GB, free: 94.03 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/12.12, allocations: 3.103 MB / 4.776 GB, free: 93.11 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/12.12, allocations: 1.612 MB / 4.778 GB, free: 92.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002931/12.12, allocations: 0.6682 MB / 4.778 GB, free: 92.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009459/12.12, allocations: 0.8067 MB / 4.779 GB, free: 91.62 MB / 0.9792 GB Notification: Performance of SimCode: time 8.51e-07/12.12, allocations: 0 / 4.779 GB, free: 91.62 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/12.24, allocations: 78.07 MB / 4.855 GB, free: 36.77 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/12.24, allocations: 169.1 kB / 4.856 GB, free: 36.57 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.438/17.68, allocations: 3.938 kB / 4.856 GB, free: 36.57 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)