Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.001439/0.001439, allocations: 175.2 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.7335/0.7335, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.582/1.582, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.0008969/0.000897, allocations: 85.69 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.104e-05, allocations: 3.531 kB / 0.5601 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.17, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.7/4.87, allocations: 1.835 GB / 2.475 GB, free: 97.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/4.871, allocations: 96.97 kB / 2.475 GB, free: 97.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.178/9.049, allocations: 1.089 GB / 3.564 GB, free: 52.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.282e-06/9.049, allocations: 0 / 3.564 GB, free: 52.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001635/9.049, allocations: 31.98 kB / 3.564 GB, free: 52.37 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004109/9.053, allocations: 1.279 MB / 3.566 GB, free: 51.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/9.053, allocations: 8.031 kB / 3.566 GB, free: 51.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003122/9.054, allocations: 102.5 kB / 3.566 GB, free: 50.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/9.055, allocations: 202.3 kB / 3.566 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004081/9.059, allocations: 1.457 MB / 3.567 GB, free: 49.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/9.059, allocations: 45.31 kB / 3.567 GB, free: 49.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/9.059, allocations: 67.98 kB / 3.567 GB, free: 49.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/9.06, allocations: 0.9216 MB / 3.568 GB, free: 48.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/9.061, allocations: 7.922 kB / 3.568 GB, free: 48.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/9.061, allocations: 24 kB / 3.568 GB, free: 48.06 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/9.061, allocations: 12 kB / 3.568 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009854/9.062, allocations: 0.7064 MB / 3.569 GB, free: 47.34 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.004834/9.066, allocations: 4.706 MB / 3.574 GB, free: 42.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/9.068, allocations: 3.963 MB / 3.577 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/9.069, allocations: 329.3 kB / 3.578 GB, free: 37.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003344/9.069, allocations: 194.2 kB / 3.578 GB, free: 36.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004636/9.07, allocations: 300.9 kB / 3.578 GB, free: 36.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006946/9.07, allocations: 31.75 kB / 3.578 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 6.141e-06/9.07, allocations: 4 kB / 3.578 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001775/9.072, allocations: 0.7565 MB / 3.579 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/9.072, allocations: 81.11 kB / 3.579 GB, free: 35.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/9.074, allocations: 1.039 MB / 3.58 GB, free: 34.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/9.074, allocations: 41.69 kB / 3.58 GB, free: 34.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/9.074, allocations: 0.5127 MB / 3.581 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/9.074, allocations: 130.2 kB / 3.581 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/9.074, allocations: 4 kB / 3.581 GB, free: 34.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/9.075, allocations: 330 kB / 3.581 GB, free: 33.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/9.075, allocations: 189 kB / 3.581 GB, free: 33.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/9.075, allocations: 0.5327 MB / 3.582 GB, free: 32.81 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/9.076, allocations: 303.3 kB / 3.582 GB, free: 32.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/9.076, allocations: 4 kB / 3.582 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001404/9.077, allocations: 0.959 MB / 3.583 GB, free: 31.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005108/9.078, allocations: 2.225 MB / 3.585 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/9.078, allocations: 8.141 kB / 3.585 GB, free: 29.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/9.078, allocations: 325.5 kB / 3.586 GB, free: 28.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/9.079, allocations: 83.86 kB / 3.586 GB, free: 28.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/9.08, allocations: 1.124 MB / 3.587 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/9.081, allocations: 107.7 kB / 3.587 GB, free: 27.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/9.081, allocations: 27.98 kB / 3.587 GB, free: 27.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/9.081, allocations: 4.938 kB / 3.587 GB, free: 27.44 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/9.082, allocations: 0.7906 MB / 3.588 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/9.082, allocations: 4.109 kB / 3.588 GB, free: 26.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/9.083, allocations: 248.7 kB / 3.588 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/9.083, allocations: 75.88 kB / 3.588 GB, free: 26.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/9.087, allocations: 3.092 MB / 3.591 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/9.088, allocations: 103.8 kB / 3.591 GB, free: 22.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/9.088, allocations: 24 kB / 3.591 GB, free: 22.96 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (37): * Single equations (assignments): 35 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/9.088, allocations: 142.5 kB / 3.591 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/9.088, allocations: 110.7 kB / 3.591 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/9.089, allocations: 0.7775 MB / 3.592 GB, free: 21.92 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/9.089, allocations: 4 kB / 3.592 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/9.089, allocations: 4 kB / 3.592 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/9.089, allocations: 3.984 kB / 3.592 GB, free: 21.91 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 postOpt removeSimpleEquations (simulation): time 0.002947/9.092, allocations: 2.153 MB / 3.594 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/9.092, allocations: 0 / 3.594 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/9.093, allocations: 56.16 kB / 3.594 GB, free: 19.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/9.093, allocations: 245.8 kB / 3.594 GB, free: 19.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/9.093, allocations: 11.98 kB / 3.594 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008759/9.094, allocations: 0.9288 MB / 3.595 GB, free: 18.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/9.094, allocations: 7.938 kB / 3.595 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/9.095, allocations: 0.9545 MB / 3.596 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006261/9.096, allocations: 239.6 kB / 3.597 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/9.096, allocations: 8 kB / 3.597 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/9.097, allocations: 83.75 kB / 3.597 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/9.097, allocations: 35.95 kB / 3.597 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/9.097, allocations: 12.05 kB / 3.597 GB, free: 16.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001173/9.098, allocations: 0.8184 MB / 3.597 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/9.098, allocations: 0 / 3.597 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00233/9.101, allocations: 0.605 MB / 3.598 GB, free: 15.48 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (23): * Single equations (assignments): 20 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003023/9.104, allocations: 2.95 MB / 3.601 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002668/9.106, allocations: 1.258 MB / 3.602 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/9.107, allocations: 0.5625 kB / 3.602 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000559/9.107, allocations: 307.9 kB / 3.602 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/9.111, allocations: 0.6498 MB / 3.603 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/9.115, allocations: 1.775 MB / 3.605 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/9.116, allocations: 1.234 MB / 3.606 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002118/9.118, allocations: 0.7967 MB / 3.607 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/9.118, allocations: 335.3 kB / 3.607 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of SimCode: time 1.273e-06/9.118, allocations: 4 kB / 3.607 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5563/9.675, allocations: 52.51 MB / 3.658 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/9.675, allocations: 220.6 kB / 3.659 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.746/13.42, allocations: 7.25 kB / 3.659 GB, free: 159.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)