Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.002465/0.002465, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.36/1.36, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.197/2.197, allocations: 221.5 MB / 395.5 MB, free: 10.83 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.001398/0.001398, allocations: 93.25 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.815e-05/2.832e-05, allocations: 4 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.7011, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.484/9.185, allocations: 1.831 GB / 2.465 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/9.185, allocations: 91.11 kB / 2.465 GB, free: 208 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.585/14.77, allocations: 0.9578 GB / 3.423 GB, free: 30.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.486e-06/14.77, allocations: 0 / 3.423 GB, free: 30.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001929/14.77, allocations: 27.98 kB / 3.423 GB, free: 30.47 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005662/14.78, allocations: 1.231 MB / 3.424 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/14.78, allocations: 8.031 kB / 3.424 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/14.78, allocations: 182.5 kB / 3.425 GB, free: 29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005048/14.78, allocations: 1.385 MB / 3.426 GB, free: 27.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/14.78, allocations: 16 kB / 3.426 GB, free: 27.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/14.78, allocations: 36 kB / 3.426 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/14.79, allocations: 498.3 kB / 3.427 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/14.79, allocations: 0.6968 MB / 3.427 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/14.79, allocations: 7.938 kB / 3.427 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/14.79, allocations: 0 / 3.427 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/14.79, allocations: 16 kB / 3.427 GB, free: 26.22 MB / 0.6823 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.00501/14.79, allocations: 4.086 MB / 3.431 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/14.79, allocations: 470.5 kB / 3.432 GB, free: 21.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/14.79, allocations: 325.2 kB / 3.432 GB, free: 21.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/14.79, allocations: 190.2 kB / 3.432 GB, free: 20.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005265/14.79, allocations: 295.4 kB / 3.432 GB, free: 20.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004722/14.79, allocations: 11.84 kB / 3.432 GB, free: 20.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.406e-06/14.79, allocations: 0 / 3.432 GB, free: 20.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002404/14.8, allocations: 0.8056 MB / 3.433 GB, free: 19.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/14.8, allocations: 81.11 kB / 3.433 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/14.8, allocations: 0.8479 MB / 3.434 GB, free: 18.76 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/14.8, allocations: 33.7 kB / 3.434 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004934/14.8, allocations: 488.2 kB / 3.435 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/14.8, allocations: 114.4 kB / 3.435 GB, free: 18.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/14.8, allocations: 0 / 3.435 GB, free: 18.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001506/14.8, allocations: 329.9 kB / 3.435 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/14.8, allocations: 196.9 kB / 3.435 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/14.8, allocations: 0.5128 MB / 3.436 GB, free: 16.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/14.8, allocations: 274.5 kB / 3.436 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/14.8, allocations: 4 kB / 3.436 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002144/14.8, allocations: 0.9431 MB / 3.437 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006835/14.8, allocations: 2.127 MB / 3.439 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/14.8, allocations: 11.94 kB / 3.439 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007639/14.8, allocations: 273.7 kB / 3.439 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/14.8, allocations: 71.86 kB / 3.439 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/14.81, allocations: 1.201 MB / 3.441 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/14.81, allocations: 83.75 kB / 3.441 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/14.81, allocations: 28.09 kB / 3.441 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/14.81, allocations: 8.562 kB / 3.441 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001571/14.81, allocations: 0.6464 MB / 3.441 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/14.81, allocations: 8 kB / 3.441 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006921/14.81, allocations: 209.3 kB / 3.441 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/14.81, allocations: 75.8 kB / 3.442 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/14.82, allocations: 2.91 MB / 3.444 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/14.82, allocations: 75.81 kB / 3.444 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/14.82, allocations: 24 kB / 3.444 GB, free: 7.676 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002627/14.82, allocations: 131.2 kB / 3.445 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001413/14.82, allocations: 0.6571 MB / 3.445 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/14.82, allocations: 98.83 kB / 3.445 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/14.82, allocations: 0.7065 MB / 3.446 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/14.82, allocations: 4 kB / 3.446 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/14.82, allocations: 0 / 3.446 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/14.82, allocations: 3.984 kB / 3.446 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/14.82, allocations: 1.584 MB / 3.448 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/14.82, allocations: 224 / 3.448 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/14.82, allocations: 43.91 kB / 3.448 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005667/14.83, allocations: 228.2 kB / 3.448 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/14.83, allocations: 8 kB / 3.448 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/14.83, allocations: 1.051 MB / 3.449 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/14.83, allocations: 4 kB / 3.449 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/14.83, allocations: 0.9035 MB / 3.45 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000569/14.83, allocations: 219.9 kB / 3.45 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/14.83, allocations: 7.984 kB / 3.45 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009489/14.83, allocations: 63.77 kB / 3.45 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/14.83, allocations: 27.92 kB / 3.45 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/14.83, allocations: 15.98 kB / 3.45 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001172/14.83, allocations: 0.665 MB / 3.451 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/14.83, allocations: 0 / 3.451 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002621/14.83, allocations: 0.5033 MB / 3.451 GB, free: 0.5352 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.967/15.8, allocations: 2.764 MB / 3.454 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00537/15.81, allocations: 1.162 MB / 3.455 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/15.81, allocations: 4.281 kB / 3.455 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/15.81, allocations: 262.7 kB / 3.455 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005852/15.81, allocations: 0.5265 MB / 3.456 GB, free: 186 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007461/15.82, allocations: 1.618 MB / 3.457 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/15.82, allocations: 1.208 MB / 3.459 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003642/15.83, allocations: 0.6854 MB / 3.459 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/15.83, allocations: 296.8 kB / 3.46 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.423e-06/15.83, allocations: 0 / 3.46 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1316/15.96, allocations: 33.39 MB / 3.492 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/15.96, allocations: 176.1 kB / 3.492 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.441/21.4, allocations: 0 / 3.492 GB, free: 184.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)