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.01101/0.01101, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9342/0.9342, allocations: 135.2 MB / 151 MB, free: 13.83 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.809/1.809, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001037/0.001037, allocations: 97.38 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004992, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6648, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.99/5.655, allocations: 1.832 GB / 2.482 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/5.655, allocations: 91.95 kB / 2.482 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.974/9.629, allocations: 0.9686 GB / 3.45 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/9.629, allocations: 2.953 kB / 3.45 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002021/9.629, allocations: 28.72 kB / 3.45 GB, free: 184.8 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.006293/9.636, allocations: 1.517 MB / 3.452 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/9.636, allocations: 8.094 kB / 3.452 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004858/9.636, allocations: 98.48 kB / 3.452 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/9.638, allocations: 181.6 kB / 3.452 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004729/9.642, allocations: 1.393 MB / 3.454 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/9.643, allocations: 45.59 kB / 3.454 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/9.643, allocations: 66.31 kB / 3.454 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/9.644, allocations: 0.787 MB / 3.454 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/9.644, allocations: 0 / 3.454 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/9.644, allocations: 26.48 kB / 3.454 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/9.644, allocations: 18.61 kB / 3.454 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/9.645, allocations: 0.5388 MB / 3.455 GB, free: 183.5 MB / 0.6823 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.005/9.65, allocations: 4.22 MB / 3.459 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/9.651, allocations: 436.4 kB / 3.46 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/9.651, allocations: 203.7 kB / 3.46 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005074/9.652, allocations: 319.2 kB / 3.46 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005634/9.653, allocations: 34.42 kB / 3.46 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.887e-06/9.653, allocations: 0 / 3.46 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.003569/9.656, allocations: 1.355 MB / 3.461 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/9.656, allocations: 92.16 kB / 3.461 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/9.658, allocations: 1.016 MB / 3.462 GB, free: 180 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.321e-05/9.658, allocations: 35.52 kB / 3.463 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000454/9.658, allocations: 492 kB / 3.463 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/9.659, allocations: 117.1 kB / 3.463 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/9.659, allocations: 7.625 kB / 3.463 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001403/9.659, allocations: 325.3 kB / 3.463 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/9.659, allocations: 207.9 kB / 3.464 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/9.66, allocations: 0.5298 MB / 3.464 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/9.66, allocations: 320.5 kB / 3.464 GB, free: 179 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/9.66, allocations: 0 / 3.464 GB, free: 179 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001793/9.662, allocations: 0.9604 MB / 3.465 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008333/9.663, allocations: 2.13 MB / 3.467 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/9.663, allocations: 7.125 kB / 3.467 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/9.664, allocations: 308.5 kB / 3.468 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/9.664, allocations: 66.53 kB / 3.468 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/9.665, allocations: 1.104 MB / 3.469 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/9.667, allocations: 88.39 kB / 3.469 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/9.667, allocations: 30.53 kB / 3.469 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/9.667, allocations: 8.516 kB / 3.469 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001487/9.668, allocations: 0.7876 MB / 3.47 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/9.668, allocations: 7 kB / 3.47 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/9.669, allocations: 230.3 kB / 3.47 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/9.669, allocations: 69.22 kB / 3.47 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/9.673, allocations: 3.083 MB / 3.473 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/9.674, allocations: 94.02 kB / 3.473 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/9.674, allocations: 22.44 kB / 3.473 GB, free: 174.4 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 () * Number of clocked 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.0008245/9.675, allocations: 474.3 kB / 3.474 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/9.675, allocations: 107.2 kB / 3.474 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/9.677, allocations: 0.7825 MB / 3.475 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/9.677, allocations: 3.562 kB / 3.475 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/9.677, allocations: 0 / 3.475 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/9.677, allocations: 3.531 kB / 3.475 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/9.68, allocations: 1.725 MB / 3.476 GB, free: 173 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/9.68, allocations: 0 / 3.476 GB, free: 173 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/9.68, allocations: 31.5 kB / 3.476 GB, free: 173 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004981/9.681, allocations: 267.3 kB / 3.477 GB, free: 173 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/9.681, allocations: 11.19 kB / 3.477 GB, free: 173 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009208/9.682, allocations: 1.039 MB / 3.478 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/9.682, allocations: 0 / 3.478 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/9.683, allocations: 0.9867 MB / 3.478 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006621/9.684, allocations: 230.2 kB / 3.479 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/9.684, allocations: 13.33 kB / 3.479 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/9.685, allocations: 72.11 kB / 3.479 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/9.685, allocations: 27.62 kB / 3.479 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/9.685, allocations: 14 kB / 3.479 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00123/9.686, allocations: 0.8074 MB / 3.48 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/9.686, allocations: 1.406 kB / 3.48 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00234/9.688, allocations: 0.5315 MB / 3.48 GB, free: 171.2 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) * Number of clocked states: 0 () * 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.003353/9.692, allocations: 2.72 MB / 3.483 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002812/9.695, allocations: 1.243 MB / 3.484 GB, free: 169 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/9.695, allocations: 3.312 kB / 3.484 GB, free: 169 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/9.695, allocations: 300.8 kB / 3.484 GB, free: 169 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/9.699, allocations: 0.6201 MB / 3.485 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/9.714, allocations: 10.16 MB / 3.495 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/9.715, allocations: 1.203 MB / 3.496 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001331/9.716, allocations: 314.7 kB / 3.496 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005025/9.717, allocations: 323.3 kB / 3.497 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.943e-06/9.717, allocations: 3.094 kB / 3.497 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.695/13.41, allocations: 44.05 MB / 3.54 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/13.41, allocations: 261.3 kB / 3.54 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.522/16.93, allocations: 0 / 3.54 GB, free: 116.4 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)