Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008146/0.0008147, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008572/0.0008572, allocations: 177.3 kB / 15.94 MB, free: 228 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.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8556/0.8556, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004483, allocations: 8 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1557, allocations: 82.32 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.3627/0.5184, allocations: 140.5 MB / 0.7244 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.5219, allocations: 2.158 MB / 0.7265 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.5221, allocations: 10.56 kB / 0.7265 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.5228, allocations: 245 kB / 0.7267 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.5244, allocations: 0.6915 MB / 0.7274 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.5256, allocations: 452.8 kB / 0.7278 GB, free: 6.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.5275, allocations: 1.636 MB / 0.7294 GB, free: 5.555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002743/0.5303, allocations: 2.321 MB / 0.7317 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.5316, allocations: 0.8582 MB / 0.7325 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006668/0.5323, allocations: 0.6043 MB / 0.7331 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.442e-05/0.5324, allocations: 49.31 kB / 0.7332 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.5336, allocations: 0.6214 MB / 0.7338 GB, free: 3.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.5339, allocations: 304.3 kB / 0.7341 GB, free: 3.789 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.5341, allocations: 245.9 kB / 0.7343 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.5352, allocations: 1.176 MB / 0.7354 GB, free: 3.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.5352, allocations: 0 / 0.7354 GB, free: 3.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5352, allocations: 4 kB / 0.7354 GB, free: 3.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.5352, allocations: 0 / 0.7354 GB, free: 3.383 MB / 0.545 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.002293/0.5375, allocations: 1.509 MB / 0.7369 GB, free: 2.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.5375, allocations: 12.72 kB / 0.7369 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007038/0.5383, allocations: 203 kB / 0.7371 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.5397, allocations: 0.8691 MB / 0.738 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.5397, allocations: 45.31 kB / 0.738 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.815e-05/0.5398, allocations: 64 kB / 0.7381 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.5411, allocations: 0.9916 MB / 0.739 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5412, allocations: 3.938 kB / 0.739 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.5412, allocations: 24 kB / 0.7391 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.5413, allocations: 12 kB / 0.7391 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.5424, allocations: 0.8141 MB / 0.7399 GB, free: 108 kB / 0.545 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.004059/0.5465, allocations: 4.805 MB / 0.7446 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.5488, allocations: 4.033 MB / 0.7485 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.063e-05/0.5489, allocations: 12.27 kB / 0.7485 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004979/0.5494, allocations: 330 kB / 0.7488 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003217/0.5497, allocations: 27.69 kB / 0.7489 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.5498, allocations: 0 / 0.7489 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.004113/0.5539, allocations: 1.496 MB / 0.7503 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.5539, allocations: 122.7 kB / 0.7504 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.5553, allocations: 1.173 MB / 0.7516 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.5553, allocations: 37.7 kB / 0.7516 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.5557, allocations: 0.5083 MB / 0.7521 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.542e-05/0.5558, allocations: 122.3 kB / 0.7522 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.5558, allocations: 12 kB / 0.7522 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5559, allocations: 326 kB / 0.7526 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.5563, allocations: 213 kB / 0.7528 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.5568, allocations: 0.5258 MB / 0.7533 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.5573, allocations: 331.5 kB / 0.7536 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5573, allocations: 0 / 0.7536 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002011/0.5593, allocations: 1.045 MB / 0.7546 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006849/0.56, allocations: 2.142 MB / 0.7567 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.56, allocations: 8 kB / 0.7567 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.5613, allocations: 378.5 kB / 0.7571 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.5618, allocations: 127.8 kB / 0.7572 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.5633, allocations: 1.665 MB / 0.7588 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.5642, allocations: 105.2 kB / 0.7589 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.5642, allocations: 24 kB / 0.7589 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.5643, allocations: 4 kB / 0.7589 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/0.5656, allocations: 0.7788 MB / 0.7597 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5656, allocations: 8 kB / 0.7597 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/0.5661, allocations: 223 kB / 0.7599 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.5665, allocations: 107.8 kB / 0.76 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.5698, allocations: 3.004 MB / 0.763 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/0.5706, allocations: 99.8 kB / 0.7631 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.5707, allocations: 24 kB / 0.7631 GB, free: 6.566 MB / 0.5762 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.0005577/0.5713, allocations: 484.8 kB / 0.7635 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5714, allocations: 106.7 kB / 0.7636 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.5726, allocations: 0.7647 MB / 0.7644 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5726, allocations: 4 kB / 0.7644 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5726, allocations: 0 / 0.7644 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.5726, allocations: 4 kB / 0.7644 GB, free: 5.195 MB / 0.5762 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.002676/0.5753, allocations: 2.202 MB / 0.7665 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5753, allocations: 4 kB / 0.7665 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.5757, allocations: 88.09 kB / 0.7666 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/0.5761, allocations: 210.4 kB / 0.7668 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.5761, allocations: 8 kB / 0.7668 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.5772, allocations: 1.474 MB / 0.7683 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5772, allocations: 0 / 0.7683 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.5784, allocations: 0.9447 MB / 0.7692 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.5788, allocations: 235.7 kB / 0.7694 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.5789, allocations: 8 kB / 0.7694 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.5795, allocations: 71.77 kB / 0.7695 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.5796, allocations: 39.91 kB / 0.7695 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.5796, allocations: 15.98 kB / 0.7696 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009452/0.5805, allocations: 0.8249 MB / 0.7704 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5806, allocations: 0 / 0.7704 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001251/0.5818, allocations: 0.5071 MB / 0.7709 GB, free: 14.28 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.000365/0.5822, allocations: 199.6 kB / 0.771 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.5846, allocations: 1.29 MB / 0.7723 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5846, allocations: 0 / 0.7723 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/0.5853, allocations: 320.1 kB / 0.7726 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/0.5881, allocations: 0.6522 MB / 0.7732 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.5908, allocations: 2.211 MB / 0.7754 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006768/0.5915, allocations: 1.232 MB / 0.7766 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008541/0.5923, allocations: 356.4 kB / 0.777 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.5925, allocations: 71.42 kB / 0.777 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.5925, allocations: 4 kB / 0.777 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of Templates: time 0.02821/0.6207, allocations: 20.64 MB / 0.7972 GB, free: 3.457 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) Environment - environmentSimulation: