Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7296/0.7296, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 222.9 MB / 403.4 MB, free: 7.141 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 101.5 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1481, allocations: 80.21 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4778/0.626, allocations: 159.4 MB / 0.7958 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004948/0.631, allocations: 3.643 MB / 0.7993 GB, free: 228 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.6313, allocations: 11.88 kB / 0.7994 GB, free: 216 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.6319, allocations: 131.2 kB / 0.7995 GB, free: 84 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.6333, allocations: 0.4942 MB / 0.8 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.6344, allocations: 393.1 kB / 0.8003 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.6376, allocations: 3.504 MB / 0.8038 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009855/0.6386, allocations: 0.7602 MB / 0.8045 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.64, allocations: 0.9337 MB / 0.8054 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007852/0.6408, allocations: 0.7272 MB / 0.8061 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.6409, allocations: 36 kB / 0.8062 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.6424, allocations: 0.8068 MB / 0.8069 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.6427, allocations: 282.9 kB / 0.8072 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.6433, allocations: 0.5128 MB / 0.8077 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.6448, allocations: 1.382 MB / 0.8091 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.6448, allocations: 7.984 kB / 0.8091 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.163e-06/0.6448, allocations: 0 / 0.8091 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.6448, allocations: 3.938 kB / 0.8091 GB, free: 6.219 MB / 0.5417 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.002269/0.6471, allocations: 1.455 MB / 0.8105 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.6471, allocations: 11.97 kB / 0.8105 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006977/0.6478, allocations: 190.5 kB / 0.8107 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.6491, allocations: 0.8023 MB / 0.8115 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.6491, allocations: 45 kB / 0.8115 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.6492, allocations: 56 kB / 0.8116 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.6503, allocations: 0.7927 MB / 0.8123 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.6504, allocations: 3.938 kB / 0.8124 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.6504, allocations: 24 kB / 0.8124 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.6504, allocations: 15.94 kB / 0.8124 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.6513, allocations: 0.5305 MB / 0.8129 GB, free: 2.102 MB / 0.5417 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.003868/0.6552, allocations: 4.583 MB / 0.8174 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.6559, allocations: 422.2 kB / 0.8178 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.6563, allocations: 242.4 kB / 0.818 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.6566, allocations: 194.2 kB / 0.8182 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.6571, allocations: 297.1 kB / 0.8185 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.6571, allocations: 224 / 0.8185 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.003878/0.661, allocations: 1.327 MB / 0.8198 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.661, allocations: 85.05 kB / 0.8199 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.6624, allocations: 1.114 MB / 0.821 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.6625, allocations: 37.7 kB / 0.821 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.6629, allocations: 496.1 kB / 0.8215 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/0.663, allocations: 102.5 kB / 0.8216 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.6631, allocations: 114 kB / 0.8217 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6633, allocations: 330 kB / 0.822 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.6636, allocations: 210.4 kB / 0.8222 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.6642, allocations: 0.5174 MB / 0.8227 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.665, allocations: 0.6305 MB / 0.8233 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.665, allocations: 0 / 0.8233 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002436/0.6675, allocations: 1.042 MB / 0.8243 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.6675, allocations: 38.73 kB / 0.8244 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.6676, allocations: 8 kB / 0.8244 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.6692, allocations: 362.2 kB / 0.8247 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.6695, allocations: 63.91 kB / 0.8248 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.6707, allocations: 1.009 MB / 0.8258 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/0.6716, allocations: 91.53 kB / 0.8258 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.6717, allocations: 27.98 kB / 0.8259 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008355/0.6725, allocations: 0.4967 MB / 0.8264 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006812/0.6732, allocations: 489.9 kB / 0.8268 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009216/0.6741, allocations: 0.5604 MB / 0.8274 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.922e-06/0.6742, allocations: 4 kB / 0.8274 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00154/0.6757, allocations: 0.826 MB / 0.8282 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.6758, allocations: 38.27 kB / 0.8282 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6758, allocations: 12 kB / 0.8282 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005019/0.6763, allocations: 206.5 kB / 0.8284 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.6765, allocations: 63.84 kB / 0.8285 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.6801, allocations: 3.081 MB / 0.8315 GB, free: 13.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/0.6808, allocations: 88.02 kB / 0.8316 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.6809, allocations: 28 kB / 0.8316 GB, free: 13.75 MB / 0.573 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.0001957/0.6811, allocations: 210.3 kB / 0.8318 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6812, allocations: 106.8 kB / 0.8319 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.6825, allocations: 0.7062 MB / 0.8326 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.6826, allocations: 7.938 kB / 0.8326 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6826, allocations: 7.984 kB / 0.8326 GB, free: 12.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.6826, allocations: 0 / 0.8326 GB, free: 12.7 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.6849, allocations: 1.6 MB / 0.8342 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.685, allocations: 7.938 kB / 0.8342 GB, free: 11.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.6851, allocations: 20.2 kB / 0.8342 GB, free: 10.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.6856, allocations: 224.8 kB / 0.8344 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.6856, allocations: 15.94 kB / 0.8344 GB, free: 10.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008343/0.6864, allocations: 0.9753 MB / 0.8354 GB, free: 9.754 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6865, allocations: 4.031 kB / 0.8354 GB, free: 9.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.6884, allocations: 1.776 MB / 0.8371 GB, free: 7.891 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.6888, allocations: 215.8 kB / 0.8373 GB, free: 7.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.6889, allocations: 8 kB / 0.8373 GB, free: 7.652 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.6893, allocations: 47.86 kB / 0.8374 GB, free: 7.605 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.6894, allocations: 31.89 kB / 0.8374 GB, free: 7.574 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.6895, allocations: 16 kB / 0.8374 GB, free: 7.559 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009507/0.6904, allocations: 0.7877 MB / 0.8382 GB, free: 6.762 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6904, allocations: 0 / 0.8382 GB, free: 6.762 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001367/0.6918, allocations: 439.4 kB / 0.8386 GB, free: 6.332 MB / 0.573 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.0003758/0.6922, allocations: 176.2 kB / 0.8388 GB, free: 6.156 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.694, allocations: 1.068 MB / 0.8398 GB, free: 5.051 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6941, allocations: 0 / 0.8398 GB, free: 5.051 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.6945, allocations: 236.9 kB / 0.8401 GB, free: 4.82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.6966, allocations: 459.4 kB / 0.8405 GB, free: 4.379 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.6995, allocations: 2.292 MB / 0.8427 GB, free: 2.02 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.7002, allocations: 1.192 MB / 0.8439 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008577/0.7011, allocations: 311.9 kB / 0.8442 GB, free: 500 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.7012, allocations: 59.42 kB / 0.8442 GB, free: 440 kB / 0.573 GB Notification: Performance of SimCode: time 5.41e-07/0.7012, allocations: 0 / 0.8442 GB, free: 440 kB / 0.573 GB Notification: Performance of Templates: time 0.02953/0.7307, allocations: 19.46 MB / 0.8633 GB, free: 13.16 MB / 0.6042 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)