Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001513/0.001513, allocations: 192.5 kB / 17.2 MB, free: 5.594 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.803/0.803, allocations: 135.2 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.91 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3691, allocations: 80.91 MB / 0.5851 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1768/0.5458, allocations: 161.6 MB / 0.7429 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005604/0.5515, allocations: 3.617 MB / 0.7464 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.552, allocations: 11.94 kB / 0.7464 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.5528, allocations: 162.9 kB / 0.7466 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.5545, allocations: 0.525 MB / 0.7471 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.5558, allocations: 432.2 kB / 0.7475 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003024/0.5588, allocations: 2.533 MB / 0.75 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.5603, allocations: 0.941 MB / 0.7509 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3236/0.8839, allocations: 1.023 MB / 0.7519 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.8852, allocations: 0.7052 MB / 0.7526 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.8853, allocations: 59.64 kB / 0.7526 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.8867, allocations: 0.7345 MB / 0.7534 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.8871, allocations: 306.3 kB / 0.7537 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006667/0.8877, allocations: 0.5431 MB / 0.7542 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.8891, allocations: 1.389 MB / 0.7555 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.8891, allocations: 0 / 0.7555 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8891, allocations: 0 / 0.7555 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.8892, allocations: 0.6875 kB / 0.7555 GB, free: 2.664 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.001969/0.8911, allocations: 1.444 MB / 0.757 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.8912, allocations: 11.02 kB / 0.757 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007802/0.892, allocations: 195.2 kB / 0.7571 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.8933, allocations: 0.8015 MB / 0.7579 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.8933, allocations: 43.41 kB / 0.758 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.8934, allocations: 60.16 kB / 0.758 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.8946, allocations: 0.7898 MB / 0.7588 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.8947, allocations: 9.125 kB / 0.7588 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.8947, allocations: 25.58 kB / 0.7588 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.8948, allocations: 14.69 kB / 0.7588 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.8958, allocations: 0.5353 MB / 0.7594 GB, free: 17.18 MB / 0.5919 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.005119/0.9009, allocations: 4.602 MB / 0.7639 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.9018, allocations: 424.6 kB / 0.7643 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.9022, allocations: 247.2 kB / 0.7645 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.9025, allocations: 192.9 kB / 0.7647 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005145/0.903, allocations: 298 kB / 0.765 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.903, allocations: 0 / 0.765 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.003936/0.907, allocations: 1.311 MB / 0.7663 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.9071, allocations: 83.55 kB / 0.7663 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.9084, allocations: 1.117 MB / 0.7674 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.9085, allocations: 38.33 kB / 0.7675 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.9088, allocations: 492.9 kB / 0.7679 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.9089, allocations: 109.8 kB / 0.768 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.9091, allocations: 111.7 kB / 0.7681 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9093, allocations: 327.2 kB / 0.7685 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.9097, allocations: 217.1 kB / 0.7687 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/0.9102, allocations: 0.5167 MB / 0.7692 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008325/0.9111, allocations: 0.6404 MB / 0.7698 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.9111, allocations: 2.875 kB / 0.7698 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002218/0.9133, allocations: 1.042 MB / 0.7708 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.9134, allocations: 32.61 kB / 0.7708 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.9134, allocations: 9.531 kB / 0.7709 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.9147, allocations: 356.8 kB / 0.7712 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.9149, allocations: 66.06 kB / 0.7713 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009288/0.9158, allocations: 1.011 MB / 0.7722 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007273/0.9166, allocations: 81.22 kB / 0.7723 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.9166, allocations: 26.34 kB / 0.7723 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006298/0.9172, allocations: 0.4949 MB / 0.7728 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005108/0.9178, allocations: 492.5 kB / 0.7733 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006746/0.9185, allocations: 0.5504 MB / 0.7738 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.037e-06/0.9185, allocations: 2.094 kB / 0.7738 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001383/0.9199, allocations: 0.8363 MB / 0.7747 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.9199, allocations: 33.2 kB / 0.7747 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.9199, allocations: 10.75 kB / 0.7747 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.9204, allocations: 208.3 kB / 0.7749 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.9205, allocations: 59.77 kB / 0.775 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/0.9239, allocations: 3.344 MB / 0.7782 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.9247, allocations: 75.59 kB / 0.7783 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.9247, allocations: 21.25 kB / 0.7783 GB, free: 8.535 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.925, allocations: 220.5 kB / 0.7785 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.9251, allocations: 100.8 kB / 0.7786 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.9262, allocations: 0.7046 MB / 0.7793 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.9263, allocations: 3.062 kB / 0.7793 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9263, allocations: 4 kB / 0.7793 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.9263, allocations: 7.312 kB / 0.7793 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.9284, allocations: 1.603 MB / 0.7809 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9284, allocations: 0 / 0.7809 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.9285, allocations: 28.39 kB / 0.7809 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/0.9289, allocations: 217.5 kB / 0.7811 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.929, allocations: 17.81 kB / 0.7811 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007846/0.9298, allocations: 0.9852 MB / 0.7821 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9298, allocations: 4.219 kB / 0.7821 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.9309, allocations: 0.8279 MB / 0.7829 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.9312, allocations: 215 kB / 0.7831 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.9313, allocations: 6.594 kB / 0.7831 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/0.9317, allocations: 24.33 kB / 0.7831 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.9318, allocations: 33.8 kB / 0.7832 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.9318, allocations: 10.69 kB / 0.7832 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008113/0.9326, allocations: 0.7943 MB / 0.784 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9326, allocations: 0.9375 kB / 0.784 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00116/0.9338, allocations: 437.9 kB / 0.7844 GB, free: 6.59 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 {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004167/0.9342, allocations: 176.9 kB / 0.7845 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.9359, allocations: 1.074 MB / 0.7856 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.9359, allocations: 4.281 kB / 0.7856 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.9363, allocations: 231.7 kB / 0.7858 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.938, allocations: 454.5 kB / 0.7863 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.9405, allocations: 1.822 MB / 0.788 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/0.9412, allocations: 1.185 MB / 0.7892 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.9413, allocations: 61.66 kB / 0.7893 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.9413, allocations: 5.25 kB / 0.7893 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.02478/0.9661, allocations: 20.33 MB / 0.8091 GB, free: 14.51 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)