Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 185.5 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6855/0.6855, allocations: 82.92 MB / 99.42 MB, free: 3.262 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.4 MB / 325.4 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 94.31 kB / 393.6 MB, free: 15.31 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004478, allocations: 8 kB / 471.5 MB, free: 66.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09483, allocations: 67.46 MB / 0.5264 GB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.5424/0.6373, allocations: 140.5 MB / 0.6635 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00665/0.644, allocations: 3.587 MB / 0.667 GB, free: 11.81 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.6445, allocations: 15.78 kB / 0.667 GB, free: 11.8 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008692/0.6454, allocations: 231.1 kB / 0.6673 GB, free: 11.61 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.6479, allocations: 0.6812 MB / 0.6679 GB, free: 11.06 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.6499, allocations: 495.8 kB / 0.6684 GB, free: 10.73 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.6527, allocations: 1.648 MB / 0.67 GB, free: 9.703 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.6564, allocations: 2.327 MB / 0.6723 GB, free: 8.297 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.6584, allocations: 0.8619 MB / 0.6731 GB, free: 7.766 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009544/0.6594, allocations: 0.5966 MB / 0.6737 GB, free: 7.422 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.6595, allocations: 48.91 kB / 0.6738 GB, free: 7.422 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.6609, allocations: 465.7 kB / 0.6742 GB, free: 7.223 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000426/0.6614, allocations: 305.1 kB / 0.6745 GB, free: 7.027 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004359/0.6618, allocations: 246.7 kB / 0.6747 GB, free: 6.898 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.6635, allocations: 1.124 MB / 0.6758 GB, free: 6.215 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.726e-06/0.6635, allocations: 0 / 0.6758 GB, free: 6.215 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.176e-06/0.6635, allocations: 3.938 kB / 0.6758 GB, free: 6.211 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.6635, allocations: 0 / 0.6758 GB, free: 6.211 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003282/0.6668, allocations: 1.508 MB / 0.6773 GB, free: 4.801 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6669, allocations: 8.031 kB / 0.6773 GB, free: 4.793 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.6681, allocations: 198.3 kB / 0.6775 GB, free: 4.598 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.6704, allocations: 0.868 MB / 0.6783 GB, free: 3.672 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.6705, allocations: 49.31 kB / 0.6784 GB, free: 3.625 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.6707, allocations: 64 kB / 0.6784 GB, free: 3.562 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.6728, allocations: 0.9869 MB / 0.6794 GB, free: 2.504 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.6729, allocations: 7.984 kB / 0.6794 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.673, allocations: 24 kB / 0.6794 GB, free: 2.473 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.673, allocations: 16 kB / 0.6795 GB, free: 2.457 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.6749, allocations: 0.8038 MB / 0.6802 GB, free: 1.648 MB / 458.7 MB 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.007304/0.6822, allocations: 4.8 MB / 0.6849 GB, free: 12.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003469/0.6857, allocations: 4.042 MB / 0.6889 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.544e-05/0.6858, allocations: 16.27 kB / 0.6889 GB, free: 7.625 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007815/0.6866, allocations: 337.9 kB / 0.6892 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004166/0.6871, allocations: 31.69 kB / 0.6892 GB, free: 7.242 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 3.353e-06/0.6871, allocations: 0 / 0.6892 GB, free: 7.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.00696/0.6941, allocations: 1.737 MB / 0.6909 GB, free: 5.477 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.6942, allocations: 110.8 kB / 0.691 GB, free: 5.344 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.6963, allocations: 1.177 MB / 0.6922 GB, free: 4.152 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-05/0.6964, allocations: 41.69 kB / 0.6922 GB, free: 4.105 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006063/0.697, allocations: 0.5044 MB / 0.6927 GB, free: 3.598 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.6972, allocations: 122.3 kB / 0.6928 GB, free: 3.477 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.6972, allocations: 12 kB / 0.6929 GB, free: 3.465 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.6974, allocations: 333.9 kB / 0.6932 GB, free: 3.133 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.698, allocations: 205 kB / 0.6934 GB, free: 2.934 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.6989, allocations: 0.537 MB / 0.6939 GB, free: 2.258 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/0.6995, allocations: 329.4 kB / 0.6942 GB, free: 1.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6996, allocations: 0 / 0.6942 GB, free: 1.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00318/0.7028, allocations: 1.073 MB / 0.6953 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.704, allocations: 2.138 MB / 0.6973 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.704, allocations: 11.98 kB / 0.6974 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.7058, allocations: 364.3 kB / 0.6977 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.7062, allocations: 71.89 kB / 0.6978 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.7079, allocations: 1.047 MB / 0.6988 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.7092, allocations: 107.7 kB / 0.6989 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/0.7093, allocations: 27.98 kB / 0.6989 GB, free: 12.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.7093, allocations: 7.938 kB / 0.6989 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002049/0.7114, allocations: 0.8177 MB / 0.6997 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.7114, allocations: 11.98 kB / 0.6997 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009017/0.7123, allocations: 261 kB / 0.7 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.7127, allocations: 72.45 kB / 0.7001 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.7183, allocations: 3.204 MB / 0.7032 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.7195, allocations: 91.81 kB / 0.7033 GB, free: 8.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.7196, allocations: 31.98 kB / 0.7033 GB, free: 8.266 MB / 490.7 MB 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008351/0.7204, allocations: 476.7 kB / 0.7038 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.7207, allocations: 110.6 kB / 0.7039 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.7226, allocations: 0.802 MB / 0.7047 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.7227, allocations: 4 kB / 0.7047 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.873e-06/0.7227, allocations: 0 / 0.7047 GB, free: 6.863 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.7227, allocations: 3.953 kB / 0.7047 GB, free: 6.859 MB / 490.7 MB 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 postOpt removeSimpleEquations (simulation): time 0.004398/0.7271, allocations: 2.225 MB / 0.7068 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.796e-06/0.7271, allocations: 4 kB / 0.7068 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.7275, allocations: 52.12 kB / 0.7069 GB, free: 4.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007201/0.7282, allocations: 212 kB / 0.7071 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.7283, allocations: 12 kB / 0.7071 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.7294, allocations: 0.8867 MB / 0.708 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7295, allocations: 4.031 kB / 0.708 GB, free: 3.305 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.7315, allocations: 0.9784 MB / 0.7089 GB, free: 2.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005898/0.7321, allocations: 235.7 kB / 0.7091 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.7323, allocations: 11.94 kB / 0.7092 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009032/0.7332, allocations: 79.75 kB / 0.7092 GB, free: 1.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.7333, allocations: 35.91 kB / 0.7093 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.7334, allocations: 16 kB / 0.7093 GB, free: 1.859 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001578/0.735, allocations: 0.8289 MB / 0.7101 GB, free: 1.023 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.181e-06/0.735, allocations: 0 / 0.7101 GB, free: 1.023 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002063/0.7371, allocations: 0.5032 MB / 0.7106 GB, free: 0.5195 MB / 490.7 MB 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005431/0.7376, allocations: 198.6 kB / 0.7108 GB, free: 332 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002762/0.7404, allocations: 1.134 MB / 0.7119 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.7404, allocations: 4 kB / 0.7119 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.7412, allocations: 260.6 kB / 0.7121 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/0.745, allocations: 0.641 MB / 0.7128 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.7493, allocations: 2.107 MB / 0.7148 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.7505, allocations: 1.236 MB / 0.716 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001511/0.7521, allocations: 332.6 kB / 0.7163 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.7523, allocations: 63.44 kB / 0.7164 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of SimCode: time 1.517e-06/0.7523, allocations: 0 / 0.7164 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.05165/0.804, allocations: 21.13 MB / 0.737 GB, free: 5.461 MB / 0.5105 GB