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.001222/0.001222, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00124/0.00124, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9345/0.9345, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 61.03 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1767, allocations: 81.04 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4266/0.6033, allocations: 159.4 MB / 0.7401 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00513/0.6085, allocations: 3.6 MB / 0.7437 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.6089, allocations: 13.44 kB / 0.7437 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006089/0.6096, allocations: 140 kB / 0.7438 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.6111, allocations: 0.496 MB / 0.7443 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.6123, allocations: 395.9 kB / 0.7447 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.6149, allocations: 2.555 MB / 0.7472 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.616, allocations: 0.9017 MB / 0.748 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.6177, allocations: 1.067 MB / 0.7491 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007668/0.6184, allocations: 0.7581 MB / 0.7498 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.6185, allocations: 53.94 kB / 0.7499 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.6199, allocations: 0.75 MB / 0.7506 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.6203, allocations: 318.8 kB / 0.7509 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006244/0.6209, allocations: 0.5402 MB / 0.7514 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.6226, allocations: 1.421 MB / 0.7528 GB, free: 172 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6226, allocations: 0 / 0.7528 GB, free: 172 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6226, allocations: 0 / 0.7528 GB, free: 172 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.6226, allocations: 0 / 0.7528 GB, free: 172 kB / 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.002381/0.625, allocations: 1.462 MB / 0.7543 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.625, allocations: 8.031 kB / 0.7543 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007759/0.6258, allocations: 186.5 kB / 0.7544 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.6271, allocations: 0.8062 MB / 0.7552 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.6272, allocations: 44.98 kB / 0.7553 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/0.6273, allocations: 60 kB / 0.7553 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.6285, allocations: 0.799 MB / 0.7561 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.6286, allocations: 0 / 0.7561 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.6286, allocations: 24 kB / 0.7561 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.6286, allocations: 19.88 kB / 0.7562 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009296/0.6296, allocations: 0.5305 MB / 0.7567 GB, free: 12.05 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.004323/0.6339, allocations: 4.591 MB / 0.7612 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.6347, allocations: 420.5 kB / 0.7616 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/0.6351, allocations: 246.2 kB / 0.7618 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/0.6354, allocations: 190.2 kB / 0.762 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005421/0.636, allocations: 301 kB / 0.7623 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.636, allocations: 0 / 0.7623 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003896/0.6399, allocations: 1.311 MB / 0.7635 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/0.64, allocations: 81.11 kB / 0.7636 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.6414, allocations: 1.122 MB / 0.7647 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.6415, allocations: 37.7 kB / 0.7647 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.642, allocations: 488.2 kB / 0.7652 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.6421, allocations: 106.5 kB / 0.7653 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.6422, allocations: 114 kB / 0.7654 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6424, allocations: 330 kB / 0.7657 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.6428, allocations: 218.4 kB / 0.7659 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006565/0.6435, allocations: 0.5096 MB / 0.7664 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/0.6444, allocations: 0.633 MB / 0.7671 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6444, allocations: 0 / 0.7671 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00229/0.6467, allocations: 1.044 MB / 0.7681 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.6467, allocations: 37.83 kB / 0.7681 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.6468, allocations: 4 kB / 0.7681 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.6481, allocations: 360.4 kB / 0.7685 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.6484, allocations: 67.84 kB / 0.7685 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.6494, allocations: 1.011 MB / 0.7695 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000609/0.6501, allocations: 95.52 kB / 0.7696 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.6501, allocations: 24 kB / 0.7696 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006572/0.6508, allocations: 0.493 MB / 0.7701 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005979/0.6514, allocations: 489.9 kB / 0.7706 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007687/0.6522, allocations: 0.5745 MB / 0.7711 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.6522, allocations: 0 / 0.7711 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001471/0.6537, allocations: 0.8264 MB / 0.7719 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.6537, allocations: 39.83 kB / 0.772 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6537, allocations: 8 kB / 0.772 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.6542, allocations: 208.8 kB / 0.7722 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.6544, allocations: 59.84 kB / 0.7723 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.6584, allocations: 3.342 MB / 0.7755 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005993/0.659, allocations: 88.02 kB / 0.7756 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.659, allocations: 20 kB / 0.7756 GB, free: 7.441 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 (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.0001887/0.6592, allocations: 216.7 kB / 0.7758 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6593, allocations: 106.7 kB / 0.7759 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.6606, allocations: 0.6986 MB / 0.7766 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.6606, allocations: 8 kB / 0.7766 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6606, allocations: 3.984 kB / 0.7766 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6606, allocations: 0 / 0.7766 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.663, allocations: 1.611 MB / 0.7782 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.663, allocations: 0 / 0.7782 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.6631, allocations: 23.98 kB / 0.7782 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.6636, allocations: 231.4 kB / 0.7784 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.6636, allocations: 8 kB / 0.7784 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009399/0.6646, allocations: 0.9737 MB / 0.7794 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6646, allocations: 8.031 kB / 0.7794 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.6658, allocations: 0.8219 MB / 0.7802 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.6661, allocations: 215.8 kB / 0.7804 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.6662, allocations: 15.92 kB / 0.7804 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.6667, allocations: 47.95 kB / 0.7805 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.698e-05/0.6668, allocations: 28 kB / 0.7805 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.6668, allocations: 20 kB / 0.7805 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000988/0.6678, allocations: 0.7916 MB / 0.7813 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6678, allocations: 0 / 0.7813 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001127/0.6689, allocations: 435.4 kB / 0.7817 GB, free: 1.012 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 (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.0004222/0.6694, allocations: 182.1 kB / 0.7819 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.6713, allocations: 1.079 MB / 0.7829 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6713, allocations: 4 kB / 0.7829 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.6718, allocations: 239.6 kB / 0.7832 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.6735, allocations: 469 kB / 0.7836 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.6763, allocations: 2.06 MB / 0.7856 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008337/0.6772, allocations: 1.184 MB / 0.7868 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008197/0.678, allocations: 303.8 kB / 0.7871 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.6781, allocations: 59.44 kB / 0.7871 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.6781, allocations: 0 / 0.7871 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Templates: time 0.03621/0.7144, allocations: 19.52 MB / 0.8062 GB, free: 8.086 MB / 0.6231 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)