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.001384/0.001387, allocations: 186.7 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.7636/0.7636, allocations: 82.93 MB / 99.42 MB, free: 3.32 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.386/2.386, allocations: 205.4 MB / 325.4 MB, free: 3.301 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.001034/0.001034, allocations: 94.84 kB / 393.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004719, allocations: 16 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08986/0.09036, allocations: 67.46 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.5176/0.608, allocations: 140.5 MB / 0.6635 GB, free: 14.56 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.6126, allocations: 2.133 MB / 0.6656 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.6131, allocations: 15.44 kB / 0.6656 GB, free: 12.85 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.6141, allocations: 239.1 kB / 0.6659 GB, free: 12.65 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.6166, allocations: 0.6785 MB / 0.6665 GB, free: 12.11 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.6184, allocations: 449.7 kB / 0.6669 GB, free: 11.8 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002877/0.6213, allocations: 1.644 MB / 0.6686 GB, free: 10.78 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004219/0.6256, allocations: 2.317 MB / 0.6708 GB, free: 9.383 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.6278, allocations: 0.8563 MB / 0.6717 GB, free: 8.855 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.6293, allocations: 0.6041 MB / 0.6722 GB, free: 8.504 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.6296, allocations: 49.66 kB / 0.6723 GB, free: 8.504 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.6314, allocations: 0.6153 MB / 0.6729 GB, free: 8.219 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005114/0.632, allocations: 313.4 kB / 0.6732 GB, free: 8.016 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.6325, allocations: 243.4 kB / 0.6734 GB, free: 7.891 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.6344, allocations: 1.17 MB / 0.6746 GB, free: 7.184 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.523e-06/0.6344, allocations: 0 / 0.6746 GB, free: 7.184 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.249e-06/0.6345, allocations: 0 / 0.6746 GB, free: 7.184 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.6345, allocations: 2.5 kB / 0.6746 GB, free: 7.184 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003283/0.6378, allocations: 1.521 MB / 0.6761 GB, free: 6.004 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.6378, allocations: 8.031 kB / 0.6761 GB, free: 5.996 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.639, allocations: 198.3 kB / 0.6762 GB, free: 5.801 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.6413, allocations: 0.8639 MB / 0.6771 GB, free: 4.883 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.6414, allocations: 49.31 kB / 0.6771 GB, free: 4.836 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.6415, allocations: 64 kB / 0.6772 GB, free: 4.773 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/0.6437, allocations: 0.987 MB / 0.6782 GB, free: 3.711 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.6438, allocations: 11.95 kB / 0.6782 GB, free: 3.699 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.6439, allocations: 28 kB / 0.6782 GB, free: 3.672 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.6439, allocations: 12 kB / 0.6782 GB, free: 3.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.6459, allocations: 0.8038 MB / 0.679 GB, free: 2.852 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.007192/0.6531, allocations: 4.812 MB / 0.6837 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/0.6568, allocations: 4.039 MB / 0.6876 GB, free: 8.836 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.657, allocations: 12.28 kB / 0.6877 GB, free: 8.824 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008104/0.6578, allocations: 333.8 kB / 0.688 GB, free: 8.477 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004451/0.6582, allocations: 39.67 kB / 0.688 GB, free: 8.438 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 3.243e-06/0.6583, allocations: 4 kB / 0.688 GB, free: 8.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.006447/0.6647, allocations: 1.585 MB / 0.6896 GB, free: 6.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.6648, allocations: 110.8 kB / 0.6897 GB, free: 6.688 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.6671, allocations: 1.18 MB / 0.6908 GB, free: 5.492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.6673, allocations: 33.7 kB / 0.6909 GB, free: 5.453 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/0.6679, allocations: 0.5122 MB / 0.6914 GB, free: 4.938 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6681, allocations: 122.3 kB / 0.6915 GB, free: 4.816 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.6682, allocations: 12 kB / 0.6915 GB, free: 4.805 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.6683, allocations: 322 kB / 0.6918 GB, free: 4.484 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005676/0.6689, allocations: 212.9 kB / 0.692 GB, free: 4.277 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008869/0.6698, allocations: 0.5293 MB / 0.6925 GB, free: 3.609 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.6706, allocations: 333.3 kB / 0.6928 GB, free: 3.277 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.432e-06/0.6706, allocations: 4 kB / 0.6928 GB, free: 3.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003236/0.6738, allocations: 1.033 MB / 0.6938 GB, free: 2.223 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001242/0.6751, allocations: 2.135 MB / 0.6959 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.6752, allocations: 8 kB / 0.6959 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.6769, allocations: 335.7 kB / 0.6963 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.6774, allocations: 107.9 kB / 0.6964 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.679, allocations: 1.001 MB / 0.6973 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.6803, allocations: 103.8 kB / 0.6974 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/0.6805, allocations: 27.98 kB / 0.6975 GB, free: 14.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6805, allocations: 5.875 kB / 0.6975 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002088/0.6826, allocations: 0.7787 MB / 0.6982 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6826, allocations: 8 kB / 0.6982 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008187/0.6835, allocations: 229.1 kB / 0.6984 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.684, allocations: 111.8 kB / 0.6986 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005258/0.6893, allocations: 3.005 MB / 0.7015 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.6906, allocations: 99.8 kB / 0.7016 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.6907, allocations: 24 kB / 0.7016 GB, free: 9.938 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 (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.0008231/0.6915, allocations: 476.7 kB / 0.7021 GB, free: 9.461 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.6917, allocations: 110.6 kB / 0.7022 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.6937, allocations: 0.7708 MB / 0.7029 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.65e-06/0.6937, allocations: 4 kB / 0.7029 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.2e-06/0.6937, allocations: 0 / 0.7029 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.6938, allocations: 3.984 kB / 0.7029 GB, free: 8.562 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.004446/0.6982, allocations: 2.197 MB / 0.7051 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.461e-06/0.6983, allocations: 0 / 0.7051 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.6987, allocations: 84.09 kB / 0.7052 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005933/0.6993, allocations: 176.7 kB / 0.7053 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.6994, allocations: 16 kB / 0.7053 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.7005, allocations: 0.8612 MB / 0.7062 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7005, allocations: 4.031 kB / 0.7062 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.7025, allocations: 0.943 MB / 0.7071 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.7031, allocations: 235.7 kB / 0.7073 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.7033, allocations: 12 kB / 0.7073 GB, free: 3.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/0.7042, allocations: 75.75 kB / 0.7074 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.7043, allocations: 35.91 kB / 0.7074 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.7044, allocations: 15.94 kB / 0.7075 GB, free: 3.652 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001593/0.706, allocations: 0.8249 MB / 0.7083 GB, free: 2.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.39e-07/0.706, allocations: 0 / 0.7083 GB, free: 2.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002009/0.708, allocations: 0.5032 MB / 0.7088 GB, free: 2.316 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 (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.0006078/0.7087, allocations: 196.8 kB / 0.7089 GB, free: 2.121 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.7117, allocations: 1.141 MB / 0.7101 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.724e-06/0.7117, allocations: 4 kB / 0.7101 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.7124, allocations: 247.7 kB / 0.7103 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/0.7163, allocations: 0.6371 MB / 0.7109 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.7206, allocations: 2.092 MB / 0.713 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.7219, allocations: 1.236 MB / 0.7142 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001603/0.7235, allocations: 356.5 kB / 0.7145 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.7238, allocations: 67.44 kB / 0.7146 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.852e-06/0.7238, allocations: 0 / 0.7146 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.05106/0.7748, allocations: 20.84 MB / 0.7349 GB, free: 7.559 MB / 0.5105 GB