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.001653/0.001653, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7883/0.7883, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.497/1.497, allocations: 221.3 MB / 400.4 MB, free: 5.75 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 90.06 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.429e-05/4.45e-05, allocations: 3.875 kB / 0.5601 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.62/4.82, allocations: 1.908 GB / 2.549 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/4.82, allocations: 87.95 kB / 2.549 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.429/12.25, allocations: 1.673 GB / 4.222 GB, free: 79.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.414e-06/12.25, allocations: 0 / 4.222 GB, free: 79.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0005723/12.25, allocations: 65.92 kB / 4.222 GB, free: 79.55 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.01007/12.26, allocations: 2.513 MB / 4.224 GB, free: 78.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/12.26, allocations: 9.5 kB / 4.224 GB, free: 78.71 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007682/12.26, allocations: 202 kB / 4.224 GB, free: 78.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006487/12.27, allocations: 0.8207 MB / 4.225 GB, free: 78.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008751/12.28, allocations: 2.664 MB / 4.228 GB, free: 78.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/12.28, allocations: 115.4 kB / 4.228 GB, free: 78.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005826/12.28, allocations: 146.3 kB / 4.228 GB, free: 78.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/12.28, allocations: 1.514 MB / 4.23 GB, free: 77.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/12.28, allocations: 6.688 kB / 4.23 GB, free: 77.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/12.28, allocations: 54.25 kB / 4.23 GB, free: 77.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/12.28, allocations: 48.7 kB / 4.23 GB, free: 77.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/12.28, allocations: 1.148 MB / 4.231 GB, free: 77.89 MB / 0.7448 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.01197/12.3, allocations: 7.426 MB / 4.238 GB, free: 74.19 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/12.3, allocations: 0.9436 MB / 4.239 GB, free: 73.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/12.3, allocations: 425.7 kB / 4.239 GB, free: 73.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/12.3, allocations: 109.4 kB / 4.24 GB, free: 73.87 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/12.3, allocations: 45.7 kB / 4.24 GB, free: 73.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001576/12.3, allocations: 228.4 kB / 4.24 GB, free: 73.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 1.065e-05/12.3, allocations: 0.9688 kB / 4.24 GB, free: 73.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.002738/12.3, allocations: 0.987 MB / 4.241 GB, free: 73.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/12.3, allocations: 65.69 kB / 4.241 GB, free: 73.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003236/12.31, allocations: 1.498 MB / 4.242 GB, free: 73.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/12.31, allocations: 45.55 kB / 4.242 GB, free: 73.33 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008867/12.31, allocations: 0.9835 MB / 4.243 GB, free: 73.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/12.31, allocations: 269.8 kB / 4.244 GB, free: 72.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/12.31, allocations: 25.38 kB / 4.244 GB, free: 72.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001342/12.31, allocations: 342.8 kB / 4.244 GB, free: 72.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/12.31, allocations: 330.9 kB / 4.244 GB, free: 72.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/12.31, allocations: 0.7564 MB / 4.245 GB, free: 72.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/12.31, allocations: 443.8 kB / 4.245 GB, free: 72.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/12.31, allocations: 2.906 kB / 4.245 GB, free: 72.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002702/12.31, allocations: 1.308 MB / 4.247 GB, free: 71.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008637/12.31, allocations: 3.968 MB / 4.251 GB, free: 67.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/12.31, allocations: 14.16 kB / 4.251 GB, free: 67.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/12.31, allocations: 116 kB / 4.251 GB, free: 67.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/12.31, allocations: 254.6 kB / 4.251 GB, free: 67.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/12.32, allocations: 2.371 MB / 4.253 GB, free: 65.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/12.32, allocations: 143 kB / 4.253 GB, free: 65.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/12.32, allocations: 61.08 kB / 4.253 GB, free: 65.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/12.32, allocations: 3.844 kB / 4.253 GB, free: 65.84 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002141/12.32, allocations: 1.079 MB / 4.254 GB, free: 65.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/12.32, allocations: 10.44 kB / 4.254 GB, free: 65.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/12.32, allocations: 99.05 kB / 4.255 GB, free: 65.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/12.32, allocations: 235 kB / 4.255 GB, free: 65.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/12.32, allocations: 1.775 MB / 4.257 GB, free: 64.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/12.33, allocations: 130 kB / 4.257 GB, free: 64.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/12.33, allocations: 53.92 kB / 4.257 GB, free: 64.53 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 () * 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.0003162/12.33, allocations: 180.4 kB / 4.257 GB, free: 64.42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/12.33, allocations: 192.1 kB / 4.257 GB, free: 64.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/12.33, allocations: 1.046 MB / 4.258 GB, free: 64.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/12.33, allocations: 10.17 kB / 4.258 GB, free: 64.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/12.33, allocations: 2.875 kB / 4.258 GB, free: 64.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001609/12.33, allocations: 0.8721 MB / 4.259 GB, free: 64.05 MB / 0.7448 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.006175/12.34, allocations: 2.851 MB / 4.262 GB, free: 63.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/12.34, allocations: 5.844 kB / 4.262 GB, free: 63.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008748/12.34, allocations: 190.9 kB / 4.262 GB, free: 63.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/12.34, allocations: 86.91 kB / 4.262 GB, free: 63.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/12.34, allocations: 23.23 kB / 4.262 GB, free: 63.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/12.34, allocations: 2.241 MB / 4.264 GB, free: 61.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/12.34, allocations: 4.562 kB / 4.264 GB, free: 61.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/12.34, allocations: 1.627 MB / 4.266 GB, free: 61.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/12.34, allocations: 349.6 kB / 4.266 GB, free: 60.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/12.34, allocations: 13.69 kB / 4.266 GB, free: 60.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/12.35, allocations: 130.8 kB / 4.266 GB, free: 60.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/12.35, allocations: 58.86 kB / 4.266 GB, free: 60.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/12.35, allocations: 34.69 kB / 4.266 GB, free: 60.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002269/12.35, allocations: 1.165 MB / 4.267 GB, free: 60.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/12.35, allocations: 0 / 4.267 GB, free: 60.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00601/12.36, allocations: 1.383 MB / 4.269 GB, free: 60.6 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 () * 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.01037/12.37, allocations: 6.562 MB / 4.275 GB, free: 57.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003998/12.37, allocations: 1.713 MB / 4.277 GB, free: 57.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/12.37, allocations: 0 / 4.277 GB, free: 57.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009486/12.37, allocations: 0.5221 MB / 4.277 GB, free: 57.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005806/12.38, allocations: 0.9942 MB / 4.278 GB, free: 57.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00928/12.39, allocations: 3.2 MB / 4.282 GB, free: 56.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/12.39, allocations: 1.622 MB / 4.283 GB, free: 55.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003939/12.39, allocations: 0.7217 MB / 4.284 GB, free: 55.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/12.39, allocations: 0.8168 MB / 4.285 GB, free: 55.65 MB / 0.7448 GB Notification: Performance of SimCode: time 1.272e-06/12.39, allocations: 0 / 4.285 GB, free: 55.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1876/12.58, allocations: 116.8 MB / 4.399 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/12.58, allocations: 209.1 kB / 4.399 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.12/18.7, allocations: 3.938 kB / 4.399 GB, free: 42.97 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)