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.005251/0.005251, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001167/0.001167, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.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.9306/0.9306, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.449, allocations: 80.91 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1851/0.6341, allocations: 161.6 MB / 0.8225 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.6393, allocations: 3.611 MB / 0.826 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.6397, allocations: 11.94 kB / 0.826 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.6403, allocations: 162.9 kB / 0.8262 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.6417, allocations: 0.525 MB / 0.8267 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.6428, allocations: 435.2 kB / 0.8271 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002636/0.6455, allocations: 2.539 MB / 0.8296 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.6466, allocations: 0.941 MB / 0.8305 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.6481, allocations: 1.028 MB / 0.8315 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008074/0.6489, allocations: 0.7079 MB / 0.8322 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.6491, allocations: 56 kB / 0.8323 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.6504, allocations: 0.7406 MB / 0.833 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.6507, allocations: 314.9 kB / 0.8333 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.6513, allocations: 0.544 MB / 0.8338 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.6529, allocations: 1.414 MB / 0.8352 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6529, allocations: 0 / 0.8352 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6529, allocations: 0 / 0.8352 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.6529, allocations: 0 / 0.8352 GB, free: 2.387 MB / 0.6544 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.002139/0.655, allocations: 1.493 MB / 0.8366 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.6551, allocations: 12.03 kB / 0.8367 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007399/0.6558, allocations: 195.1 kB / 0.8368 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.6571, allocations: 0.8542 MB / 0.8377 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.6571, allocations: 45 kB / 0.8377 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.6572, allocations: 64 kB / 0.8378 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.6583, allocations: 0.7859 MB / 0.8385 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.6584, allocations: 7.922 kB / 0.8386 GB, free: 14.74 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.6584, allocations: 31.75 kB / 0.8386 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.6584, allocations: 15.94 kB / 0.8386 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008844/0.6593, allocations: 0.5305 MB / 0.8391 GB, free: 14.17 MB / 0.67 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.003747/0.6631, allocations: 4.592 MB / 0.8436 GB, free: 9.195 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.6638, allocations: 410.8 kB / 0.844 GB, free: 8.785 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.6642, allocations: 248.7 kB / 0.8442 GB, free: 8.539 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/0.6645, allocations: 198.1 kB / 0.8444 GB, free: 8.309 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004807/0.665, allocations: 305.1 kB / 0.8447 GB, free: 7.992 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.665, allocations: 4 kB / 0.8447 GB, free: 7.988 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.004814/0.6698, allocations: 1.651 MB / 0.8463 GB, free: 6.309 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.6699, allocations: 81.11 kB / 0.8464 GB, free: 6.211 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.6712, allocations: 1.114 MB / 0.8475 GB, free: 5.078 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.6712, allocations: 41.7 kB / 0.8475 GB, free: 5.031 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.6716, allocations: 492.8 kB / 0.848 GB, free: 4.547 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/0.6717, allocations: 119 kB / 0.8481 GB, free: 4.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.6719, allocations: 109.9 kB / 0.8482 GB, free: 4.316 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.672, allocations: 330 kB / 0.8485 GB, free: 3.988 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.6724, allocations: 214.4 kB / 0.8487 GB, free: 3.773 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.673, allocations: 0.5175 MB / 0.8492 GB, free: 3.121 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.6739, allocations: 0.6308 MB / 0.8499 GB, free: 2.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.6739, allocations: 0 / 0.8499 GB, free: 2.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002079/0.676, allocations: 1.045 MB / 0.8509 GB, free: 1.348 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.676, allocations: 33.7 kB / 0.8509 GB, free: 1.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6761, allocations: 8.625 kB / 0.8509 GB, free: 1.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.6773, allocations: 386.7 kB / 0.8513 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.6775, allocations: 59.89 kB / 0.8514 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.6789, allocations: 1.087 MB / 0.8524 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/0.6795, allocations: 71.64 kB / 0.8525 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/0.6795, allocations: 27.98 kB / 0.8525 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006427/0.6802, allocations: 0.4945 MB / 0.853 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005352/0.6807, allocations: 494 kB / 0.8535 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007318/0.6815, allocations: 0.5566 MB / 0.854 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.6815, allocations: 4 kB / 0.854 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001415/0.6829, allocations: 0.8343 MB / 0.8548 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.683, allocations: 44.14 kB / 0.8549 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.683, allocations: 12 kB / 0.8549 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005087/0.6835, allocations: 215 kB / 0.8551 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.6837, allocations: 64.03 kB / 0.8551 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.6873, allocations: 3.256 MB / 0.8583 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.6879, allocations: 75.94 kB / 0.8584 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.688, allocations: 20 kB / 0.8584 GB, free: 9.219 MB / 0.6856 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.0001902/0.6882, allocations: 216.3 kB / 0.8586 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.6883, allocations: 111.3 kB / 0.8587 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.6896, allocations: 0.7024 MB / 0.8594 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6896, allocations: 4.141 kB / 0.8594 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.6896, allocations: 3.984 kB / 0.8594 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6896, allocations: 3.984 kB / 0.8594 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.6918, allocations: 1.601 MB / 0.861 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6919, allocations: 3.938 kB / 0.861 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.692, allocations: 27.92 kB / 0.861 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005231/0.6925, allocations: 246.9 kB / 0.8613 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.6925, allocations: 8 kB / 0.8613 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009915/0.6935, allocations: 1.032 MB / 0.8623 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6936, allocations: 0 / 0.8623 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.6948, allocations: 0.8297 MB / 0.8631 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.6951, allocations: 216.4 kB / 0.8633 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.756e-05/0.6952, allocations: 8 kB / 0.8633 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.6956, allocations: 31.91 kB / 0.8633 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.6957, allocations: 27.97 kB / 0.8633 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.6957, allocations: 12 kB / 0.8634 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000999/0.6967, allocations: 0.7916 MB / 0.8641 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6967, allocations: 0 / 0.8641 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001119/0.6978, allocations: 435.5 kB / 0.8645 GB, free: 2.738 MB / 0.6856 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.000403/0.6983, allocations: 177.8 kB / 0.8647 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.7007, allocations: 1.211 MB / 0.8659 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7007, allocations: 4 kB / 0.8659 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.7013, allocations: 298.8 kB / 0.8662 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.7031, allocations: 466.2 kB / 0.8666 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3261/1.029, allocations: 1.786 MB / 0.8684 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/1.03, allocations: 1.188 MB / 0.8695 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001021/1.031, allocations: 316.3 kB / 0.8698 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/1.031, allocations: 59.16 kB / 0.8699 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of SimCode: time 7.42e-07/1.031, allocations: 3.312 kB / 0.8699 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.03343/1.065, allocations: 19.42 MB / 0.8889 GB, free: 183 MB / 0.6856 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)