Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009389/0.009389, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7751/0.7751, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001028/0.001028, allocations: 97.95 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004007, allocations: 12 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4607, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.022/5.482, allocations: 1.909 GB / 2.558 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/5.483, allocations: 95.64 kB / 2.558 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.919/12.4, allocations: 1.674 GB / 4.232 GB, free: 81.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.008e-06/12.4, allocations: 0 / 4.232 GB, free: 81.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003411/12.4, allocations: 67.08 kB / 4.232 GB, free: 81.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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.01181/12.41, allocations: 3.18 MB / 4.236 GB, free: 80.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/12.41, allocations: 10.09 kB / 4.236 GB, free: 80.08 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001047/12.42, allocations: 200.4 kB / 4.236 GB, free: 80.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006515/12.42, allocations: 0.8124 MB / 4.237 GB, free: 79.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009156/12.43, allocations: 2.687 MB / 4.239 GB, free: 79.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/12.43, allocations: 114.8 kB / 4.239 GB, free: 79.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003359/12.43, allocations: 149.3 kB / 4.239 GB, free: 79.47 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/12.44, allocations: 1.589 MB / 4.241 GB, free: 79.28 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/12.44, allocations: 8.016 kB / 4.241 GB, free: 79.28 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/12.44, allocations: 54.34 kB / 4.241 GB, free: 79.28 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/12.44, allocations: 51.27 kB / 4.241 GB, free: 79.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/12.44, allocations: 1.274 MB / 4.242 GB, free: 79.26 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.01259/12.45, allocations: 7.415 MB / 4.25 GB, free: 75.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/12.45, allocations: 1.019 MB / 4.251 GB, free: 75.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/12.45, allocations: 114.8 kB / 4.251 GB, free: 75.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/12.45, allocations: 42.03 kB / 4.251 GB, free: 75.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001689/12.45, allocations: 230.6 kB / 4.251 GB, free: 75.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 4.708e-06/12.45, allocations: 0 / 4.251 GB, free: 75.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.00519/12.46, allocations: 1.597 MB / 4.252 GB, free: 74.95 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/12.46, allocations: 60.95 kB / 4.253 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/12.46, allocations: 1.525 MB / 4.254 GB, free: 74.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/12.46, allocations: 46.42 kB / 4.254 GB, free: 74.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007792/12.46, allocations: 0.9732 MB / 4.255 GB, free: 74.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/12.46, allocations: 276.4 kB / 4.255 GB, free: 74.19 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/12.46, allocations: 21.47 kB / 4.255 GB, free: 74.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001132/12.46, allocations: 348.1 kB / 4.256 GB, free: 73.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008534/12.47, allocations: 385.2 kB / 4.256 GB, free: 73.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/12.47, allocations: 0.8076 MB / 4.257 GB, free: 73.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009773/12.47, allocations: 0.4919 MB / 4.257 GB, free: 73.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/12.47, allocations: 2.906 kB / 4.257 GB, free: 73.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003548/12.47, allocations: 1.426 MB / 4.259 GB, free: 73.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001146/12.47, allocations: 3.957 MB / 4.263 GB, free: 68.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/12.47, allocations: 12.41 kB / 4.263 GB, free: 68.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005016/12.47, allocations: 118.4 kB / 4.263 GB, free: 68.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/12.47, allocations: 249.8 kB / 4.263 GB, free: 68.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/12.48, allocations: 2.46 MB / 4.265 GB, free: 67.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/12.48, allocations: 137 kB / 4.265 GB, free: 67.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/12.48, allocations: 58.83 kB / 4.265 GB, free: 67.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/12.48, allocations: 5.094 kB / 4.266 GB, free: 67.09 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002698/12.48, allocations: 1.171 MB / 4.267 GB, free: 67.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/12.48, allocations: 12.44 kB / 4.267 GB, free: 67.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003442/12.48, allocations: 122 kB / 4.267 GB, free: 67.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008522/12.48, allocations: 230.8 kB / 4.267 GB, free: 67.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/12.49, allocations: 1.825 MB / 4.269 GB, free: 65.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/12.49, allocations: 140.8 kB / 4.269 GB, free: 65.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/12.49, allocations: 56.69 kB / 4.269 GB, free: 65.76 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 (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.001517/12.49, allocations: 0.5883 MB / 4.27 GB, free: 65.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005048/12.49, allocations: 194.6 kB / 4.27 GB, free: 65.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/12.49, allocations: 1.147 MB / 4.271 GB, free: 65.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/12.49, allocations: 9.062 kB / 4.271 GB, free: 65.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/12.49, allocations: 3.953 kB / 4.271 GB, free: 65.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002224/12.5, allocations: 0.9768 MB / 4.272 GB, free: 65.2 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.009184/12.5, allocations: 2.952 MB / 4.275 GB, free: 64.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/12.5, allocations: 6.875 kB / 4.275 GB, free: 64.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/12.51, allocations: 183.4 kB / 4.275 GB, free: 64.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/12.51, allocations: 94.78 kB / 4.275 GB, free: 64.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.975e-05/12.51, allocations: 28.53 kB / 4.275 GB, free: 64.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00283/12.51, allocations: 2.311 MB / 4.277 GB, free: 62.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/12.51, allocations: 6.031 kB / 4.277 GB, free: 62.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004552/12.51, allocations: 1.778 MB / 4.279 GB, free: 62.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/12.52, allocations: 350.5 kB / 4.279 GB, free: 62.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006902/12.52, allocations: 15.34 kB / 4.279 GB, free: 62.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/12.52, allocations: 132.5 kB / 4.279 GB, free: 62.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/12.52, allocations: 56.67 kB / 4.28 GB, free: 62.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/12.52, allocations: 35.34 kB / 4.28 GB, free: 62.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003013/12.52, allocations: 1.184 MB / 4.281 GB, free: 61.92 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/12.52, allocations: 2.688 kB / 4.281 GB, free: 61.92 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007038/12.53, allocations: 1.377 MB / 4.282 GB, free: 61.78 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 (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.01258/12.54, allocations: 6.714 MB / 4.289 GB, free: 58.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004955/12.55, allocations: 1.796 MB / 4.29 GB, free: 58.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/12.55, allocations: 0 / 4.29 GB, free: 58.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/12.55, allocations: 0.5652 MB / 4.291 GB, free: 58.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005978/12.55, allocations: 0.9937 MB / 4.292 GB, free: 58.47 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/12.57, allocations: 11.8 MB / 4.303 GB, free: 49.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/12.57, allocations: 1.607 MB / 4.305 GB, free: 48.79 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002938/12.57, allocations: 482.5 kB / 4.305 GB, free: 48.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/12.58, allocations: 0.8392 MB / 4.306 GB, free: 48.76 MB / 0.7448 GB Notification: Performance of SimCode: time 1.302e-06/12.58, allocations: 0 / 4.306 GB, free: 48.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1869/12.76, allocations: 104.3 MB / 4.408 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/12.76, allocations: 243.5 kB / 4.408 GB, free: 36.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.996/18.76, allocations: 0 / 4.408 GB, free: 36.01 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)