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.0008079/0.000808, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005402/0.005402, allocations: 168.6 kB / 16.26 MB, free: 6.656 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9296/0.9296, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003276, allocations: 17.02 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1696, allocations: 82.3 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.4209/0.5906, allocations: 157.3 MB / 0.7416 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005443/0.5961, allocations: 3.589 MB / 0.7451 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.5966, allocations: 12.25 kB / 0.7451 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005666/0.5972, allocations: 144.4 kB / 0.7452 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.5985, allocations: 498 kB / 0.7457 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.5998, allocations: 387.1 kB / 0.7461 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003402/0.6032, allocations: 3.497 MB / 0.7495 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.6043, allocations: 0.7464 MB / 0.7502 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.606, allocations: 0.9064 MB / 0.7511 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000891/0.6069, allocations: 0.7114 MB / 0.7518 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.166e-05/0.607, allocations: 34.62 kB / 0.7518 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.6087, allocations: 0.801 MB / 0.7526 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.609, allocations: 279.6 kB / 0.7529 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006352/0.6097, allocations: 0.5304 MB / 0.7534 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.6112, allocations: 1.374 MB / 0.7547 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6113, allocations: 0 / 0.7547 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6113, allocations: 0 / 0.7547 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.6113, allocations: 0 / 0.7547 GB, free: 1.914 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.002163/0.6134, allocations: 1.272 MB / 0.756 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.6135, allocations: 8.031 kB / 0.756 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007924/0.6143, allocations: 194.4 kB / 0.7562 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.6155, allocations: 0.7985 MB / 0.7569 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.6156, allocations: 48.98 kB / 0.757 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.6157, allocations: 60 kB / 0.757 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.6169, allocations: 0.7938 MB / 0.7578 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6169, allocations: 7.938 kB / 0.7578 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.617, allocations: 20 kB / 0.7578 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.617, allocations: 19.94 kB / 0.7579 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.6179, allocations: 0.5423 MB / 0.7584 GB, free: 13.96 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.00459/0.6225, allocations: 4.599 MB / 0.7629 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/0.6233, allocations: 422.4 kB / 0.7633 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.6238, allocations: 261.6 kB / 0.7635 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.6241, allocations: 194.2 kB / 0.7637 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/0.6247, allocations: 302.2 kB / 0.764 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.6247, allocations: 0 / 0.764 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.005179/0.6299, allocations: 1.677 MB / 0.7657 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.6299, allocations: 85.09 kB / 0.7657 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.6314, allocations: 1.118 MB / 0.7668 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.363e-05/0.6315, allocations: 37.7 kB / 0.7669 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004714/0.632, allocations: 493.1 kB / 0.7673 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.6321, allocations: 110.5 kB / 0.7674 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.6322, allocations: 41.7 kB / 0.7675 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6323, allocations: 326 kB / 0.7678 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.6327, allocations: 212.7 kB / 0.768 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.6333, allocations: 0.5214 MB / 0.7685 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.6342, allocations: 0.6424 MB / 0.7691 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.6342, allocations: 4 kB / 0.7691 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002318/0.6365, allocations: 1.058 MB / 0.7702 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.6368, allocations: 275.1 kB / 0.7704 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6368, allocations: 8 kB / 0.7704 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.6381, allocations: 378.9 kB / 0.7708 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.6383, allocations: 63.84 kB / 0.7709 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.64, allocations: 1.095 MB / 0.7719 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009244/0.6409, allocations: 96.12 kB / 0.772 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.641, allocations: 27.98 kB / 0.772 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.641, allocations: 6.5 kB / 0.772 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001365/0.6424, allocations: 0.7294 MB / 0.7728 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6424, allocations: 8.188 kB / 0.7728 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/0.6429, allocations: 215 kB / 0.773 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.6431, allocations: 79.7 kB / 0.773 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.6468, allocations: 3.001 MB / 0.776 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008908/0.6477, allocations: 83.69 kB / 0.7761 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.6478, allocations: 24 kB / 0.7761 GB, free: 10.84 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.0006281/0.6484, allocations: 481.7 kB / 0.7765 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.6485, allocations: 98.78 kB / 0.7766 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.6499, allocations: 0.7219 MB / 0.7773 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.6499, allocations: 3.938 kB / 0.7773 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6499, allocations: 4 kB / 0.7773 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6499, allocations: 4 kB / 0.7774 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.6524, allocations: 1.621 MB / 0.7789 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6525, allocations: 0 / 0.7789 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.6526, allocations: 27.92 kB / 0.779 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/0.6531, allocations: 242.4 kB / 0.7792 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.6531, allocations: 8.219 kB / 0.7792 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.6542, allocations: 1.034 MB / 0.7802 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6542, allocations: 0 / 0.7802 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.6555, allocations: 0.8526 MB / 0.781 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.6559, allocations: 215.7 kB / 0.7812 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.922e-05/0.656, allocations: 15.98 kB / 0.7813 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.6565, allocations: 51.89 kB / 0.7813 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.6566, allocations: 31.91 kB / 0.7813 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.6566, allocations: 12 kB / 0.7814 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001038/0.6576, allocations: 0.7916 MB / 0.7821 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6576, allocations: 0 / 0.7821 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001318/0.659, allocations: 431.4 kB / 0.7825 GB, free: 4.031 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.0004169/0.6594, allocations: 179.8 kB / 0.7827 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002535/0.6619, allocations: 1.214 MB / 0.7839 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.662, allocations: 0 / 0.7839 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.6626, allocations: 291.5 kB / 0.7842 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.665, allocations: 446.8 kB / 0.7846 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.6683, allocations: 2.098 MB / 0.7866 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008387/0.6692, allocations: 1.181 MB / 0.7878 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009389/0.6701, allocations: 303.9 kB / 0.7881 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.6703, allocations: 67.42 kB / 0.7882 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.6703, allocations: 0 / 0.7882 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of Templates: time 0.03193/0.7022, allocations: 18.38 MB / 0.8061 GB, free: 11.98 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)