Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003788/0.003792, allocations: 355.9 kB / 15.94 MB, free: 6.211 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.43/1.43, allocations: 165.8 MB / 182.5 MB, free: 5.418 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.69/3.69, allocations: 410.8 MB / 0.5995 GB, free: 15.09 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.001744/0.001744, allocations: 192.5 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 16 kB / 0.7423 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3324, allocations: 67.44 MB / 0.8082 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.5411/0.8735, allocations: 151.3 MB / 0.9559 GB, free: 1.477 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.8774, allocations: 2.207 MB / 0.9581 GB, free: 1.441 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.8778, allocations: 11.38 kB / 0.9581 GB, free: 1.441 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.8785, allocations: 207.2 kB / 0.9583 GB, free: 1.441 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.8807, allocations: 0.7449 MB / 0.959 GB, free: 1.43 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.8822, allocations: 443.1 kB / 0.9595 GB, free: 1.426 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003787/0.886, allocations: 3.24 MB / 0.9626 GB, free: 1.422 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003075/0.8891, allocations: 2.18 MB / 0.9648 GB, free: 1.195 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.891, allocations: 0.9528 MB / 0.9657 GB, free: 1.027 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.8921, allocations: 0.8424 MB / 0.9665 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.8922, allocations: 50.84 kB / 0.9666 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.8937, allocations: 0.5831 MB / 0.9671 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.894, allocations: 334.1 kB / 0.9674 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.8944, allocations: 241.7 kB / 0.9677 GB, free: 0.707 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.8957, allocations: 1.186 MB / 0.9688 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8957, allocations: 0 / 0.9688 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.263e-06/0.8958, allocations: 0 / 0.9688 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.8958, allocations: 0 / 0.9688 GB, free: 0.5898 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002962/0.8988, allocations: 1.514 MB / 0.9703 GB, free: 15.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.8988, allocations: 12.48 kB / 0.9703 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009997/0.8998, allocations: 201.3 kB / 0.9705 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.9018, allocations: 0.8648 MB / 0.9714 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.9019, allocations: 55.55 kB / 0.9714 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.902, allocations: 64.19 kB / 0.9715 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.9039, allocations: 0.9912 MB / 0.9724 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.9039, allocations: 11.94 kB / 0.9724 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/0.904, allocations: 26.28 kB / 0.9725 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.904, allocations: 14.91 kB / 0.9725 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.9057, allocations: 0.8008 MB / 0.9733 GB, free: 14.62 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 preOpt removeSimpleEquations (simulation): time 0.006498/0.9122, allocations: 4.813 MB / 0.978 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.9155, allocations: 4.016 MB / 0.9819 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/0.9162, allocations: 369.9 kB / 0.9822 GB, free: 6.359 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003482/0.9166, allocations: 191.7 kB / 0.9824 GB, free: 6.164 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006428/0.9173, allocations: 333.8 kB / 0.9827 GB, free: 6.016 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004485/0.9177, allocations: 35.25 kB / 0.9828 GB, free: 6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.698e-06/0.9178, allocations: 0 / 0.9828 GB, free: 6 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.00605/0.9238, allocations: 1.598 MB / 0.9843 GB, free: 5.309 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.9239, allocations: 85.14 kB / 0.9844 GB, free: 5.215 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.9257, allocations: 1.176 MB / 0.9856 GB, free: 4.844 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/0.9259, allocations: 37.17 kB / 0.9856 GB, free: 4.812 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.9264, allocations: 0.515 MB / 0.9861 GB, free: 4.594 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.9265, allocations: 124.8 kB / 0.9862 GB, free: 4.504 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.9266, allocations: 17 kB / 0.9862 GB, free: 4.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.9268, allocations: 329.4 kB / 0.9866 GB, free: 4.184 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.9273, allocations: 205.2 kB / 0.9868 GB, free: 4.141 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.9281, allocations: 0.539 MB / 0.9873 GB, free: 3.699 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.9287, allocations: 319.5 kB / 0.9876 GB, free: 3.598 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.032e-06/0.9287, allocations: 2.688 kB / 0.9876 GB, free: 3.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003004/0.9317, allocations: 1.034 MB / 0.9886 GB, free: 3.215 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002562/0.932, allocations: 273.6 kB / 0.9889 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.9321, allocations: 5.438 kB / 0.9889 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.9336, allocations: 336.6 kB / 0.9892 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.9342, allocations: 106.4 kB / 0.9893 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.9355, allocations: 0.9976 MB / 0.9903 GB, free: 2.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.9369, allocations: 105.4 kB / 0.9904 GB, free: 2.086 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.937, allocations: 29.17 kB / 0.9904 GB, free: 2.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.937, allocations: 2.688 kB / 0.9904 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001838/0.9388, allocations: 0.7941 MB / 0.9912 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.9389, allocations: 9.688 kB / 0.9912 GB, free: 1.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007644/0.9397, allocations: 241.7 kB / 0.9914 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.9401, allocations: 101 kB / 0.9915 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/0.9448, allocations: 2.927 MB / 0.9944 GB, free: 15.97 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.9461, allocations: 107.2 kB / 0.9945 GB, free: 15.93 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.9462, allocations: 22.38 kB / 0.9945 GB, free: 15.93 MB / 0.4949 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_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 (38): * Single equations (assignments): 36 * 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.0008089/0.947, allocations: 474.8 kB / 0.9949 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.9472, allocations: 110.7 kB / 0.995 GB, free: 15.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.949, allocations: 0.7934 MB / 0.9958 GB, free: 15.33 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.54e-06/0.949, allocations: 3.188 kB / 0.9958 GB, free: 15.33 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.131e-06/0.949, allocations: 2.969 kB / 0.9958 GB, free: 15.33 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.129e-06/0.949, allocations: 7.984 kB / 0.9958 GB, free: 15.32 MB / 0.4949 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 postOpt removeSimpleEquations (simulation): time 0.003829/0.9529, allocations: 2.126 MB / 0.9979 GB, free: 14.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.426e-06/0.9529, allocations: 1.844 kB / 0.9979 GB, free: 14.14 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.9533, allocations: 82.08 kB / 0.998 GB, free: 14.12 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/0.9539, allocations: 173.8 kB / 0.9982 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.9539, allocations: 11.66 kB / 0.9982 GB, free: 14.06 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009534/0.9549, allocations: 0.8544 MB / 0.999 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.392e-06/0.9549, allocations: 6.031 kB / 0.999 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.9566, allocations: 0.8594 MB / 0.9998 GB, free: 13.04 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.9571, allocations: 232.6 kB / 1 GB, free: 12.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.9573, allocations: 13.8 kB / 1 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008699/0.9582, allocations: 73.11 kB / 1 GB, free: 12.83 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.9583, allocations: 40.88 kB / 1 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.9583, allocations: 11.28 kB / 1 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001363/0.9597, allocations: 0.8308 MB / 1.001 GB, free: 12.54 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.009e-06/0.9597, allocations: 0 / 1.001 GB, free: 12.54 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002647/0.9624, allocations: 0.503 MB / 1.001 GB, free: 12.5 MB / 0.4949 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_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 (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008052/0.9632, allocations: 197.7 kB / 1.002 GB, free: 12.36 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.004157/0.9674, allocations: 1.13 MB / 1.003 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.883e-06/0.9675, allocations: 0 / 1.003 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.9686, allocations: 246.8 kB / 1.003 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006554/0.9751, allocations: 0.6444 MB / 1.004 GB, free: 11.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.979, allocations: 2.112 MB / 1.006 GB, free: 10.06 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.9802, allocations: 1.236 MB / 1.007 GB, free: 8.852 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001558/0.9818, allocations: 360.4 kB / 1.007 GB, free: 8.496 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.982, allocations: 71.42 kB / 1.007 GB, free: 8.426 MB / 0.4949 GB Notification: Performance of SimCode: time 1.695e-06/0.982, allocations: 0 / 1.007 GB, free: 8.426 MB / 0.4949 GB Notification: Performance of Templates: time 0.04928/1.031, allocations: 20.84 MB / 1.028 GB, free: 3.848 MB / 0.5105 GB