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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005631/0.005631, allocations: 101.4 kB / 15.73 MB, free: 6.051 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.001153/0.001153, allocations: 188.3 kB / 16.67 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7876/0.7876, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 62.5 kB / 0.5814 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1541, allocations: 80.2 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5171/0.6713, allocations: 161.6 MB / 0.8175 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004571/0.6759, allocations: 3.611 MB / 0.821 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.6762, allocations: 11.72 kB / 0.8211 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.6768, allocations: 163.4 kB / 0.8212 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.6781, allocations: 0.5345 MB / 0.8217 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.6793, allocations: 430.8 kB / 0.8221 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002409/0.6817, allocations: 2.542 MB / 0.8246 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.6829, allocations: 0.9357 MB / 0.8255 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.6845, allocations: 1.036 MB / 0.8265 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000752/0.6853, allocations: 0.7061 MB / 0.8272 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.6854, allocations: 55.22 kB / 0.8273 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.6868, allocations: 0.7407 MB / 0.828 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.6871, allocations: 307 kB / 0.8283 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005883/0.6877, allocations: 0.5455 MB / 0.8288 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.6892, allocations: 1.412 MB / 0.8302 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6892, allocations: 0 / 0.8302 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6893, allocations: 4 kB / 0.8302 GB, free: 2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.6893, allocations: 0 / 0.8302 GB, free: 2 MB / 0.5919 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.002092/0.6914, allocations: 1.486 MB / 0.8317 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.6914, allocations: 9.594 kB / 0.8317 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007095/0.6921, allocations: 199.3 kB / 0.8319 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.6933, allocations: 0.8614 MB / 0.8327 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.6934, allocations: 43.91 kB / 0.8328 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.6935, allocations: 58.38 kB / 0.8328 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.6945, allocations: 0.7976 MB / 0.8336 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6946, allocations: 0 / 0.8336 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.6946, allocations: 23.09 kB / 0.8336 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.6946, allocations: 16.97 kB / 0.8336 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.6955, allocations: 0.5384 MB / 0.8342 GB, free: 15.22 MB / 0.6075 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.003588/0.6991, allocations: 4.588 MB / 0.8386 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.6997, allocations: 421.2 kB / 0.839 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.7001, allocations: 243.4 kB / 0.8393 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/0.7003, allocations: 199.1 kB / 0.8395 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/0.7008, allocations: 293 kB / 0.8397 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.7008, allocations: 3.938 kB / 0.8397 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003521/0.7044, allocations: 1.317 MB / 0.841 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.7044, allocations: 81.95 kB / 0.8411 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.7056, allocations: 1.119 MB / 0.8422 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.7057, allocations: 46.88 kB / 0.8422 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.7061, allocations: 0.4917 MB / 0.8427 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.7061, allocations: 109.5 kB / 0.8428 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.7063, allocations: 114.9 kB / 0.8429 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7064, allocations: 329.6 kB / 0.8433 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.7068, allocations: 211.8 kB / 0.8435 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.7073, allocations: 0.5195 MB / 0.844 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.7082, allocations: 0.6227 MB / 0.8446 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7082, allocations: 2.375 kB / 0.8446 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002142/0.7103, allocations: 1.053 MB / 0.8456 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.7104, allocations: 33.52 kB / 0.8456 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7104, allocations: 4.625 kB / 0.8456 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.7117, allocations: 367.2 kB / 0.846 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.7119, allocations: 64.62 kB / 0.846 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008925/0.7128, allocations: 1.007 MB / 0.847 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.7134, allocations: 79.61 kB / 0.8471 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.7135, allocations: 28.17 kB / 0.8471 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006563/0.7142, allocations: 0.4964 MB / 0.8476 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005509/0.7147, allocations: 489.9 kB / 0.8481 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007277/0.7155, allocations: 0.5569 MB / 0.8486 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/0.7155, allocations: 4 kB / 0.8486 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001399/0.7169, allocations: 0.8266 MB / 0.8494 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.7169, allocations: 33.7 kB / 0.8495 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7169, allocations: 12.56 kB / 0.8495 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/0.7174, allocations: 208.6 kB / 0.8497 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.7176, allocations: 59.91 kB / 0.8497 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.7211, allocations: 3.342 MB / 0.853 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.7218, allocations: 68.19 kB / 0.8531 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.7218, allocations: 20 kB / 0.8531 GB, free: 14.73 MB / 0.6231 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.0001774/0.722, allocations: 216.1 kB / 0.8533 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.7221, allocations: 107.3 kB / 0.8534 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.7234, allocations: 0.7218 MB / 0.8541 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.7234, allocations: 4 kB / 0.8541 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.7234, allocations: 4 kB / 0.8541 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.7234, allocations: 0 / 0.8541 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.7255, allocations: 1.599 MB / 0.8557 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.7256, allocations: 4.156 kB / 0.8557 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.7257, allocations: 23.98 kB / 0.8557 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/0.7262, allocations: 228.5 kB / 0.8559 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.7262, allocations: 8 kB / 0.8559 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008401/0.727, allocations: 0.9753 MB / 0.8569 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.727, allocations: 11.97 kB / 0.8569 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.7282, allocations: 0.8333 MB / 0.8577 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.7285, allocations: 220.4 kB / 0.8579 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.7286, allocations: 11.94 kB / 0.8579 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.729, allocations: 27.97 kB / 0.858 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.7291, allocations: 27.91 kB / 0.858 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.7292, allocations: 15.94 kB / 0.858 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009593/0.7301, allocations: 0.7955 MB / 0.8588 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7301, allocations: 4 kB / 0.8588 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001131/0.7313, allocations: 435.5 kB / 0.8592 GB, free: 8.293 MB / 0.6231 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.000364/0.7316, allocations: 164.5 kB / 0.8593 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.7335, allocations: 1.067 MB / 0.8604 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7335, allocations: 4 kB / 0.8604 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.734, allocations: 235 kB / 0.8606 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.7358, allocations: 467.6 kB / 0.8611 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.7384, allocations: 1.773 MB / 0.8628 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.7392, allocations: 1.184 MB / 0.8639 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007538/0.74, allocations: 315.8 kB / 0.8642 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.7401, allocations: 55.44 kB / 0.8643 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.7401, allocations: 3.938 kB / 0.8643 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of Templates: time 0.0302/0.7703, allocations: 19.77 MB / 0.8836 GB, free: 15.38 MB / 0.6544 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)