Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008814, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005939/0.005939, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7566/0.7566, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.000377, allocations: 13.28 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4077, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1676/0.5753, allocations: 157.3 MB / 0.7373 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.5784, allocations: 1.749 MB / 0.739 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.5786, allocations: 11.94 kB / 0.739 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.5791, allocations: 135.2 kB / 0.7391 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.5804, allocations: 0.4941 MB / 0.7396 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009188/0.5813, allocations: 348.1 kB / 0.7399 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003262/0.5846, allocations: 3.475 MB / 0.7433 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.5856, allocations: 0.7465 MB / 0.7441 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.5871, allocations: 0.9064 MB / 0.745 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007996/0.5879, allocations: 0.7155 MB / 0.7457 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.536e-05/0.588, allocations: 39.94 kB / 0.7457 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.5894, allocations: 0.799 MB / 0.7465 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.5897, allocations: 270.9 kB / 0.7467 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005665/0.5902, allocations: 0.5339 MB / 0.7473 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.5917, allocations: 1.366 MB / 0.7486 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.5917, allocations: 4 kB / 0.7486 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5917, allocations: 0 / 0.7486 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.5917, allocations: 0 / 0.7486 GB, free: 6.961 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001979/0.5937, allocations: 1.264 MB / 0.7498 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5937, allocations: 11.97 kB / 0.7498 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007783/0.5945, allocations: 186.4 kB / 0.75 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.5956, allocations: 0.7983 MB / 0.7508 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.5957, allocations: 41 kB / 0.7508 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.5958, allocations: 67.98 kB / 0.7509 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.597, allocations: 0.7927 MB / 0.7517 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.597, allocations: 7.938 kB / 0.7517 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.5971, allocations: 24 kB / 0.7517 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.5971, allocations: 16 kB / 0.7517 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009601/0.5981, allocations: 0.5422 MB / 0.7522 GB, free: 3.027 MB / 0.5762 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.004685/0.6028, allocations: 4.599 MB / 0.7567 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.6035, allocations: 425.8 kB / 0.7571 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.604, allocations: 259 kB / 0.7574 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/0.6043, allocations: 190.2 kB / 0.7576 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000554/0.6049, allocations: 297.1 kB / 0.7579 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.444e-06/0.6049, allocations: 0 / 0.7579 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.00159/0.6065, allocations: 0.6509 MB / 0.7585 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.6066, allocations: 85.09 kB / 0.7586 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.6079, allocations: 1.121 MB / 0.7597 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.608, allocations: 33.7 kB / 0.7597 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.6084, allocations: 496.1 kB / 0.7602 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.6085, allocations: 110.4 kB / 0.7603 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.6086, allocations: 45.7 kB / 0.7603 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6088, allocations: 322 kB / 0.7606 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.6092, allocations: 216.7 kB / 0.7608 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006565/0.6098, allocations: 0.5213 MB / 0.7613 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009078/0.6108, allocations: 0.6448 MB / 0.762 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6108, allocations: 0 / 0.762 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001245/0.612, allocations: 0.7287 MB / 0.7627 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.6122, allocations: 287.1 kB / 0.763 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6122, allocations: 4 kB / 0.763 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.6122, allocations: 8.281 kB / 0.763 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.6127, allocations: 115.9 kB / 0.7631 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.6127, allocations: 11.94 kB / 0.7631 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/0.6134, allocations: 95.47 kB / 0.7632 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.6135, allocations: 27.98 kB / 0.7632 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.6135, allocations: 6.188 kB / 0.7632 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009017/0.6144, allocations: 0.5443 MB / 0.7637 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6144, allocations: 11.92 kB / 0.7638 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.6145, allocations: 12.06 kB / 0.7638 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.6148, allocations: 107.8 kB / 0.7639 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6148, allocations: 8 kB / 0.7639 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.6154, allocations: 91.53 kB / 0.764 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.6155, allocations: 27.98 kB / 0.764 GB, free: 6.168 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 (53): * Single equations (assignments): 52 * 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.0004998/0.616, allocations: 472.6 kB / 0.7644 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.6161, allocations: 98.78 kB / 0.7645 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009171/0.617, allocations: 0.4951 MB / 0.765 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6171, allocations: 4 kB / 0.765 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6171, allocations: 4 kB / 0.765 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6171, allocations: 3.938 kB / 0.765 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.619, allocations: 1.395 MB / 0.7664 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6191, allocations: 4 kB / 0.7664 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.6193, allocations: 67.83 kB / 0.7665 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.6193, allocations: 4.219 kB / 0.7665 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.6194, allocations: 12 kB / 0.7665 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.6194, allocations: 7.984 kB / 0.7665 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6194, allocations: 0 / 0.7665 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.6202, allocations: 0.6121 MB / 0.7671 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.6205, allocations: 215.8 kB / 0.7673 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/0.6206, allocations: 8 kB / 0.7673 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.6211, allocations: 47.95 kB / 0.7673 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/0.6212, allocations: 35.89 kB / 0.7674 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.6212, allocations: 12 kB / 0.7674 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001016/0.6223, allocations: 0.7875 MB / 0.7682 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6223, allocations: 0 / 0.7682 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001091/0.6234, allocations: 411.3 kB / 0.7686 GB, free: 1.34 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 (31): * Single equations (assignments): 29 * 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.0003985/0.6238, allocations: 173.5 kB / 0.7687 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.6251, allocations: 0.8291 MB / 0.7695 GB, free: 324 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.6251, allocations: 3.938 kB / 0.7695 GB, free: 320 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.6255, allocations: 208.4 kB / 0.7697 GB, free: 116 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.6279, allocations: 450.8 kB / 0.7702 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.6307, allocations: 2.054 MB / 0.7722 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/0.6314, allocations: 1.181 MB / 0.7733 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001078/0.6325, allocations: 423.6 kB / 0.7737 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.6327, allocations: 75.42 kB / 0.7738 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.6327, allocations: 7.938 kB / 0.7738 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Templates: time 0.02739/0.6601, allocations: 16.4 MB / 0.7898 GB, free: 11.7 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)