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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 183.2 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-master/package.mo): time 0.7035/0.7035, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.501/1.501, allocations: 222.9 MB / 404.7 MB, free: 6.051 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.001048/0.001048, allocations: 99.73 kB / 485.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001029, allocations: 47.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1826, allocations: 80.43 MB / 0.6421 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5714/0.754, allocations: 159.3 MB / 0.7978 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004527/0.7586, allocations: 3.644 MB / 0.8013 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.7589, allocations: 7.938 kB / 0.8013 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.7595, allocations: 135.2 kB / 0.8014 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.7607, allocations: 0.4942 MB / 0.8019 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.7618, allocations: 388.6 kB / 0.8023 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0032/0.765, allocations: 3.508 MB / 0.8057 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009585/0.7659, allocations: 0.764 MB / 0.8065 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.7673, allocations: 0.9298 MB / 0.8074 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007695/0.7681, allocations: 0.735 MB / 0.8081 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.7682, allocations: 40 kB / 0.8081 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.7696, allocations: 0.8029 MB / 0.8089 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.7699, allocations: 286.9 kB / 0.8092 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.7704, allocations: 0.5167 MB / 0.8097 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.7719, allocations: 1.386 MB / 0.8111 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7719, allocations: 0 / 0.8111 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7719, allocations: 0 / 0.8111 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.772, allocations: 4 kB / 0.8111 GB, free: 4.234 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.002316/0.7743, allocations: 1.447 MB / 0.8125 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7743, allocations: 11.97 kB / 0.8125 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/0.775, allocations: 198.4 kB / 0.8127 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.7764, allocations: 0.8061 MB / 0.8135 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.7764, allocations: 41 kB / 0.8135 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.7765, allocations: 56 kB / 0.8136 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.7776, allocations: 0.7888 MB / 0.8143 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.7776, allocations: 7.938 kB / 0.8143 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/0.7777, allocations: 20 kB / 0.8143 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.7777, allocations: 19.94 kB / 0.8144 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.7786, allocations: 0.5305 MB / 0.8149 GB, free: 116 kB / 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.004305/0.7829, allocations: 4.583 MB / 0.8194 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/0.7837, allocations: 414.3 kB / 0.8198 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.784, allocations: 242 kB / 0.82 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.7843, allocations: 198.2 kB / 0.8202 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/0.7848, allocations: 297.6 kB / 0.8205 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/0.7849, allocations: 224 / 0.8205 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.003808/0.7887, allocations: 1.314 MB / 0.8217 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.7887, allocations: 85.05 kB / 0.8218 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.7901, allocations: 1.118 MB / 0.8229 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.7901, allocations: 37.7 kB / 0.823 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.7906, allocations: 488.1 kB / 0.8234 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.449e-05/0.7906, allocations: 110.5 kB / 0.8235 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.7908, allocations: 118 kB / 0.8236 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7909, allocations: 322 kB / 0.8239 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.7913, allocations: 218.4 kB / 0.8242 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.7919, allocations: 0.5135 MB / 0.8247 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008171/0.7927, allocations: 0.627 MB / 0.8253 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.7928, allocations: 4 kB / 0.8253 GB, free: 4.723 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002149/0.7949, allocations: 1.048 MB / 0.8263 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.795, allocations: 33.7 kB / 0.8263 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.795, allocations: 7.938 kB / 0.8263 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.7964, allocations: 364.7 kB / 0.8267 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.7966, allocations: 59.91 kB / 0.8267 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009533/0.7976, allocations: 1.015 MB / 0.8277 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.7983, allocations: 95.53 kB / 0.8278 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.7984, allocations: 27.98 kB / 0.8278 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006725/0.7991, allocations: 0.4967 MB / 0.8283 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005552/0.7996, allocations: 489.9 kB / 0.8288 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007289/0.8004, allocations: 0.5605 MB / 0.8293 GB, free: 284 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.8004, allocations: 0 / 0.8293 GB, free: 284 kB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001539/0.8019, allocations: 0.8303 MB / 0.8302 GB, free: 15.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.802, allocations: 41.77 kB / 0.8302 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.802, allocations: 4 kB / 0.8302 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/0.8025, allocations: 208.6 kB / 0.8304 GB, free: 15.17 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.8027, allocations: 59.91 kB / 0.8305 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.8064, allocations: 3.079 MB / 0.8335 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.8073, allocations: 88.02 kB / 0.8335 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.8073, allocations: 27.98 kB / 0.8336 GB, free: 11.77 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.0002376/0.8076, allocations: 212.7 kB / 0.8338 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.8078, allocations: 102.8 kB / 0.8339 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.8092, allocations: 0.7024 MB / 0.8346 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.8092, allocations: 7.938 kB / 0.8346 GB, free: 10.73 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.8092, allocations: 4 kB / 0.8346 GB, free: 10.73 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.8092, allocations: 4 kB / 0.8346 GB, free: 10.72 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.8119, allocations: 1.597 MB / 0.8361 GB, free: 9.047 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.8119, allocations: 8 kB / 0.8361 GB, free: 9.039 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.8121, allocations: 28.14 kB / 0.8362 GB, free: 9.012 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/0.8126, allocations: 231.1 kB / 0.8364 GB, free: 8.785 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.8126, allocations: 11.94 kB / 0.8364 GB, free: 8.773 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000877/0.8135, allocations: 0.9736 MB / 0.8374 GB, free: 7.773 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8135, allocations: 8.094 kB / 0.8374 GB, free: 7.766 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.8156, allocations: 1.763 MB / 0.8391 GB, free: 5.918 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/0.8161, allocations: 215.8 kB / 0.8393 GB, free: 5.688 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.8163, allocations: 11.98 kB / 0.8393 GB, free: 5.676 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.8168, allocations: 47.86 kB / 0.8393 GB, free: 5.629 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.8169, allocations: 31.91 kB / 0.8394 GB, free: 5.598 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.817, allocations: 12 kB / 0.8394 GB, free: 5.586 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001105/0.8181, allocations: 0.7916 MB / 0.8402 GB, free: 4.785 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8181, allocations: 0 / 0.8402 GB, free: 4.785 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001685/0.8198, allocations: 451.4 kB / 0.8406 GB, free: 4.344 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.0004874/0.8203, allocations: 166.8 kB / 0.8407 GB, free: 4.176 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002078/0.8224, allocations: 1.075 MB / 0.8418 GB, free: 3.062 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8224, allocations: 0 / 0.8418 GB, free: 3.062 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.8229, allocations: 233 kB / 0.842 GB, free: 2.836 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.8251, allocations: 454.6 kB / 0.8425 GB, free: 2.398 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.8285, allocations: 2.285 MB / 0.8447 GB, free: 44 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/0.8294, allocations: 1.2 MB / 0.8459 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009517/0.8304, allocations: 303.9 kB / 0.8461 GB, free: 14.51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.8305, allocations: 63.42 kB / 0.8462 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/0.8305, allocations: 0 / 0.8462 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of Templates: time 0.03274/0.8633, allocations: 19.46 MB / 0.8652 GB, free: 11.18 MB / 0.6042 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)