Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.000835/0.000835, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001029/0.001029, allocations: 179 kB / 16.27 MB, free: 6.664 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7619/0.7619, allocations: 132.4 MB / 423.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 8 kB / 0.504 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4384, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1791/0.6176, allocations: 157.3 MB / 0.7373 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004792/0.6224, allocations: 3.599 MB / 0.7408 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.6227, allocations: 7.938 kB / 0.7408 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.6233, allocations: 131.2 kB / 0.7409 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.6245, allocations: 0.498 MB / 0.7414 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.6256, allocations: 384.3 kB / 0.7418 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003252/0.6288, allocations: 3.501 MB / 0.7452 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000957/0.6298, allocations: 0.7504 MB / 0.7459 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.6313, allocations: 0.8947 MB / 0.7468 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008177/0.6321, allocations: 0.7233 MB / 0.7475 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.6322, allocations: 36 kB / 0.7475 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.6336, allocations: 0.799 MB / 0.7483 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.6339, allocations: 278.9 kB / 0.7486 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005705/0.6345, allocations: 0.5338 MB / 0.7491 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.6359, allocations: 1.366 MB / 0.7504 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6359, allocations: 4 kB / 0.7504 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6359, allocations: 0 / 0.7504 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.636, allocations: 0 / 0.7504 GB, free: 5.059 MB / 0.5762 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.002023/0.638, allocations: 1.274 MB / 0.7517 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.638, allocations: 8.031 kB / 0.7517 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00074/0.6388, allocations: 186.4 kB / 0.7519 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.6399, allocations: 0.8062 MB / 0.7527 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.64, allocations: 41 kB / 0.7527 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.6401, allocations: 56 kB / 0.7528 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.6413, allocations: 0.8005 MB / 0.7535 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.6413, allocations: 0 / 0.7535 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.6413, allocations: 35.92 kB / 0.7536 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.6414, allocations: 12 kB / 0.7536 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009281/0.6423, allocations: 0.5383 MB / 0.7541 GB, free: 1.121 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.004859/0.6472, allocations: 4.603 MB / 0.7586 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00079/0.648, allocations: 429.1 kB / 0.759 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.6484, allocations: 258.9 kB / 0.7593 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/0.6487, allocations: 190.2 kB / 0.7594 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005259/0.6493, allocations: 305 kB / 0.7597 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.515e-06/0.6493, allocations: 0 / 0.7597 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.005125/0.6544, allocations: 1.67 MB / 0.7614 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.6545, allocations: 85.05 kB / 0.7614 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.656, allocations: 1.118 MB / 0.7625 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.6561, allocations: 37.7 kB / 0.7626 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.6565, allocations: 496.2 kB / 0.763 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.934e-05/0.6566, allocations: 110.5 kB / 0.7631 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.6567, allocations: 41.69 kB / 0.7632 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6568, allocations: 326 kB / 0.7635 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.6572, allocations: 212.7 kB / 0.7637 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.6579, allocations: 0.5214 MB / 0.7642 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009575/0.6588, allocations: 0.6411 MB / 0.7648 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6589, allocations: 0 / 0.7648 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002292/0.6612, allocations: 1.053 MB / 0.7659 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.6614, allocations: 290.9 kB / 0.7661 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.6614, allocations: 4 kB / 0.7661 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.6627, allocations: 381.5 kB / 0.7665 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.663, allocations: 63.84 kB / 0.7666 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.6643, allocations: 1.095 MB / 0.7676 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007937/0.6651, allocations: 103.3 kB / 0.7677 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.6652, allocations: 31.98 kB / 0.7678 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.6652, allocations: 4 kB / 0.7678 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00138/0.6666, allocations: 0.7323 MB / 0.7685 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6666, allocations: 4 kB / 0.7685 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.6672, allocations: 217.9 kB / 0.7687 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.6674, allocations: 67.97 kB / 0.7688 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.6711, allocations: 2.99 MB / 0.7717 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007942/0.6719, allocations: 91.62 kB / 0.7718 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.6719, allocations: 23.94 kB / 0.7718 GB, free: 13.97 MB / 0.6075 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.0005706/0.6725, allocations: 468.8 kB / 0.7722 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.6726, allocations: 102.7 kB / 0.7723 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.674, allocations: 0.7179 MB / 0.773 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.674, allocations: 4 kB / 0.773 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.674, allocations: 0 / 0.773 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.674, allocations: 3.984 kB / 0.773 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.6765, allocations: 1.623 MB / 0.7746 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6765, allocations: 0 / 0.7746 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.6767, allocations: 23.98 kB / 0.7747 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000507/0.6772, allocations: 251.6 kB / 0.7749 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.6772, allocations: 11.98 kB / 0.7749 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.6783, allocations: 1.037 MB / 0.7759 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6783, allocations: 0 / 0.7759 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.6795, allocations: 0.8304 MB / 0.7767 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.6799, allocations: 219.8 kB / 0.7769 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/0.68, allocations: 11.98 kB / 0.777 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.6805, allocations: 47.89 kB / 0.777 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.6806, allocations: 31.84 kB / 0.777 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.6806, allocations: 19.98 kB / 0.777 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001007/0.6816, allocations: 0.7877 MB / 0.7778 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6816, allocations: 0 / 0.7778 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001282/0.6829, allocations: 443.4 kB / 0.7782 GB, free: 7.172 MB / 0.6075 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.0004342/0.6834, allocations: 188.1 kB / 0.7784 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002579/0.6859, allocations: 1.218 MB / 0.7796 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.686, allocations: 4 kB / 0.7796 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.6866, allocations: 279.7 kB / 0.7799 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.689, allocations: 443.5 kB / 0.7803 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.692, allocations: 2.09 MB / 0.7823 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/0.6928, allocations: 1.188 MB / 0.7835 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009017/0.6937, allocations: 303.9 kB / 0.7838 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.6938, allocations: 67.42 kB / 0.7839 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of SimCode: time 7.92e-07/0.6938, allocations: 4 kB / 0.7839 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of Templates: time 0.03143/0.7253, allocations: 18.39 MB / 0.8018 GB, free: 15.14 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)