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.001108/0.001108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001177/0.001177, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.8 kB / 0.5047 GB, free: 5.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1933, allocations: 80.92 MB / 0.5837 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.4378/0.6312, allocations: 159.3 MB / 0.7393 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005334/0.6366, allocations: 3.646 MB / 0.7429 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004496/0.6371, allocations: 13.5 kB / 0.7429 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006229/0.6377, allocations: 132.5 kB / 0.743 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.6392, allocations: 0.4967 MB / 0.7435 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.6404, allocations: 395.4 kB / 0.7439 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003395/0.6438, allocations: 3.485 MB / 0.7473 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.6449, allocations: 0.762 MB / 0.748 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.6466, allocations: 0.9139 MB / 0.7489 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009113/0.6476, allocations: 0.7337 MB / 0.7496 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.647e-05/0.6477, allocations: 40.66 kB / 0.7497 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.6493, allocations: 0.8066 MB / 0.7505 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.6496, allocations: 286.8 kB / 0.7507 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006439/0.6503, allocations: 0.5089 MB / 0.7512 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.6519, allocations: 1.386 MB / 0.7526 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6519, allocations: 0 / 0.7526 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.163e-06/0.6519, allocations: 0 / 0.7526 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.6519, allocations: 0 / 0.7526 GB, free: 0.793 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.002361/0.6543, allocations: 1.458 MB / 0.754 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.6543, allocations: 12.03 kB / 0.754 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.6553, allocations: 186.5 kB / 0.7542 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.6565, allocations: 0.8061 MB / 0.755 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.6565, allocations: 45 kB / 0.755 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.6566, allocations: 60 kB / 0.7551 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.6578, allocations: 0.7888 MB / 0.7558 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.6578, allocations: 3.938 kB / 0.7558 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.6579, allocations: 24 kB / 0.7559 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.6579, allocations: 15.94 kB / 0.7559 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009355/0.6589, allocations: 0.5305 MB / 0.7564 GB, free: 12.68 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.004026/0.6629, allocations: 4.587 MB / 0.7609 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.6636, allocations: 418.8 kB / 0.7613 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.664, allocations: 250.4 kB / 0.7615 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.6643, allocations: 194.2 kB / 0.7617 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.6648, allocations: 294.2 kB / 0.762 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.245e-06/0.6649, allocations: 4 kB / 0.762 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.005179/0.67, allocations: 1.646 MB / 0.7636 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.6701, allocations: 81.11 kB / 0.7637 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.6715, allocations: 1.114 MB / 0.7648 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.6716, allocations: 37.92 kB / 0.7648 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.672, allocations: 0.4893 MB / 0.7653 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.182e-05/0.6721, allocations: 114.5 kB / 0.7654 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.6723, allocations: 110 kB / 0.7655 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6724, allocations: 322 kB / 0.7658 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.6728, allocations: 210.4 kB / 0.766 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/0.6734, allocations: 0.5311 MB / 0.7665 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008733/0.6743, allocations: 0.627 MB / 0.7671 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6743, allocations: 4 kB / 0.7671 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002208/0.6765, allocations: 1.046 MB / 0.7682 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.6766, allocations: 33.7 kB / 0.7682 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.6766, allocations: 8 kB / 0.7682 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.6779, allocations: 383.3 kB / 0.7686 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.6782, allocations: 59.91 kB / 0.7686 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.6796, allocations: 1.084 MB / 0.7697 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/0.6803, allocations: 95.41 kB / 0.7698 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.6804, allocations: 28 kB / 0.7698 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007178/0.6811, allocations: 0.5006 MB / 0.7703 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005449/0.6816, allocations: 489.9 kB / 0.7708 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007652/0.6824, allocations: 0.5536 MB / 0.7713 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.6824, allocations: 4 kB / 0.7713 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001547/0.684, allocations: 0.8299 MB / 0.7721 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.684, allocations: 37.7 kB / 0.7721 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.684, allocations: 4 kB / 0.7721 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005466/0.6846, allocations: 222.9 kB / 0.7724 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.6848, allocations: 59.84 kB / 0.7724 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.6884, allocations: 2.992 MB / 0.7753 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000891/0.6893, allocations: 88.02 kB / 0.7754 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.6894, allocations: 27.92 kB / 0.7754 GB, free: 8.008 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.0002492/0.6896, allocations: 224.8 kB / 0.7757 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6898, allocations: 98.97 kB / 0.7758 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.6911, allocations: 0.6986 MB / 0.7764 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.6912, allocations: 7.938 kB / 0.7764 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6912, allocations: 3.938 kB / 0.7765 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6912, allocations: 3.938 kB / 0.7765 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.6936, allocations: 1.611 MB / 0.778 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6936, allocations: 0 / 0.778 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.6938, allocations: 27.97 kB / 0.7781 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.6943, allocations: 248.2 kB / 0.7783 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.6943, allocations: 8 kB / 0.7783 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.6954, allocations: 1.025 MB / 0.7793 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6954, allocations: 4.031 kB / 0.7793 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.6967, allocations: 0.8218 MB / 0.7801 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.697, allocations: 215.9 kB / 0.7803 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6971, allocations: 8 kB / 0.7803 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/0.6976, allocations: 47.86 kB / 0.7804 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.6977, allocations: 39.83 kB / 0.7804 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.6978, allocations: 12 kB / 0.7804 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009977/0.6988, allocations: 0.7877 MB / 0.7812 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6988, allocations: 4 kB / 0.7812 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001378/0.7001, allocations: 443.4 kB / 0.7816 GB, free: 1.504 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.0004865/0.7006, allocations: 162.4 kB / 0.7818 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002648/0.7033, allocations: 1.191 MB / 0.7829 GB, free: 120 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7033, allocations: 0 / 0.7829 GB, free: 120 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006833/0.704, allocations: 283.5 kB / 0.7832 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.7062, allocations: 461.1 kB / 0.7836 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.7096, allocations: 2.087 MB / 0.7857 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/0.7104, allocations: 1.189 MB / 0.7868 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009375/0.7114, allocations: 303.9 kB / 0.7871 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.7115, allocations: 63.42 kB / 0.7872 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.7115, allocations: 4 kB / 0.7872 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.03186/0.7434, allocations: 18.56 MB / 0.8053 GB, free: 9.324 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)