Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 182.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/package.mo): time 0.7957/0.7957, allocations: 132.2 MB / 148.9 MB, free: 12.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.552/1.552, allocations: 222.9 MB / 403.3 MB, free: 7.035 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.001005/0.001004, allocations: 107.7 kB / 484.4 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 51.91 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1533, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4918/0.6451, allocations: 159.4 MB / 0.7958 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005506/0.6507, allocations: 3.631 MB / 0.7993 GB, free: 220 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.6513, allocations: 7.938 kB / 0.7994 GB, free: 212 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.6522, allocations: 139.2 kB / 0.7995 GB, free: 72 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.6538, allocations: 0.4942 MB / 0.8 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.6551, allocations: 392.8 kB / 0.8003 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003481/0.6586, allocations: 3.532 MB / 0.8038 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/0.6617, allocations: 2.236 MB / 0.806 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.6643, allocations: 0.9337 MB / 0.8069 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.6658, allocations: 0.7467 MB / 0.8076 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.6661, allocations: 40 kB / 0.8077 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.668, allocations: 0.8068 MB / 0.8084 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0004724/0.6685, allocations: 294.8 kB / 0.8087 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.6696, allocations: 0.5167 MB / 0.8092 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.6715, allocations: 1.41 MB / 0.8106 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6715, allocations: 0 / 0.8106 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6715, allocations: 0 / 0.8106 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.476e-05/0.6716, allocations: 0 / 0.8106 GB, free: 4.648 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.002348/0.6739, allocations: 1.462 MB / 0.812 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.674, allocations: 8.031 kB / 0.812 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007282/0.6747, allocations: 194.5 kB / 0.8122 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.6761, allocations: 0.8062 MB / 0.813 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.6761, allocations: 41 kB / 0.8131 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.6763, allocations: 60 kB / 0.8131 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.6775, allocations: 0.82 MB / 0.8139 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.6775, allocations: 4 kB / 0.8139 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.6776, allocations: 20 kB / 0.8139 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.6776, allocations: 15.94 kB / 0.814 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009774/0.6786, allocations: 0.5696 MB / 0.8145 GB, free: 468 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.004275/0.6829, allocations: 4.2 MB / 0.8186 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.6836, allocations: 444.1 kB / 0.819 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.6842, allocations: 361.3 kB / 0.8194 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.6845, allocations: 194.2 kB / 0.8196 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005778/0.6851, allocations: 319.1 kB / 0.8199 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002467/0.6854, allocations: 31.69 kB / 0.8199 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 3.085e-06/0.6854, allocations: 4 kB / 0.8199 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.001491/0.6869, allocations: 0.6999 MB / 0.8206 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.687, allocations: 85.11 kB / 0.8207 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.6883, allocations: 1.155 MB / 0.8218 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.6883, allocations: 37.7 kB / 0.8218 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.6887, allocations: 484.5 kB / 0.8223 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/0.6888, allocations: 130.3 kB / 0.8224 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.689, allocations: 110.1 kB / 0.8225 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6891, allocations: 326 kB / 0.8228 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.6895, allocations: 234.9 kB / 0.8231 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/0.6902, allocations: 0.542 MB / 0.8236 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009092/0.6911, allocations: 0.6745 MB / 0.8242 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6911, allocations: 8 kB / 0.8243 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001215/0.6923, allocations: 0.7635 MB / 0.825 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.164e-05/0.6924, allocations: 37.7 kB / 0.825 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6924, allocations: 8 kB / 0.825 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.6925, allocations: 8 kB / 0.825 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.693, allocations: 111.8 kB / 0.8252 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.693, allocations: 19.86 kB / 0.8252 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007454/0.6937, allocations: 72.05 kB / 0.8252 GB, free: 4.828 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.6938, allocations: 28.27 kB / 0.8253 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006804/0.6945, allocations: 0.5125 MB / 0.8258 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005696/0.6951, allocations: 0.5108 MB / 0.8263 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007592/0.6958, allocations: 0.5919 MB / 0.8268 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.37e-06/0.6958, allocations: 4.859 kB / 0.8269 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001014/0.6969, allocations: 0.6888 MB / 0.8275 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.6969, allocations: 34.95 kB / 0.8276 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6969, allocations: 4 kB / 0.8276 GB, free: 2.215 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.6969, allocations: 8 kB / 0.8276 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.6974, allocations: 120.4 kB / 0.8277 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.6974, allocations: 15.92 kB / 0.8277 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/0.6982, allocations: 96.02 kB / 0.8278 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.6982, allocations: 20 kB / 0.8278 GB, free: 1.961 MB / 0.5573 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.6984, allocations: 213.5 kB / 0.828 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.6985, allocations: 98.78 kB / 0.8281 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009815/0.6995, allocations: 0.5448 MB / 0.8286 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6995, allocations: 4 kB / 0.8286 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.6995, allocations: 3.938 kB / 0.8286 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6996, allocations: 7.984 kB / 0.8287 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.7017, allocations: 1.491 MB / 0.8301 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7017, allocations: 4 kB / 0.8301 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.702, allocations: 71.88 kB / 0.8302 GB, free: 15.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.7021, allocations: 4 kB / 0.8302 GB, free: 15.44 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.7021, allocations: 16.16 kB / 0.8302 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7021, allocations: 7.938 kB / 0.8302 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7021, allocations: 3.984 kB / 0.8302 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.7038, allocations: 1.647 MB / 0.8318 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.7042, allocations: 227.8 kB / 0.832 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.7043, allocations: 8 kB / 0.832 GB, free: 13.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.705, allocations: 55.92 kB / 0.8321 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.7051, allocations: 35.84 kB / 0.8321 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.7051, allocations: 15.98 kB / 0.8321 GB, free: 13.33 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001/0.7061, allocations: 0.8199 MB / 0.8329 GB, free: 12.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.7061, allocations: 0 / 0.8329 GB, free: 12.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00129/0.7074, allocations: 427.4 kB / 0.8334 GB, free: 12.08 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004231/0.7079, allocations: 175.4 kB / 0.8335 GB, free: 11.91 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.7094, allocations: 0.8987 MB / 0.8344 GB, free: 10.99 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.7095, allocations: 0 / 0.8344 GB, free: 10.99 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.7099, allocations: 231.9 kB / 0.8346 GB, free: 10.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/0.7131, allocations: 0.6344 MB / 0.8352 GB, free: 10.14 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.7161, allocations: 2.304 MB / 0.8375 GB, free: 7.766 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006617/0.7168, allocations: 1.193 MB / 0.8387 GB, free: 6.543 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001041/0.7178, allocations: 408.3 kB / 0.839 GB, free: 6.141 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.718, allocations: 79.42 kB / 0.8391 GB, free: 6.062 MB / 0.573 GB Notification: Performance of SimCode: time 4.71e-07/0.718, allocations: 0 / 0.8391 GB, free: 6.062 MB / 0.573 GB Notification: Performance of Templates: time 0.03054/0.7485, allocations: 19.7 MB / 0.8584 GB, free: 2.582 MB / 0.5886 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)