Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002198/0.002198, allocations: 186.2 kB / 15.77 MB, free: 6.375 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.7967/0.7967, allocations: 82.94 MB / 99.43 MB, free: 2.227 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.092/2.092, allocations: 205.4 MB / 325.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001927/0.001926, allocations: 99.83 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004705, allocations: 20 kB / 471.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3827, allocations: 67.42 MB / 0.5264 GB, free: 55.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1901/0.5729, allocations: 135.7 MB / 0.6589 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006321/0.5792, allocations: 3.099 MB / 0.6619 GB, free: 7.762 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.5797, allocations: 19.88 kB / 0.6619 GB, free: 7.742 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007376/0.5804, allocations: 183.1 kB / 0.6621 GB, free: 7.562 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.5823, allocations: 0.4907 MB / 0.6626 GB, free: 7.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.5842, allocations: 446.8 kB / 0.663 GB, free: 6.641 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.5869, allocations: 1.511 MB / 0.6645 GB, free: 5.129 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.5884, allocations: 0.6994 MB / 0.6651 GB, free: 4.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.5901, allocations: 0.7007 MB / 0.6658 GB, free: 3.707 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009071/0.591, allocations: 497.8 kB / 0.6663 GB, free: 3.219 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.5912, allocations: 32 kB / 0.6663 GB, free: 3.188 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.5932, allocations: 411.4 kB / 0.6667 GB, free: 2.785 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007184/0.594, allocations: 259.1 kB / 0.667 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007669/0.5948, allocations: 241.1 kB / 0.6672 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002833/0.5976, allocations: 0.9704 MB / 0.6682 GB, free: 1.316 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.733e-06/0.5977, allocations: 0 / 0.6682 GB, free: 1.316 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.32e-06/0.5977, allocations: 0 / 0.6682 GB, free: 1.316 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.5978, allocations: 0 / 0.6682 GB, free: 1.316 MB / 490.7 MB 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.004707/0.6025, allocations: 1.288 MB / 0.6694 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.6026, allocations: 8.031 kB / 0.6694 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.6045, allocations: 186.5 kB / 0.6696 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/0.6078, allocations: 0.7924 MB / 0.6704 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.6079, allocations: 41 kB / 0.6704 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.608, allocations: 60 kB / 0.6705 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.6098, allocations: 0.7887 MB / 0.6712 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6098, allocations: 0 / 0.6712 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.6099, allocations: 31.77 kB / 0.6713 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.61, allocations: 12 kB / 0.6713 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.6114, allocations: 0.5423 MB / 0.6718 GB, free: 13.38 MB / 0.4948 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.006552/0.618, allocations: 4.595 MB / 0.6763 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.6192, allocations: 451.5 kB / 0.6767 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.6193, allocations: 15.97 kB / 0.6767 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007371/0.6201, allocations: 305.7 kB / 0.677 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.499e-06/0.6201, allocations: 0 / 0.677 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.005442/0.6255, allocations: 1.33 MB / 0.6783 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.6257, allocations: 114.7 kB / 0.6784 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.6279, allocations: 1.114 MB / 0.6795 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.6281, allocations: 37.7 kB / 0.6796 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006143/0.6287, allocations: 496.1 kB / 0.68 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.6289, allocations: 106.5 kB / 0.6801 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.6289, allocations: 8 kB / 0.6801 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.6291, allocations: 325.9 kB / 0.6805 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.6297, allocations: 192.7 kB / 0.6806 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.6306, allocations: 0.494 MB / 0.6811 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.6313, allocations: 294.7 kB / 0.6814 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.362e-06/0.6313, allocations: 4 kB / 0.6814 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003241/0.6346, allocations: 0.9907 MB / 0.6824 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001279/0.6359, allocations: 2.133 MB / 0.6845 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.6359, allocations: 8 kB / 0.6845 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.6378, allocations: 332.4 kB / 0.6848 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.6382, allocations: 67.84 kB / 0.6848 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.6399, allocations: 1.01 MB / 0.6858 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.6411, allocations: 107.4 kB / 0.6859 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.6412, allocations: 28 kB / 0.686 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6412, allocations: 4 kB / 0.686 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002145/0.6434, allocations: 0.7278 MB / 0.6867 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6434, allocations: 11.94 kB / 0.6867 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000797/0.6442, allocations: 218.6 kB / 0.6869 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.6446, allocations: 59.91 kB / 0.687 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/0.6505, allocations: 3.185 MB / 0.6901 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.6516, allocations: 103.5 kB / 0.6902 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/0.6518, allocations: 20 kB / 0.6902 GB, free: 9.535 MB / 0.5105 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.0008628/0.6526, allocations: 464.7 kB / 0.6906 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.6529, allocations: 98.78 kB / 0.6907 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.6548, allocations: 0.6972 MB / 0.6914 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.6548, allocations: 4 kB / 0.6914 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.894e-06/0.6549, allocations: 0 / 0.6914 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6549, allocations: 7.984 kB / 0.6914 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.6574, allocations: 1.095 MB / 0.6925 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.58e-06/0.6574, allocations: 4 kB / 0.6925 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.6576, allocations: 23.98 kB / 0.6925 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007736/0.6584, allocations: 233.2 kB / 0.6927 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.6585, allocations: 15.92 kB / 0.6927 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.6599, allocations: 0.9808 MB / 0.6937 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.328e-06/0.66, allocations: 3.938 kB / 0.6937 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.662, allocations: 0.8519 MB / 0.6945 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/0.6626, allocations: 215.8 kB / 0.6947 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.6628, allocations: 8 kB / 0.6948 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.6635, allocations: 63.78 kB / 0.6948 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.6637, allocations: 35.86 kB / 0.6949 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.6637, allocations: 15.98 kB / 0.6949 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00163/0.6654, allocations: 0.7838 MB / 0.6956 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.029e-06/0.6654, allocations: 0 / 0.6956 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001859/0.6673, allocations: 459.4 kB / 0.6961 GB, free: 3.273 MB / 0.5105 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.0005225/0.6678, allocations: 170.5 kB / 0.6962 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002798/0.6706, allocations: 1.052 MB / 0.6973 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.575e-06/0.6707, allocations: 0 / 0.6973 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/0.6715, allocations: 239 kB / 0.6975 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.6741, allocations: 462.8 kB / 0.6979 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3202/0.9943, allocations: 1.967 MB / 0.6998 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.9954, allocations: 1.205 MB / 0.701 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001452/0.9969, allocations: 321.3 kB / 0.7013 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.9971, allocations: 56.89 kB / 0.7014 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.889e-06/0.9971, allocations: 0 / 0.7014 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.04356/1.041, allocations: 18.37 MB / 0.7193 GB, free: 153.5 MB / 0.5105 GB