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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009558/0.0009559, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000887/0.0008871, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.585/1.585, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004972, allocations: 17.22 kB / 0.6737 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6983/0.9145, allocations: 262.4 MB / 1.043 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02994/0.9445, allocations: 21.08 MB / 1.064 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.9476, allocations: 71.44 kB / 1.064 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004512/0.9521, allocations: 1.303 MB / 1.065 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.9645, allocations: 3.775 MB / 1.069 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00948/0.974, allocations: 3.196 MB / 1.072 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007309/0.9813, allocations: 3.418 MB / 1.076 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/0.9843, allocations: 1.606 MB / 1.077 GB, free: 15.48 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006783/0.9912, allocations: 2.223 MB / 1.079 GB, free: 13.25 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/0.9943, allocations: 1.14 MB / 1.08 GB, free: 12.11 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006356/0.995, allocations: 88 kB / 1.08 GB, free: 12.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/1, allocations: 1.868 MB / 1.082 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/1.001, allocations: 0.6659 MB / 1.083 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/1.002, allocations: 0.5121 MB / 1.083 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004823/1.007, allocations: 3.125 MB / 1.087 GB, free: 5.832 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.007, allocations: 0 / 1.087 GB, free: 5.832 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.485e-06/1.007, allocations: 0 / 1.087 GB, free: 5.832 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.266e-05/1.007, allocations: 0 / 1.087 GB, free: 5.832 MB / 0.795 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.00482/1.012, allocations: 2.505 MB / 1.089 GB, free: 3.266 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.012, allocations: 8.031 kB / 1.089 GB, free: 3.258 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003355/1.012, allocations: 202.6 kB / 1.089 GB, free: 3.051 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005427/1.018, allocations: 0.8827 MB / 1.09 GB, free: 2.164 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004031/1.022, allocations: 1.801 MB / 1.092 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004406/1.022, allocations: 174.6 kB / 1.092 GB, free: 120 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/1.023, allocations: 148 kB / 1.092 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003426/1.026, allocations: 1.686 MB / 1.094 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/1.026, allocations: 4 kB / 1.094 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/1.026, allocations: 55.98 kB / 1.094 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/1.026, allocations: 46.61 kB / 1.094 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/1.03, allocations: 1.478 MB / 1.095 GB, free: 12.64 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01199/1.042, allocations: 7.791 MB / 1.103 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/1.044, allocations: 1.131 MB / 1.104 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-05/1.044, allocations: 16.64 kB / 1.104 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/1.044, allocations: 39.22 kB / 1.104 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001066/1.045, allocations: 199.1 kB / 1.104 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=77): time 2.705e-06/1.045, allocations: 0 / 1.104 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=77): time 0.003955/1.049, allocations: 1.511 MB / 1.106 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/1.049, allocations: 60.06 kB / 1.106 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/1.052, allocations: 1.777 MB / 1.107 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/1.052, allocations: 41.7 kB / 1.108 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000808/1.052, allocations: 0.9761 MB / 1.108 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/1.053, allocations: 268 kB / 1.109 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/1.053, allocations: 23.94 kB / 1.109 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.053, allocations: 349.9 kB / 1.109 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/1.054, allocations: 477.9 kB / 1.11 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/1.056, allocations: 0.8741 MB / 1.11 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.057, allocations: 0.5611 MB / 1.111 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.057, allocations: 4 kB / 1.111 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00319/1.06, allocations: 1.464 MB / 1.112 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.001403/1.061, allocations: 3.954 MB / 1.116 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/1.062, allocations: 15.94 kB / 1.116 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/1.062, allocations: 19.95 kB / 1.116 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/1.063, allocations: 311.5 kB / 1.117 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000422/1.063, allocations: 0.6055 MB / 1.117 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/1.065, allocations: 173.1 kB / 1.117 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/1.065, allocations: 59.97 kB / 1.117 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/1.065, allocations: 4 kB / 1.117 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002163/1.068, allocations: 1.152 MB / 1.119 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.068, allocations: 8.281 kB / 1.119 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.068, allocations: 20 kB / 1.119 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/1.069, allocations: 263.6 kB / 1.119 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/1.069, allocations: 23.92 kB / 1.119 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/1.07, allocations: 164.3 kB / 1.119 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/1.07, allocations: 55.98 kB / 1.119 GB, free: 3.09 MB / 0.8262 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 122 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.001027/1.071, allocations: 0.5748 MB / 1.12 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/1.072, allocations: 193.6 kB / 1.12 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/1.075, allocations: 1.189 MB / 1.121 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.075, allocations: 8 kB / 1.121 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.075, allocations: 7.953 kB / 1.121 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002204/1.077, allocations: 0.9997 MB / 1.122 GB, free: 72 kB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005677/1.083, allocations: 2.977 MB / 1.125 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.083, allocations: 4 kB / 1.125 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.084, allocations: 231.8 kB / 1.125 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/1.084, allocations: 4 kB / 1.125 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/1.084, allocations: 23.98 kB / 1.125 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003024/1.084, allocations: 0.5977 MB / 1.126 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.084, allocations: 3.938 kB / 1.126 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/1.088, allocations: 1.869 MB / 1.128 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/1.089, allocations: 366.5 kB / 1.128 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/1.089, allocations: 20 kB / 1.128 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.09, allocations: 155.7 kB / 1.128 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.09, allocations: 64.47 kB / 1.128 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/1.09, allocations: 27.98 kB / 1.128 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001827/1.092, allocations: 1.212 MB / 1.129 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/1.092, allocations: 4 kB / 1.129 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002539/1.095, allocations: 0.9781 MB / 1.13 GB, free: 7.312 MB / 0.8419 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.004984/1.1, allocations: 2.99 MB / 1.133 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004127/1.104, allocations: 1.719 MB / 1.135 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.104, allocations: 0 / 1.135 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/1.105, allocations: 0.5156 MB / 1.135 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004759/1.11, allocations: 1.021 MB / 1.136 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.121, allocations: 11.78 MB / 1.148 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/1.123, allocations: 1.609 MB / 1.149 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00235/1.125, allocations: 0.4966 MB / 1.15 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.126, allocations: 0.8546 MB / 1.151 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of SimCode: time 1.302e-06/1.126, allocations: 0 / 1.151 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.078/2.204, allocations: 54.46 MB / 1.204 GB, free: 12.21 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/2.205, allocations: 244.3 kB / 1.204 GB, free: 11.89 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.699/5.904, allocations: 3.938 kB / 1.204 GB, free: 11.88 MB / 0.92 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) Environment - environmentSimulation: