Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 183.5 kB / 15.76 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.7109/0.7109, allocations: 82.92 MB / 99.41 MB, free: 3.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.297/2.297, allocations: 205.4 MB / 325.4 MB, free: 3.352 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.001028/0.001028, allocations: 92.36 kB / 393.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004534, allocations: 12 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.09028, allocations: 67.44 MB / 0.5263 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.5017/0.592, allocations: 135.7 MB / 0.6589 GB, free: 2.461 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.5957, allocations: 1.673 MB / 0.6605 GB, free: 1.129 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.5961, allocations: 8.812 kB / 0.6605 GB, free: 1.125 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006967/0.5968, allocations: 176.4 kB / 0.6607 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.5986, allocations: 497.8 kB / 0.6611 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.6004, allocations: 422.1 kB / 0.6615 GB, free: 312 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.6029, allocations: 1.504 MB / 0.663 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003575/0.6065, allocations: 2.19 MB / 0.6652 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.6082, allocations: 0.6981 MB / 0.6658 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007774/0.609, allocations: 489.4 kB / 0.6663 GB, free: 13.36 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.6092, allocations: 33.34 kB / 0.6663 GB, free: 13.36 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.6104, allocations: 418.1 kB / 0.6667 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.6108, allocations: 260.4 kB / 0.667 GB, free: 13.01 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.6111, allocations: 231.9 kB / 0.6672 GB, free: 12.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.6126, allocations: 0.9891 MB / 0.6682 GB, free: 12.29 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.19e-06/0.6127, allocations: 0 / 0.6682 GB, free: 12.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.287e-06/0.6127, allocations: 0 / 0.6682 GB, free: 12.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.6127, allocations: 0 / 0.6682 GB, free: 12.29 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00275/0.6155, allocations: 1.31 MB / 0.6694 GB, free: 11.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.6155, allocations: 12.52 kB / 0.6695 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.6166, allocations: 196.5 kB / 0.6696 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.6187, allocations: 0.7939 MB / 0.6704 GB, free: 10.61 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.6188, allocations: 46.28 kB / 0.6705 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.6189, allocations: 62.02 kB / 0.6705 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.6206, allocations: 0.8156 MB / 0.6713 GB, free: 9.984 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.6206, allocations: 7.188 kB / 0.6713 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.6207, allocations: 21.09 kB / 0.6713 GB, free: 9.965 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.6207, allocations: 17.41 kB / 0.6714 GB, free: 9.961 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.6221, allocations: 0.5771 MB / 0.6719 GB, free: 9.684 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.006028/0.6281, allocations: 4.262 MB / 0.6761 GB, free: 5.617 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.6292, allocations: 454.2 kB / 0.6765 GB, free: 5.164 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.206e-05/0.6293, allocations: 15.98 kB / 0.6765 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007303/0.6301, allocations: 327.9 kB / 0.6769 GB, free: 4.809 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000412/0.6305, allocations: 31.69 kB / 0.6769 GB, free: 4.777 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 5.872e-06/0.6305, allocations: 112 / 0.6769 GB, free: 4.777 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.006882/0.6374, allocations: 1.681 MB / 0.6785 GB, free: 3.066 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.6375, allocations: 114.8 kB / 0.6786 GB, free: 2.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.6398, allocations: 1.15 MB / 0.6798 GB, free: 1.762 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.6399, allocations: 37.7 kB / 0.6798 GB, free: 1.719 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006039/0.6405, allocations: 492.4 kB / 0.6803 GB, free: 1.234 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.6407, allocations: 114.4 kB / 0.6804 GB, free: 1.121 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.6408, allocations: 4 kB / 0.6804 GB, free: 1.117 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6409, allocations: 330 kB / 0.6807 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.6415, allocations: 213 kB / 0.6809 GB, free: 0.582 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/0.6424, allocations: 0.511 MB / 0.6814 GB, free: 15.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.6431, allocations: 334.6 kB / 0.6817 GB, free: 15.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.414e-06/0.6431, allocations: 4 kB / 0.6817 GB, free: 15.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003193/0.6463, allocations: 1.033 MB / 0.6827 GB, free: 14.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.6476, allocations: 2.131 MB / 0.6848 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.6477, allocations: 4 kB / 0.6848 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.6495, allocations: 356.9 kB / 0.6851 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.65, allocations: 91.88 kB / 0.6852 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.6517, allocations: 1.055 MB / 0.6863 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.6531, allocations: 91.81 kB / 0.6864 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-05/0.6532, allocations: 28 kB / 0.6864 GB, free: 10.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6532, allocations: 4 kB / 0.6864 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002067/0.6553, allocations: 0.7903 MB / 0.6872 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.6553, allocations: 4 kB / 0.6872 GB, free: 9.809 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009183/0.6563, allocations: 249.2 kB / 0.6874 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.6568, allocations: 95.8 kB / 0.6875 GB, free: 9.469 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005628/0.6624, allocations: 3.111 MB / 0.6905 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.6637, allocations: 87.81 kB / 0.6906 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/0.6638, allocations: 24 kB / 0.6906 GB, free: 6.113 MB / 474.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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0008376/0.6647, allocations: 480.7 kB / 0.6911 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.665, allocations: 102.8 kB / 0.6912 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.6669, allocations: 0.7566 MB / 0.6919 GB, free: 4.766 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.6669, allocations: 4 kB / 0.6919 GB, free: 4.762 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.957e-06/0.667, allocations: 3.953 kB / 0.6919 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.168e-06/0.667, allocations: 0 / 0.6919 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/0.6695, allocations: 1.17 MB / 0.6931 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.464e-06/0.6696, allocations: 224 / 0.6931 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.6699, allocations: 59.94 kB / 0.6931 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008192/0.6707, allocations: 244.7 kB / 0.6934 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.6708, allocations: 11.98 kB / 0.6934 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.6722, allocations: 1.008 MB / 0.6944 GB, free: 2.168 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/0.6723, allocations: 7.938 kB / 0.6944 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.6744, allocations: 0.9158 MB / 0.6953 GB, free: 1.164 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000626/0.675, allocations: 223.8 kB / 0.6955 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.6752, allocations: 11.98 kB / 0.6955 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/0.6761, allocations: 67.77 kB / 0.6956 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.6762, allocations: 35.91 kB / 0.6956 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.6763, allocations: 15.98 kB / 0.6956 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001545/0.6778, allocations: 0.808 MB / 0.6964 GB, free: 15.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.175e-06/0.6778, allocations: 4 kB / 0.6964 GB, free: 15.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001908/0.6798, allocations: 475.4 kB / 0.6969 GB, free: 15.51 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005328/0.6803, allocations: 171.6 kB / 0.697 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.6833, allocations: 1.123 MB / 0.6981 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.6834, allocations: 0 / 0.6981 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008182/0.6842, allocations: 259.7 kB / 0.6984 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/0.6881, allocations: 0.6212 MB / 0.699 GB, free: 13.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.6924, allocations: 2.007 MB / 0.7009 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.6936, allocations: 1.212 MB / 0.7021 GB, free: 10.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001513/0.6951, allocations: 336.1 kB / 0.7024 GB, free: 9.676 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.6953, allocations: 63.44 kB / 0.7025 GB, free: 9.613 MB / 490.7 MB Notification: Performance of SimCode: time 1.756e-06/0.6953, allocations: 0 / 0.7025 GB, free: 9.613 MB / 490.7 MB Notification: Performance of Templates: time 0.05043/0.7458, allocations: 20.72 MB / 0.7227 GB, free: 5.051 MB / 0.4948 GB