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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007946/0.0007948, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009772/0.0009772, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9512/0.9512, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 12 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1766, allocations: 82.31 MB / 0.5874 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.449/0.6256, allocations: 146.7 MB / 0.7307 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005763/0.6314, allocations: 3.378 MB / 0.734 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/0.6319, allocations: 8.906 kB / 0.734 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.6326, allocations: 106.5 kB / 0.7341 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.6342, allocations: 399.6 kB / 0.7344 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.6356, allocations: 366.7 kB / 0.7348 GB, free: 364 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003589/0.6392, allocations: 3.002 MB / 0.7377 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.6403, allocations: 0.6962 MB / 0.7384 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.642, allocations: 0.8616 MB / 0.7393 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009228/0.643, allocations: 0.7083 MB / 0.7399 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.219e-05/0.6431, allocations: 32.53 kB / 0.74 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.6443, allocations: 0.5584 MB / 0.7405 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.6446, allocations: 282.7 kB / 0.7408 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.6449, allocations: 229.8 kB / 0.741 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.6459, allocations: 1.023 MB / 0.742 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.6459, allocations: 0 / 0.742 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.275e-06/0.646, allocations: 0 / 0.742 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.646, allocations: 0 / 0.742 GB, free: 13.41 MB / 0.5606 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.001925/0.6479, allocations: 1.307 MB / 0.7433 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.6479, allocations: 11.81 kB / 0.7433 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/0.6487, allocations: 189.9 kB / 0.7435 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.65, allocations: 0.8012 MB / 0.7443 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.65, allocations: 46.12 kB / 0.7443 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.6501, allocations: 56.94 kB / 0.7444 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.6512, allocations: 0.79 MB / 0.7451 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.6512, allocations: 7.219 kB / 0.7451 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.6513, allocations: 26.45 kB / 0.7452 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.6513, allocations: 11.78 kB / 0.7452 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008555/0.6522, allocations: 0.541 MB / 0.7457 GB, free: 10.73 MB / 0.5606 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.004047/0.6562, allocations: 4.603 MB / 0.7502 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.657, allocations: 430.9 kB / 0.7506 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.6574, allocations: 250.4 kB / 0.7508 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002839/0.6577, allocations: 194.2 kB / 0.751 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004918/0.6582, allocations: 304 kB / 0.7513 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.6582, allocations: 0 / 0.7513 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.003772/0.6619, allocations: 1.347 MB / 0.7526 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.662, allocations: 85.11 kB / 0.7527 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.6634, allocations: 1.11 MB / 0.7538 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/0.6635, allocations: 37.7 kB / 0.7538 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.664, allocations: 497.1 kB / 0.7543 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.46e-05/0.6641, allocations: 114.5 kB / 0.7544 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.6641, allocations: 8 kB / 0.7544 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6642, allocations: 322 kB / 0.7547 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.6646, allocations: 188.7 kB / 0.7549 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.6651, allocations: 0.494 MB / 0.7554 GB, free: 140 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.6656, allocations: 296 kB / 0.7557 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6656, allocations: 0 / 0.7557 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002185/0.6678, allocations: 0.9858 MB / 0.7566 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.668, allocations: 275.8 kB / 0.7569 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.668, allocations: 8 kB / 0.7569 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.6693, allocations: 338.7 kB / 0.7572 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.6696, allocations: 63.91 kB / 0.7573 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.6706, allocations: 1.008 MB / 0.7583 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008507/0.6715, allocations: 108.2 kB / 0.7584 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.6716, allocations: 28.16 kB / 0.7584 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.6716, allocations: 4 kB / 0.7584 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/0.673, allocations: 0.7407 MB / 0.7591 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.673, allocations: 8 kB / 0.7591 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005119/0.6735, allocations: 218.8 kB / 0.7594 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.6738, allocations: 59.91 kB / 0.7594 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.6775, allocations: 3.114 MB / 0.7625 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008462/0.6784, allocations: 95.98 kB / 0.7625 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.6784, allocations: 28 kB / 0.7626 GB, free: 8.5 MB / 0.5762 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006573/0.6791, allocations: 468.7 kB / 0.763 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.6793, allocations: 98.78 kB / 0.7631 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.6806, allocations: 0.7228 MB / 0.7638 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.6806, allocations: 8 kB / 0.7638 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.6806, allocations: 0 / 0.7638 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6806, allocations: 0 / 0.7638 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.683, allocations: 1.616 MB / 0.7654 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.683, allocations: 0 / 0.7654 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.6831, allocations: 23.98 kB / 0.7654 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.6836, allocations: 232.8 kB / 0.7656 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.6836, allocations: 8 kB / 0.7657 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009315/0.6846, allocations: 0.9753 MB / 0.7666 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.6846, allocations: 7.969 kB / 0.7666 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.6858, allocations: 0.837 MB / 0.7674 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.6862, allocations: 227.8 kB / 0.7676 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.6863, allocations: 8 kB / 0.7677 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.6868, allocations: 63.78 kB / 0.7677 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.6868, allocations: 27.91 kB / 0.7677 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.6869, allocations: 11.98 kB / 0.7678 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009998/0.6879, allocations: 0.7877 MB / 0.7685 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6879, allocations: 0 / 0.7685 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001344/0.6892, allocations: 451.4 kB / 0.769 GB, free: 1.754 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004076/0.6896, allocations: 173.1 kB / 0.7691 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001924/0.6916, allocations: 1.059 MB / 0.7702 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6916, allocations: 0 / 0.7702 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.6921, allocations: 243 kB / 0.7704 GB, free: 260 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.694, allocations: 460.1 kB / 0.7708 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.6967, allocations: 1.975 MB / 0.7728 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.6974, allocations: 1.185 MB / 0.7739 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008986/0.6984, allocations: 323.6 kB / 0.7742 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.6985, allocations: 55.44 kB / 0.7743 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6985, allocations: 0 / 0.7743 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of Templates: time 0.03179/0.7303, allocations: 18.36 MB / 0.7922 GB, free: 10.05 MB / 0.6075 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)