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.00115/0.00115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001373/0.001373, allocations: 189.8 kB / 16.25 MB, free: 6.633 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9971/0.9971, allocations: 135.1 MB / 425.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 72.17 kB / 0.5049 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1626, allocations: 80.92 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4381/0.6008, allocations: 159.4 MB / 0.7395 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005373/0.6062, allocations: 3.596 MB / 0.743 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005585/0.6068, allocations: 13.5 kB / 0.7431 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.6076, allocations: 144.5 kB / 0.7432 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.6093, allocations: 0.4942 MB / 0.7437 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.6107, allocations: 393.5 kB / 0.7441 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.6138, allocations: 2.563 MB / 0.7466 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.6152, allocations: 0.9014 MB / 0.7474 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.6175, allocations: 1.063 MB / 0.7485 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.619, allocations: 0.7567 MB / 0.7492 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.6192, allocations: 54.72 kB / 0.7493 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.6215, allocations: 0.7557 MB / 0.75 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005633/0.6221, allocations: 314.9 kB / 0.7503 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.6232, allocations: 0.5441 MB / 0.7508 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.6251, allocations: 1.417 MB / 0.7522 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6252, allocations: 0 / 0.7522 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6252, allocations: 3.938 kB / 0.7522 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.6252, allocations: 0 / 0.7522 GB, free: 0.9883 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.002168/0.6274, allocations: 1.458 MB / 0.7536 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6274, allocations: 12.03 kB / 0.7537 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007276/0.6281, allocations: 190.4 kB / 0.7538 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.6292, allocations: 0.8023 MB / 0.7546 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.6293, allocations: 41 kB / 0.7547 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/0.6294, allocations: 60 kB / 0.7547 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.6305, allocations: 0.7888 MB / 0.7555 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.6306, allocations: 3.938 kB / 0.7555 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.6306, allocations: 24 kB / 0.7555 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.6306, allocations: 19.92 kB / 0.7555 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009212/0.6316, allocations: 0.5305 MB / 0.7561 GB, free: 12.88 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.00408/0.6357, allocations: 4.583 MB / 0.7605 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.6365, allocations: 424.1 kB / 0.7609 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004052/0.6369, allocations: 247.2 kB / 0.7612 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/0.6372, allocations: 194.2 kB / 0.7614 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.6377, allocations: 299.2 kB / 0.7616 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.315e-06/0.6378, allocations: 0 / 0.7616 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004254/0.642, allocations: 1.316 MB / 0.7629 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.6421, allocations: 81.11 kB / 0.763 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.6439, allocations: 1.118 MB / 0.7641 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.644, allocations: 49.64 kB / 0.7641 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.6444, allocations: 485.2 kB / 0.7646 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.6445, allocations: 106.5 kB / 0.7647 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.6447, allocations: 114 kB / 0.7648 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6449, allocations: 322 kB / 0.7651 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.6453, allocations: 214.4 kB / 0.7653 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/0.646, allocations: 0.5213 MB / 0.7658 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.6469, allocations: 0.6307 MB / 0.7665 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6469, allocations: 0 / 0.7665 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002552/0.6495, allocations: 1.043 MB / 0.7675 GB, free: 452 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.6496, allocations: 33.7 kB / 0.7675 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.6496, allocations: 4 kB / 0.7675 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.6511, allocations: 365 kB / 0.7679 GB, free: 40 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.6514, allocations: 60.17 kB / 0.7679 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.6525, allocations: 1.015 MB / 0.7689 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/0.6535, allocations: 103.5 kB / 0.769 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.6535, allocations: 24 kB / 0.769 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007595/0.6543, allocations: 0.4967 MB / 0.7695 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005379/0.6549, allocations: 492.5 kB / 0.77 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008343/0.6557, allocations: 0.5625 MB / 0.7705 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.6557, allocations: 0 / 0.7705 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001811/0.6575, allocations: 0.8302 MB / 0.7713 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.6576, allocations: 37.64 kB / 0.7714 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6576, allocations: 4.625 kB / 0.7714 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.6582, allocations: 216.6 kB / 0.7716 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.6584, allocations: 63.84 kB / 0.7716 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.6623, allocations: 3.331 MB / 0.7749 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008627/0.6632, allocations: 92.02 kB / 0.775 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.6633, allocations: 24 kB / 0.775 GB, free: 8.281 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.0002162/0.6635, allocations: 216.1 kB / 0.7752 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.6637, allocations: 102.7 kB / 0.7753 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.6651, allocations: 0.7026 MB / 0.776 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6651, allocations: 4 kB / 0.776 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6651, allocations: 0 / 0.776 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6652, allocations: 7.875 kB / 0.776 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.6677, allocations: 1.603 MB / 0.7776 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6678, allocations: 4 kB / 0.7776 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.6679, allocations: 19.98 kB / 0.7776 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.6684, allocations: 239.3 kB / 0.7778 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.6684, allocations: 8 kB / 0.7778 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008805/0.6693, allocations: 0.9737 MB / 0.7788 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6693, allocations: 4.031 kB / 0.7788 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.6706, allocations: 0.8252 MB / 0.7796 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.671, allocations: 219.8 kB / 0.7798 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.6713, allocations: 11.94 kB / 0.7798 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.6718, allocations: 43.95 kB / 0.7799 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.6719, allocations: 23.97 kB / 0.7799 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.672, allocations: 15.98 kB / 0.7799 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001212/0.6732, allocations: 0.7916 MB / 0.7807 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6732, allocations: 0 / 0.7807 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001352/0.6746, allocations: 443.4 kB / 0.7811 GB, free: 1.855 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.0004476/0.675, allocations: 174 kB / 0.7813 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.6771, allocations: 1.081 MB / 0.7823 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6771, allocations: 0 / 0.7823 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005509/0.6777, allocations: 230.5 kB / 0.7825 GB, free: 356 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.6799, allocations: 466.6 kB / 0.783 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.6831, allocations: 2.06 MB / 0.785 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008033/0.6839, allocations: 1.188 MB / 0.7862 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000922/0.6848, allocations: 303.8 kB / 0.7864 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.685, allocations: 59.44 kB / 0.7865 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of SimCode: time 6.92e-07/0.685, allocations: 4 kB / 0.7865 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of Templates: time 0.03303/0.718, allocations: 19.53 MB / 0.8056 GB, free: 8.922 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)