Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.896/0.896, allocations: 143.3 MB / 158.3 MB, free: 5.629 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 181 kB / 191.5 MB, free: 5.648 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.711/1.711, allocations: 223.2 MB / 447.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001297, allocations: 88.33 kB / 0.5187 GB, free: 2.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 277.3 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000569/0.0005686, allocations: 12 kB / 0.6929 GB, free: 2.215 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.477/0.4776, allocations: 82.78 MB / 0.7738 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.172/5.65, allocations: 1.906 GB / 2.68 GB, free: 77.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/5.65, allocations: 93.89 kB / 2.68 GB, free: 76.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.567/12.22, allocations: 1.674 GB / 4.354 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.106e-06/12.22, allocations: 0 / 4.354 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003666/12.22, allocations: 59.98 kB / 4.354 GB, free: 33 MB / 0.7448 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.01278/12.23, allocations: 3.17 MB / 4.357 GB, free: 29.76 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/12.23, allocations: 12.03 kB / 4.357 GB, free: 29.75 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001135/12.23, allocations: 198.5 kB / 4.357 GB, free: 29.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006138/12.24, allocations: 0.8164 MB / 4.358 GB, free: 28.72 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007885/12.25, allocations: 2.662 MB / 4.36 GB, free: 25.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/12.25, allocations: 110.7 kB / 4.36 GB, free: 25.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/12.25, allocations: 148 kB / 4.361 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/12.25, allocations: 1.591 MB / 4.362 GB, free: 24.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/12.25, allocations: 4 kB / 4.362 GB, free: 24.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/12.25, allocations: 52 kB / 4.362 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/12.25, allocations: 50.61 kB / 4.362 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/12.25, allocations: 1.267 MB / 4.363 GB, free: 22.7 MB / 0.7448 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.01022/12.26, allocations: 7.433 MB / 4.371 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/12.26, allocations: 1.003 MB / 4.372 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/12.26, allocations: 117.7 kB / 4.372 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/12.26, allocations: 39.22 kB / 4.372 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001437/12.27, allocations: 227 kB / 4.372 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 5.741e-06/12.27, allocations: 0 / 4.372 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.004823/12.27, allocations: 1.591 MB / 4.374 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/12.27, allocations: 64.06 kB / 4.374 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/12.27, allocations: 1.513 MB / 4.375 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/12.27, allocations: 49.69 kB / 4.375 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/12.27, allocations: 0.9804 MB / 4.376 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/12.27, allocations: 268.1 kB / 4.376 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/12.27, allocations: 20 kB / 4.376 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/12.27, allocations: 353.9 kB / 4.377 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/12.27, allocations: 382.1 kB / 4.377 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009347/12.28, allocations: 0.814 MB / 4.378 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/12.28, allocations: 499 kB / 4.378 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/12.28, allocations: 7.938 kB / 4.378 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003051/12.28, allocations: 1.414 MB / 4.38 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000811/12.28, allocations: 3.965 MB / 4.384 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/12.28, allocations: 8 kB / 4.384 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/12.28, allocations: 116.7 kB / 4.384 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/12.28, allocations: 255.6 kB / 4.384 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/12.28, allocations: 2.444 MB / 4.386 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/12.29, allocations: 139.6 kB / 4.387 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/12.29, allocations: 59.97 kB / 4.387 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/12.29, allocations: 4 kB / 4.387 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002846/12.29, allocations: 1.164 MB / 4.388 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/12.29, allocations: 8 kB / 4.388 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/12.29, allocations: 117 kB / 4.388 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008924/12.29, allocations: 235.6 kB / 4.388 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/12.29, allocations: 1.835 MB / 4.39 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/12.3, allocations: 131.7 kB / 4.39 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/12.3, allocations: 51.98 kB / 4.39 GB, free: 9.992 MB / 0.7605 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 (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.001646/12.3, allocations: 0.5788 MB / 4.391 GB, free: 9.402 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000527/12.3, allocations: 193.6 kB / 4.391 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/12.3, allocations: 1.158 MB / 4.392 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/12.3, allocations: 8 kB / 4.392 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/12.3, allocations: 0 / 4.392 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002362/12.3, allocations: 0.9809 MB / 4.393 GB, free: 7.02 MB / 0.7605 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.007143/12.31, allocations: 2.965 MB / 4.396 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/12.31, allocations: 4 kB / 4.396 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000996/12.31, allocations: 187.7 kB / 4.396 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/12.31, allocations: 97.02 kB / 4.396 GB, free: 3.645 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/12.31, allocations: 27.98 kB / 4.396 GB, free: 3.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/12.32, allocations: 2.304 MB / 4.398 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/12.32, allocations: 3.953 kB / 4.398 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6211/12.94, allocations: 1.773 MB / 4.4 GB, free: 84.33 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/12.94, allocations: 345.6 kB / 4.4 GB, free: 84.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/12.94, allocations: 18.19 kB / 4.4 GB, free: 84.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/12.94, allocations: 127.3 kB / 4.401 GB, free: 84.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/12.94, allocations: 53.58 kB / 4.401 GB, free: 84.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/12.94, allocations: 38.42 kB / 4.401 GB, free: 84.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002981/12.94, allocations: 1.178 MB / 4.402 GB, free: 84.09 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.1e-07/12.94, allocations: 0 / 4.402 GB, free: 84.09 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007329/12.95, allocations: 1.371 MB / 4.403 GB, free: 84.09 MB / 0.7605 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 (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.012/12.96, allocations: 6.74 MB / 4.41 GB, free: 81.37 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0045/12.97, allocations: 1.798 MB / 4.411 GB, free: 81.13 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/12.97, allocations: 0.9375 kB / 4.411 GB, free: 81.13 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/12.97, allocations: 0.5604 MB / 4.412 GB, free: 81.02 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005056/12.97, allocations: 0.9818 MB / 4.413 GB, free: 80.99 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/12.99, allocations: 11.79 MB / 4.424 GB, free: 72.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/12.99, allocations: 1.608 MB / 4.426 GB, free: 71.36 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003168/12.99, allocations: 487.7 kB / 4.426 GB, free: 71.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/12.99, allocations: 0.8304 MB / 4.427 GB, free: 71.34 MB / 0.7605 GB Notification: Performance of SimCode: time 1.402e-06/12.99, allocations: 0 / 4.427 GB, free: 71.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1725/13.16, allocations: 104.3 MB / 4.529 GB, free: 67.41 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/13.17, allocations: 256.2 kB / 4.529 GB, free: 67.05 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.254/19.42, allocations: 0 / 4.529 GB, free: 67.05 MB / 0.7605 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)