Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.001531/0.001531, allocations: 169 kB / 12.72 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.792/0.792, 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.544/1.544, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.0009817/0.0009818, allocations: 87.91 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.678e-05, allocations: 3.906 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1818, allocations: 82.3 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.483/4.665, allocations: 1.832 GB / 2.473 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/4.666, allocations: 87.95 kB / 2.473 GB, free: 100 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.961/8.627, allocations: 1.08 GB / 3.552 GB, free: 65.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.387e-06/8.627, allocations: 3.938 kB / 3.552 GB, free: 65.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001174/8.627, allocations: 31.98 kB / 3.553 GB, free: 65.38 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004358/8.631, allocations: 1.286 MB / 3.554 GB, free: 64.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/8.631, allocations: 8.031 kB / 3.554 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/8.632, allocations: 102.5 kB / 3.554 GB, free: 63.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/8.633, allocations: 202.3 kB / 3.554 GB, free: 63.72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/8.636, allocations: 1.425 MB / 3.555 GB, free: 62.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/8.636, allocations: 49.3 kB / 3.556 GB, free: 62.19 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/8.636, allocations: 68 kB / 3.556 GB, free: 62.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/8.637, allocations: 0.9237 MB / 3.556 GB, free: 61.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/8.637, allocations: 4 kB / 3.556 GB, free: 61.12 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/8.637, allocations: 23.94 kB / 3.557 GB, free: 61.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/8.637, allocations: 16 kB / 3.557 GB, free: 61.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/8.638, allocations: 0.7065 MB / 3.557 GB, free: 60.37 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.003574/8.642, allocations: 4.737 MB / 3.562 GB, free: 55.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/8.643, allocations: 4.018 MB / 3.566 GB, free: 50.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/8.644, allocations: 318.1 kB / 3.566 GB, free: 50.15 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/8.644, allocations: 198.2 kB / 3.566 GB, free: 49.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/8.644, allocations: 309.9 kB / 3.567 GB, free: 49.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003349/8.645, allocations: 31.69 kB / 3.567 GB, free: 49.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.615e-06/8.645, allocations: 0 / 3.567 GB, free: 49.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001245/8.646, allocations: 0.7294 MB / 3.567 GB, free: 48.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/8.646, allocations: 85.11 kB / 3.567 GB, free: 48.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/8.647, allocations: 1.031 MB / 3.568 GB, free: 47.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/8.647, allocations: 37.69 kB / 3.568 GB, free: 47.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/8.648, allocations: 0.5166 MB / 3.569 GB, free: 47.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/8.648, allocations: 122.2 kB / 3.569 GB, free: 47 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/8.648, allocations: 12 kB / 3.569 GB, free: 46.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.548e-05/8.648, allocations: 326 kB / 3.569 GB, free: 46.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/8.648, allocations: 189 kB / 3.57 GB, free: 46.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/8.648, allocations: 0.5249 MB / 3.57 GB, free: 45.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/8.649, allocations: 311.4 kB / 3.57 GB, free: 45.49 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/8.649, allocations: 4 kB / 3.57 GB, free: 45.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001146/8.65, allocations: 0.9195 MB / 3.571 GB, free: 44.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004418/8.65, allocations: 2.222 MB / 3.573 GB, free: 42.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/8.65, allocations: 8 kB / 3.573 GB, free: 42.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/8.651, allocations: 284.1 kB / 3.574 GB, free: 41.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/8.651, allocations: 103.7 kB / 3.574 GB, free: 41.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/8.653, allocations: 1.653 MB / 3.575 GB, free: 40.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/8.654, allocations: 99.83 kB / 3.576 GB, free: 39.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/8.654, allocations: 35.98 kB / 3.576 GB, free: 39.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/8.654, allocations: 9.203 kB / 3.576 GB, free: 39.93 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/8.655, allocations: 0.744 MB / 3.576 GB, free: 39.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/8.655, allocations: 7.984 kB / 3.576 GB, free: 39.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/8.656, allocations: 218.9 kB / 3.576 GB, free: 38.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/8.656, allocations: 87.69 kB / 3.577 GB, free: 38.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/8.659, allocations: 2.899 MB / 3.579 GB, free: 35.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009459/8.66, allocations: 107.7 kB / 3.58 GB, free: 35.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/8.66, allocations: 24 kB / 3.58 GB, free: 35.7 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * 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 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001531/8.66, allocations: 145 kB / 3.58 GB, free: 35.55 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/8.66, allocations: 102.7 kB / 3.58 GB, free: 35.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/8.661, allocations: 0.7518 MB / 3.581 GB, free: 34.69 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/8.661, allocations: 4 kB / 3.581 GB, free: 34.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/8.661, allocations: 4 kB / 3.581 GB, free: 34.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/8.661, allocations: 3.984 kB / 3.581 GB, free: 34.68 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.002424/8.664, allocations: 2.114 MB / 3.583 GB, free: 32.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/8.664, allocations: 4 kB / 3.583 GB, free: 32.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/8.664, allocations: 55.91 kB / 3.583 GB, free: 32.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/8.664, allocations: 205 kB / 3.583 GB, free: 32.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/8.664, allocations: 12 kB / 3.583 GB, free: 32.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/8.665, allocations: 1.466 MB / 3.584 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/8.665, allocations: 4.031 kB / 3.584 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009345/8.666, allocations: 0.9235 MB / 3.585 GB, free: 29.62 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/8.667, allocations: 235.7 kB / 3.585 GB, free: 29.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/8.667, allocations: 8 kB / 3.585 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/8.667, allocations: 79.75 kB / 3.585 GB, free: 29.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/8.668, allocations: 39.89 kB / 3.586 GB, free: 29.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/8.668, allocations: 12 kB / 3.586 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009557/8.669, allocations: 0.8104 MB / 3.586 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/8.669, allocations: 0 / 3.586 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001877/8.67, allocations: 0.6011 MB / 3.587 GB, free: 27.81 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002743/8.673, allocations: 2.911 MB / 3.59 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00242/8.676, allocations: 1.24 MB / 3.591 GB, free: 23.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/8.676, allocations: 0 / 3.591 GB, free: 23.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005391/8.676, allocations: 304.1 kB / 3.591 GB, free: 23.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/8.679, allocations: 0.6408 MB / 3.592 GB, free: 22.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/8.682, allocations: 1.77 MB / 3.594 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005342/8.683, allocations: 1.239 MB / 3.595 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001883/8.685, allocations: 0.8162 MB / 3.596 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/8.685, allocations: 335.3 kB / 3.596 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/8.685, allocations: 0 / 3.596 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5279/9.213, allocations: 51.38 MB / 3.646 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/9.213, allocations: 238.8 kB / 3.646 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.784/13, allocations: 3.703 kB / 3.646 GB, free: 158.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)