Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_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.001431/0.001431, allocations: 174.3 kB / 7.646 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 0.7922/0.7922, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0008403/0.0008403, allocations: 99.83 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.334e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4043, allocations: 82.31 MB / 0.6339 GB, free: 40.67 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.667/5.071, allocations: 1.831 GB / 2.465 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/5.072, allocations: 91.94 kB / 2.465 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.276/8.347, allocations: 0.9578 GB / 3.423 GB, free: 30.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.843e-06/8.347, allocations: 3.938 kB / 3.423 GB, free: 30.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002195/8.348, allocations: 35.98 kB / 3.423 GB, free: 30.62 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.00477/8.352, allocations: 1.235 MB / 3.424 GB, free: 29.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/8.352, allocations: 12.03 kB / 3.424 GB, free: 29.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/8.354, allocations: 178.5 kB / 3.425 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/8.357, allocations: 1.378 MB / 3.426 GB, free: 27.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/8.357, allocations: 16 kB / 3.426 GB, free: 27.69 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-05/8.357, allocations: 39.98 kB / 3.426 GB, free: 27.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007606/8.358, allocations: 490.3 kB / 3.427 GB, free: 27.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/8.359, allocations: 0.7006 MB / 3.427 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/8.359, allocations: 4 kB / 3.427 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/8.359, allocations: 0 / 3.427 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/8.359, allocations: 16 kB / 3.427 GB, free: 26.38 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.003352/8.362, allocations: 4.09 MB / 3.431 GB, free: 22.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/8.363, allocations: 462.7 kB / 3.432 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/8.363, allocations: 338.2 kB / 3.432 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/8.364, allocations: 186.2 kB / 3.432 GB, free: 21.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/8.364, allocations: 291.4 kB / 3.432 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003617/8.365, allocations: 11.84 kB / 3.432 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.845e-06/8.365, allocations: 3.984 kB / 3.432 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001698/8.366, allocations: 0.8095 MB / 3.433 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/8.366, allocations: 85.11 kB / 3.433 GB, free: 19.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/8.367, allocations: 0.8479 MB / 3.434 GB, free: 18.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/8.367, allocations: 33.7 kB / 3.434 GB, free: 18.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/8.368, allocations: 492.2 kB / 3.435 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/8.368, allocations: 106.4 kB / 3.435 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/8.368, allocations: 0 / 3.435 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/8.368, allocations: 329.9 kB / 3.435 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/8.368, allocations: 197 kB / 3.435 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/8.368, allocations: 0.5089 MB / 3.436 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/8.369, allocations: 286.4 kB / 3.436 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/8.369, allocations: 4 kB / 3.436 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001443/8.37, allocations: 0.9436 MB / 3.437 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004991/8.371, allocations: 2.122 MB / 3.439 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/8.371, allocations: 8 kB / 3.439 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/8.371, allocations: 273.6 kB / 3.439 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/8.371, allocations: 71.84 kB / 3.439 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/8.373, allocations: 1.201 MB / 3.441 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009591/8.374, allocations: 79.75 kB / 3.441 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/8.374, allocations: 24 kB / 3.441 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/8.374, allocations: 4 kB / 3.441 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001028/8.375, allocations: 0.6503 MB / 3.441 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/8.375, allocations: 12.56 kB / 3.441 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004737/8.375, allocations: 212.8 kB / 3.441 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/8.376, allocations: 71.8 kB / 3.442 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/8.379, allocations: 2.914 MB / 3.444 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/8.38, allocations: 79.81 kB / 3.444 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/8.38, allocations: 24 kB / 3.444 GB, free: 7.824 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.0001571/8.38, allocations: 124.9 kB / 3.445 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008623/8.381, allocations: 0.6646 MB / 3.445 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/8.381, allocations: 94.83 kB / 3.445 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/8.382, allocations: 0.7066 MB / 3.446 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/8.382, allocations: 4 kB / 3.446 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/8.382, allocations: 3.938 kB / 3.446 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/8.382, allocations: 7.984 kB / 3.446 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/8.384, allocations: 1.576 MB / 3.448 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/8.384, allocations: 0 / 3.448 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/8.384, allocations: 39.91 kB / 3.448 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000346/8.384, allocations: 228.2 kB / 3.448 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/8.384, allocations: 4 kB / 3.448 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008292/8.385, allocations: 1.043 MB / 3.449 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/8.385, allocations: 12.02 kB / 3.449 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/8.386, allocations: 0.9073 MB / 3.45 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/8.387, allocations: 211.9 kB / 3.45 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/8.387, allocations: 4 kB / 3.45 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006238/8.387, allocations: 63.77 kB / 3.45 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/8.387, allocations: 35.84 kB / 3.45 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/8.387, allocations: 16 kB / 3.45 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007107/8.388, allocations: 0.6611 MB / 3.451 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/8.388, allocations: 4 kB / 3.451 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00156/8.39, allocations: 0.515 MB / 3.451 GB, free: 0.6758 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.5388/8.929, allocations: 2.755 MB / 3.454 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003269/8.932, allocations: 1.164 MB / 3.455 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/8.932, allocations: 1.125 kB / 3.455 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/8.933, allocations: 264 kB / 3.455 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/8.936, allocations: 0.5304 MB / 3.456 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/8.94, allocations: 1.623 MB / 3.457 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/8.941, allocations: 1.206 MB / 3.459 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002173/8.944, allocations: 0.6768 MB / 3.459 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/8.944, allocations: 297.4 kB / 3.46 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/8.944, allocations: 3.172 kB / 3.46 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07613/9.02, allocations: 33.39 MB / 3.492 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/9.02, allocations: 174.8 kB / 3.492 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/12.17, allocations: 0 / 3.492 GB, free: 184.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)