Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006068/0.006068, allocations: 100.8 kB / 15.87 MB, free: 6.332 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.001265/0.001265, allocations: 198.9 kB / 16.79 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.928/0.928, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.66 kB / 0.5053 GB, free: 5.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1676, allocations: 80.92 MB / 0.5843 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.489/0.6566, allocations: 159.3 MB / 0.7399 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004842/0.6615, allocations: 3.64 MB / 0.7435 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.662, allocations: 13.94 kB / 0.7435 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006158/0.6627, allocations: 127.2 kB / 0.7436 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.6641, allocations: 0.4987 MB / 0.7441 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.6654, allocations: 397.8 kB / 0.7445 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003325/0.6687, allocations: 3.489 MB / 0.7479 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.6698, allocations: 0.762 MB / 0.7487 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.6717, allocations: 0.9178 MB / 0.7496 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009606/0.6726, allocations: 0.7294 MB / 0.7503 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.6728, allocations: 38.91 kB / 0.7503 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.6745, allocations: 0.8077 MB / 0.7511 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.6748, allocations: 278.9 kB / 0.7514 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006778/0.6755, allocations: 0.5128 MB / 0.7519 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.6766, allocations: 1.021 MB / 0.7529 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6766, allocations: 0 / 0.7529 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6766, allocations: 0 / 0.7529 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.6767, allocations: 0 / 0.7529 GB, free: 0.8516 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002267/0.6789, allocations: 1.462 MB / 0.7543 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.679, allocations: 15.97 kB / 0.7543 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007621/0.6798, allocations: 186.5 kB / 0.7545 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.6809, allocations: 0.7984 MB / 0.7553 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.681, allocations: 48.98 kB / 0.7553 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.6811, allocations: 60 kB / 0.7554 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.6822, allocations: 0.7888 MB / 0.7561 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.6822, allocations: 3.938 kB / 0.7561 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.6823, allocations: 24 kB / 0.7562 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.6823, allocations: 19.92 kB / 0.7562 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008694/0.6832, allocations: 0.5266 MB / 0.7567 GB, free: 12.73 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 preOpt removeSimpleEquations (simulation): time 0.003954/0.6872, allocations: 4.591 MB / 0.7612 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/0.6879, allocations: 417.5 kB / 0.7616 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.6883, allocations: 250.9 kB / 0.7618 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.6886, allocations: 194.2 kB / 0.762 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005069/0.6891, allocations: 302.1 kB / 0.7623 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.524e-06/0.6891, allocations: 0 / 0.7623 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.005002/0.6941, allocations: 1.633 MB / 0.7639 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.6942, allocations: 89.09 kB / 0.764 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.6956, allocations: 1.118 MB / 0.7651 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.6957, allocations: 37.7 kB / 0.7651 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.6961, allocations: 493.2 kB / 0.7656 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.405e-05/0.6962, allocations: 106.5 kB / 0.7657 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.6964, allocations: 110 kB / 0.7658 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6965, allocations: 322 kB / 0.7661 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.6969, allocations: 210.4 kB / 0.7663 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/0.6975, allocations: 0.5258 MB / 0.7668 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/0.6983, allocations: 0.6313 MB / 0.7674 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.6984, allocations: 4 kB / 0.7674 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002294/0.7006, allocations: 1.047 MB / 0.7684 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.7007, allocations: 38.27 kB / 0.7685 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.7007, allocations: 4 kB / 0.7685 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.7021, allocations: 386.7 kB / 0.7688 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.7023, allocations: 63.91 kB / 0.7689 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.7037, allocations: 1.09 MB / 0.77 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/0.7046, allocations: 91.45 kB / 0.7701 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/0.7047, allocations: 28.09 kB / 0.7701 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007947/0.7055, allocations: 0.4968 MB / 0.7706 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005486/0.7061, allocations: 489.9 kB / 0.771 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007495/0.7068, allocations: 0.5613 MB / 0.7716 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.7068, allocations: 0 / 0.7716 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001621/0.7085, allocations: 0.8303 MB / 0.7724 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.7085, allocations: 39.89 kB / 0.7724 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7085, allocations: 7.984 kB / 0.7724 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.7091, allocations: 221.2 kB / 0.7726 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.7093, allocations: 59.84 kB / 0.7727 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.713, allocations: 2.998 MB / 0.7756 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/0.7139, allocations: 87.94 kB / 0.7757 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.714, allocations: 28 kB / 0.7757 GB, free: 8.059 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.7142, allocations: 217.2 kB / 0.7759 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.7145, allocations: 98.78 kB / 0.776 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.7159, allocations: 0.7025 MB / 0.7767 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.7159, allocations: 4 kB / 0.7767 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7159, allocations: 4 kB / 0.7767 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.7159, allocations: 3.984 kB / 0.7767 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.7186, allocations: 1.605 MB / 0.7783 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.7186, allocations: 0 / 0.7783 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.7187, allocations: 23.98 kB / 0.7783 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.7192, allocations: 247.8 kB / 0.7786 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.7193, allocations: 11.98 kB / 0.7786 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.7203, allocations: 1.032 MB / 0.7796 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7203, allocations: 96 / 0.7796 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.7216, allocations: 0.8218 MB / 0.7804 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.7221, allocations: 211.9 kB / 0.7806 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.7222, allocations: 11.98 kB / 0.7806 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.7228, allocations: 47.86 kB / 0.7806 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.7229, allocations: 31.84 kB / 0.7807 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.7229, allocations: 19.94 kB / 0.7807 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001091/0.724, allocations: 0.7877 MB / 0.7815 GB, free: 2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7241, allocations: 0 / 0.7815 GB, free: 2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001403/0.7255, allocations: 447.4 kB / 0.7819 GB, free: 1.562 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004846/0.726, allocations: 178 kB / 0.7821 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002518/0.7285, allocations: 1.194 MB / 0.7832 GB, free: 156 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7285, allocations: 0 / 0.7832 GB, free: 156 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.7291, allocations: 268.3 kB / 0.7835 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.7314, allocations: 457.6 kB / 0.7839 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.7347, allocations: 2.126 MB / 0.786 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.7355, allocations: 1.192 MB / 0.7872 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.7357, allocations: 63.42 kB / 0.7872 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.7357, allocations: 0 / 0.7872 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of Templates: time 0.03082/0.7665, allocations: 20.52 MB / 0.8073 GB, free: 7.586 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)