Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002509/0.002515, allocations: 356 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.412/1.412, allocations: 165.8 MB / 183.1 MB, free: 5.359 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.686/3.686, allocations: 410.8 MB / 0.6001 GB, free: 15.12 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001767/0.001767, allocations: 190.8 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.00048, allocations: 19.92 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4036, allocations: 67.43 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.738/6.142, allocations: 2.025 GB / 2.834 GB, free: 71.07 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004955/6.142, allocations: 102.7 kB / 2.834 GB, free: 71.02 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.629/14.77, allocations: 1.783 GB / 4.617 GB, free: 43.52 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.977e-06/14.77, allocations: 3.938 kB / 4.617 GB, free: 43.51 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000141/14.77, allocations: 35.92 kB / 4.617 GB, free: 43.48 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004215/14.78, allocations: 1.419 MB / 4.618 GB, free: 42 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/14.78, allocations: 8.031 kB / 4.618 GB, free: 41.99 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/14.78, allocations: 186.5 kB / 4.619 GB, free: 41.81 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/14.78, allocations: 1.096 MB / 4.62 GB, free: 40.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/14.78, allocations: 45 kB / 4.62 GB, free: 40.61 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/14.78, allocations: 56 kB / 4.62 GB, free: 40.56 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/14.78, allocations: 0.7699 MB / 4.62 GB, free: 39.71 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/14.78, allocations: 7.938 kB / 4.62 GB, free: 39.7 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/14.78, allocations: 20 kB / 4.62 GB, free: 39.68 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/14.78, allocations: 19.95 kB / 4.62 GB, free: 39.66 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/14.78, allocations: 0.515 MB / 4.621 GB, free: 39.15 MB / 0.573 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.005538/14.79, allocations: 4.587 MB / 4.625 GB, free: 34.18 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/14.79, allocations: 423.4 kB / 4.626 GB, free: 33.75 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/14.79, allocations: 249.3 kB / 4.626 GB, free: 33.51 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003802/14.79, allocations: 198.2 kB / 4.626 GB, free: 33.28 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006572/14.79, allocations: 299.4 kB / 4.627 GB, free: 32.96 MB / 0.573 GB Notification: Performance of pre-optimization done (n=31): time 3.607e-06/14.79, allocations: 0 / 4.627 GB, free: 32.96 MB / 0.573 GB Notification: Performance of matching and sorting (n=31): time 0.002099/14.79, allocations: 0.6461 MB / 4.627 GB, free: 32.32 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/14.79, allocations: 85.09 kB / 4.627 GB, free: 32.21 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/14.8, allocations: 1.11 MB / 4.628 GB, free: 31.09 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.414e-05/14.8, allocations: 37.7 kB / 4.628 GB, free: 31.04 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/14.8, allocations: 496.3 kB / 4.629 GB, free: 30.55 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/14.8, allocations: 110.5 kB / 4.629 GB, free: 30.44 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/14.8, allocations: 15.94 kB / 4.629 GB, free: 30.43 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/14.8, allocations: 322 kB / 4.629 GB, free: 30.11 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/14.8, allocations: 188.7 kB / 4.629 GB, free: 29.92 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007311/14.8, allocations: 0.5046 MB / 4.63 GB, free: 29.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/14.8, allocations: 288.4 kB / 4.63 GB, free: 28.99 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/14.8, allocations: 4 kB / 4.63 GB, free: 28.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001722/14.8, allocations: 0.6903 MB / 4.631 GB, free: 28.28 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/14.8, allocations: 283.3 kB / 4.631 GB, free: 27.92 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/14.8, allocations: 4 kB / 4.631 GB, free: 27.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/14.8, allocations: 8 kB / 4.631 GB, free: 27.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/14.8, allocations: 115.8 kB / 4.631 GB, free: 27.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/14.8, allocations: 8 kB / 4.631 GB, free: 27.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/14.8, allocations: 107.5 kB / 4.631 GB, free: 27.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.559e-05/14.8, allocations: 28 kB / 4.631 GB, free: 27.66 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/14.8, allocations: 4 kB / 4.631 GB, free: 27.65 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/14.81, allocations: 0.5363 MB / 4.632 GB, free: 27.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/14.81, allocations: 4 kB / 4.632 GB, free: 27.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/14.81, allocations: 11.95 kB / 4.632 GB, free: 27.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/14.81, allocations: 112.4 kB / 4.632 GB, free: 26.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/14.81, allocations: 11.98 kB / 4.632 GB, free: 26.97 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/14.81, allocations: 91.72 kB / 4.632 GB, free: 26.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/14.81, allocations: 24 kB / 4.632 GB, free: 26.86 MB / 0.573 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007696/14.81, allocations: 476.6 kB / 4.633 GB, free: 26.38 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/14.81, allocations: 98.78 kB / 4.633 GB, free: 26.29 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/14.81, allocations: 0.4989 MB / 4.633 GB, free: 25.78 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/14.81, allocations: 4 kB / 4.633 GB, free: 25.78 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/14.81, allocations: 0 / 4.633 GB, free: 25.78 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/14.81, allocations: 8 kB / 4.633 GB, free: 25.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/14.81, allocations: 1.384 MB / 4.635 GB, free: 24.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/14.81, allocations: 4 kB / 4.635 GB, free: 24.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/14.81, allocations: 67.89 kB / 4.635 GB, free: 24.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/14.81, allocations: 4 kB / 4.635 GB, free: 24.23 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/14.81, allocations: 8 kB / 4.635 GB, free: 24.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/14.81, allocations: 8.219 kB / 4.635 GB, free: 24.22 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/14.81, allocations: 3.938 kB / 4.635 GB, free: 24.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/14.81, allocations: 0.61 MB / 4.635 GB, free: 23.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/14.81, allocations: 219.8 kB / 4.636 GB, free: 23.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/14.82, allocations: 11.94 kB / 4.636 GB, free: 23.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008837/14.82, allocations: 59.78 kB / 4.636 GB, free: 23.26 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/14.82, allocations: 27.97 kB / 4.636 GB, free: 23.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/14.82, allocations: 12 kB / 4.636 GB, free: 23.22 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00139/14.82, allocations: 0.7836 MB / 4.636 GB, free: 22.43 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.8e-07/14.82, allocations: 3.938 kB / 4.636 GB, free: 22.43 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001861/14.82, allocations: 483.6 kB / 4.637 GB, free: 21.95 MB / 0.573 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001514/14.82, allocations: 0.9052 MB / 4.638 GB, free: 21.05 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001974/14.82, allocations: 0.7991 MB / 4.639 GB, free: 20.23 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/14.82, allocations: 4 kB / 4.639 GB, free: 20.22 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005563/14.82, allocations: 203.2 kB / 4.639 GB, free: 20.03 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/14.83, allocations: 459.8 kB / 4.639 GB, free: 19.58 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/14.83, allocations: 1.958 MB / 4.641 GB, free: 17.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/14.83, allocations: 1.204 MB / 4.642 GB, free: 16.33 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001904/14.83, allocations: 423.6 kB / 4.643 GB, free: 15.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/14.83, allocations: 75.38 kB / 4.643 GB, free: 15.84 MB / 0.573 GB Notification: Performance of SimCode: time 1.373e-06/14.83, allocations: 0 / 4.643 GB, free: 15.84 MB / 0.573 GB Notification: Performance of Templates: time 0.4817/15.32, allocations: 26.73 MB / 4.669 GB, free: 148.3 MB / 0.573 GB