Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.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_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dp",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.9544/0.9544, allocations: 143.3 MB / 158.3 MB, free: 5.789 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.00166/0.00166, allocations: 189 kB / 191.5 MB, free: 5.738 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.606/1.606, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.0009838/0.000984, allocations: 92.27 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 272.5 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004668, allocations: 15.75 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2022, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.158/5.36, allocations: 1.906 GB / 2.68 GB, free: 120 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/5.36, allocations: 99.77 kB / 2.68 GB, free: 119.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.955/12.32, allocations: 1.674 GB / 4.354 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.355e-06/12.32, allocations: 0 / 4.354 GB, free: 68.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004896/12.32, allocations: 55.58 kB / 4.354 GB, free: 68.14 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.01234/12.33, allocations: 3.189 MB / 4.357 GB, free: 66.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/12.33, allocations: 10.84 kB / 4.357 GB, free: 66.55 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009794/12.33, allocations: 204.7 kB / 4.357 GB, free: 66.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006506/12.34, allocations: 0.8184 MB / 4.358 GB, free: 66.37 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009627/12.35, allocations: 2.665 MB / 4.361 GB, free: 65.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/12.35, allocations: 112.6 kB / 4.361 GB, free: 65.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006621/12.35, allocations: 154.3 kB / 4.361 GB, free: 65.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/12.35, allocations: 1.605 MB / 4.363 GB, free: 65.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/12.35, allocations: 0 / 4.363 GB, free: 65.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000313/12.35, allocations: 56.84 kB / 4.363 GB, free: 65.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.067e-05/12.35, allocations: 49.53 kB / 4.363 GB, free: 65.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/12.36, allocations: 1.284 MB / 4.364 GB, free: 65.55 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.01307/12.37, allocations: 7.472 MB / 4.371 GB, free: 61.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/12.37, allocations: 1.041 MB / 4.372 GB, free: 61.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/12.37, allocations: 113.1 kB / 4.372 GB, free: 61.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/12.37, allocations: 40.06 kB / 4.372 GB, free: 61.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001432/12.37, allocations: 155 kB / 4.373 GB, free: 61.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=81): time 9.688e-06/12.37, allocations: 0 / 4.373 GB, free: 61.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81): time 0.005602/12.38, allocations: 1.772 MB / 4.374 GB, free: 60.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/12.38, allocations: 62.31 kB / 4.374 GB, free: 60.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/12.38, allocations: 1.521 MB / 4.376 GB, free: 60.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/12.38, allocations: 49.42 kB / 4.376 GB, free: 60.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008236/12.38, allocations: 0.9663 MB / 4.377 GB, free: 60.35 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/12.38, allocations: 286.5 kB / 4.377 GB, free: 60.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/12.38, allocations: 27.59 kB / 4.377 GB, free: 60.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/12.38, allocations: 347 kB / 4.377 GB, free: 59.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008167/12.38, allocations: 387.4 kB / 4.378 GB, free: 59.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/12.38, allocations: 0.8202 MB / 4.379 GB, free: 59.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009553/12.39, allocations: 0.4969 MB / 4.379 GB, free: 59.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/12.39, allocations: 3.094 kB / 4.379 GB, free: 59.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003392/12.39, allocations: 1.478 MB / 4.381 GB, free: 59.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008651/12.39, allocations: 3.965 MB / 4.384 GB, free: 54.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/12.39, allocations: 9.969 kB / 4.384 GB, free: 54.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/12.39, allocations: 158.8 kB / 4.385 GB, free: 54.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/12.39, allocations: 264.2 kB / 4.385 GB, free: 54.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/12.39, allocations: 3.574 MB / 4.388 GB, free: 51.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/12.4, allocations: 143.6 kB / 4.388 GB, free: 51.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/12.4, allocations: 60.16 kB / 4.389 GB, free: 51.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/12.4, allocations: 3.75 kB / 4.389 GB, free: 51.78 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00267/12.4, allocations: 1.298 MB / 4.39 GB, free: 51.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/12.4, allocations: 6.969 kB / 4.39 GB, free: 51.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/12.4, allocations: 152 kB / 4.39 GB, free: 51.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/12.4, allocations: 234.4 kB / 4.39 GB, free: 51.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/12.4, allocations: 3.319 MB / 4.393 GB, free: 48.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/12.41, allocations: 133.7 kB / 4.394 GB, free: 48.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/12.41, allocations: 56.45 kB / 4.394 GB, free: 48.42 MB / 0.7448 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 (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00144/12.41, allocations: 0.5849 MB / 4.394 GB, free: 48.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/12.41, allocations: 200.1 kB / 4.394 GB, free: 47.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/12.41, allocations: 1.283 MB / 4.396 GB, free: 47.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/12.41, allocations: 9.281 kB / 4.396 GB, free: 47.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/12.41, allocations: 3.953 kB / 4.396 GB, free: 47.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002272/12.41, allocations: 1.1 MB / 4.397 GB, free: 46.76 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 postOpt removeSimpleEquations (simulation): time 0.006108/12.42, allocations: 3.006 MB / 4.4 GB, free: 45.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/12.42, allocations: 0 / 4.4 GB, free: 45.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/12.42, allocations: 211 kB / 4.4 GB, free: 45.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/12.42, allocations: 117.3 kB / 4.4 GB, free: 45.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/12.42, allocations: 29.58 kB / 4.4 GB, free: 45.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/12.42, allocations: 4.856 MB / 4.405 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/12.42, allocations: 3.953 kB / 4.405 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/12.43, allocations: 1.913 MB / 4.407 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/12.43, allocations: 354.8 kB / 4.407 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/12.43, allocations: 20 kB / 4.407 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/12.43, allocations: 134.5 kB / 4.407 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/12.43, allocations: 51.73 kB / 4.407 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/12.43, allocations: 38.84 kB / 4.407 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001784/12.43, allocations: 1.181 MB / 4.408 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.51e-07/12.43, allocations: 0 / 4.408 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004859/12.44, allocations: 1.407 MB / 4.41 GB, free: 36.58 MB / 0.7448 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 (77): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01004/12.45, allocations: 6.876 MB / 4.416 GB, free: 30.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004127/12.45, allocations: 1.957 MB / 4.418 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/12.45, allocations: 0 / 4.418 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/12.45, allocations: 0.7079 MB / 4.419 GB, free: 27.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004517/12.46, allocations: 0.9982 MB / 4.42 GB, free: 27.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009537/12.47, allocations: 11.86 MB / 4.432 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/12.47, allocations: 1.619 MB / 4.433 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002636/12.47, allocations: 484.2 kB / 4.434 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/12.47, allocations: 0.8412 MB / 4.434 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/12.47, allocations: 0 / 4.434 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.756/13.23, allocations: 105.4 MB / 4.537 GB, free: 68.76 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/13.23, allocations: 267.7 kB / 4.538 GB, free: 68.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.303/19.53, allocations: 2.438 kB / 4.538 GB, free: 68.4 MB / 0.7605 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dp.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)