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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000833/0.0008332, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008922/0.0008925, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9653/0.9653, allocations: 135.3 MB / 426.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002911, allocations: 8 kB / 0.507 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1691, allocations: 82.32 MB / 0.5874 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.4745/0.6436, allocations: 152.4 MB / 0.7362 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004637/0.6483, allocations: 2.083 MB / 0.7382 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000715/0.6491, allocations: 14.91 kB / 0.7382 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.6499, allocations: 152.8 kB / 0.7384 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.652, allocations: 0.4978 MB / 0.7389 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.6537, allocations: 369.3 kB / 0.7392 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005021/0.6587, allocations: 3.26 MB / 0.7424 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/0.6623, allocations: 2.29 MB / 0.7446 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.6655, allocations: 1.06 MB / 0.7457 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.6674, allocations: 0.8546 MB / 0.7465 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000586/0.6681, allocations: 45.78 kB / 0.7466 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.6712, allocations: 0.6012 MB / 0.7471 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008884/0.6721, allocations: 324 kB / 0.7474 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.6732, allocations: 248 kB / 0.7477 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.6756, allocations: 1.177 MB / 0.7488 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.6757, allocations: 0 / 0.7488 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6757, allocations: 0 / 0.7488 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.757e-05/0.6758, allocations: 0 / 0.7488 GB, free: 7.805 MB / 0.5606 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.003852/0.6796, allocations: 1.522 MB / 0.7503 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.6797, allocations: 8.031 kB / 0.7503 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008617/0.6806, allocations: 203.1 kB / 0.7505 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.6821, allocations: 0.8717 MB / 0.7514 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.6822, allocations: 49.31 kB / 0.7514 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6823, allocations: 60 kB / 0.7515 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.6839, allocations: 0.9909 MB / 0.7524 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.6839, allocations: 3.938 kB / 0.7525 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.684, allocations: 24 kB / 0.7525 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.684, allocations: 16 kB / 0.7525 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.6853, allocations: 0.8077 MB / 0.7533 GB, free: 3.066 MB / 0.5606 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.004895/0.6902, allocations: 4.809 MB / 0.758 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/0.6929, allocations: 4.013 MB / 0.7619 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.6935, allocations: 362.6 kB / 0.7622 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/0.6938, allocations: 202.5 kB / 0.7624 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005636/0.6944, allocations: 318.8 kB / 0.7627 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003852/0.6948, allocations: 31.69 kB / 0.7628 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.485e-06/0.6948, allocations: 4 kB / 0.7628 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.00446/0.6992, allocations: 1.508 MB / 0.7642 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.6993, allocations: 81.11 kB / 0.7643 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.7008, allocations: 1.177 MB / 0.7655 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.7009, allocations: 37.7 kB / 0.7655 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.7014, allocations: 0.5161 MB / 0.766 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.7015, allocations: 122.2 kB / 0.7661 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.7015, allocations: 8 kB / 0.7661 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7017, allocations: 330 kB / 0.7664 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.7021, allocations: 205 kB / 0.7666 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.7027, allocations: 0.5371 MB / 0.7672 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.7032, allocations: 317.6 kB / 0.7675 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7032, allocations: 0 / 0.7675 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002285/0.7055, allocations: 1.041 MB / 0.7685 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.7057, allocations: 283.3 kB / 0.7688 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7058, allocations: 4 kB / 0.7688 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.7072, allocations: 390.3 kB / 0.7691 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.7077, allocations: 123.7 kB / 0.7693 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.7095, allocations: 1.667 MB / 0.7709 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.7105, allocations: 95.89 kB / 0.771 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.7106, allocations: 27.98 kB / 0.771 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.7106, allocations: 4 kB / 0.771 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/0.7121, allocations: 0.7957 MB / 0.7718 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7121, allocations: 4 kB / 0.7718 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/0.7127, allocations: 220.7 kB / 0.772 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.7131, allocations: 107.9 kB / 0.7721 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.7169, allocations: 2.945 MB / 0.775 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009985/0.718, allocations: 103.7 kB / 0.7751 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.718, allocations: 20 kB / 0.7751 GB, free: 10.98 MB / 0.5919 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 (38): * 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): 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.0007622/0.7188, allocations: 484.8 kB / 0.7756 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.7191, allocations: 110.7 kB / 0.7757 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.7207, allocations: 0.7893 MB / 0.7764 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.7207, allocations: 4 kB / 0.7764 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.7207, allocations: 0 / 0.7764 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7208, allocations: 0 / 0.7764 GB, free: 9.59 MB / 0.5919 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 postOpt removeSimpleEquations (simulation): time 0.003052/0.7238, allocations: 2.133 MB / 0.7785 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.7238, allocations: 0 / 0.7785 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.7242, allocations: 92.14 kB / 0.7786 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004037/0.7246, allocations: 203.2 kB / 0.7788 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.7246, allocations: 11.98 kB / 0.7788 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.7257, allocations: 1.471 MB / 0.7802 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7257, allocations: 4.031 kB / 0.7802 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.727, allocations: 0.8556 MB / 0.7811 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.7274, allocations: 235.7 kB / 0.7813 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.7276, allocations: 8 kB / 0.7813 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006869/0.7283, allocations: 79.75 kB / 0.7814 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.7284, allocations: 31.92 kB / 0.7814 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.7284, allocations: 19.98 kB / 0.7814 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001194/0.7296, allocations: 0.8248 MB / 0.7822 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7296, allocations: 0 / 0.7822 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001555/0.7312, allocations: 0.507 MB / 0.7827 GB, free: 2.871 MB / 0.5919 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 (25): * Single equations (assignments): 21 * 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.0004697/0.7316, allocations: 191.8 kB / 0.7829 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00307/0.7347, allocations: 1.292 MB / 0.7842 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.7347, allocations: 4 kB / 0.7842 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.7356, allocations: 313.1 kB / 0.7845 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/0.7392, allocations: 0.65 MB / 0.7851 GB, free: 420 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.7432, allocations: 2.204 MB / 0.7873 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7444, allocations: 1.216 MB / 0.7885 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001424/0.7459, allocations: 356.4 kB / 0.7888 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.7461, allocations: 75.42 kB / 0.7889 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.7461, allocations: 0 / 0.7889 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of Templates: time 0.03786/0.784, allocations: 20.65 MB / 0.809 GB, free: 8.074 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)