Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000979/0.000979, allocations: 175.1 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007495/0.0007495, allocations: 97.83 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 10.19 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1667, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.5265/0.6932, allocations: 165.3 MB / 1.058 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003292/0.6966, allocations: 2.27 MB / 1.06 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004114/0.697, allocations: 12.66 kB / 1.06 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000654/0.6977, allocations: 198.6 kB / 1.061 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.6992, allocations: 0.6345 MB / 1.061 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.7004, allocations: 396.5 kB / 1.062 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003799/0.7043, allocations: 3.795 MB / 1.065 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/0.7076, allocations: 2.346 MB / 1.068 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.7104, allocations: 1.09 MB / 1.069 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.7121, allocations: 0.8818 MB / 1.07 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.7124, allocations: 48.25 kB / 1.07 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.7145, allocations: 0.899 MB / 1.07 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005308/0.715, allocations: 335.2 kB / 1.071 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.7162, allocations: 0.5841 MB / 1.071 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.7179, allocations: 1.192 MB / 1.072 GB, free: 1.309 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7179, allocations: 3.688 kB / 1.073 GB, free: 1.309 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.275e-06/0.7179, allocations: 0 / 1.073 GB, free: 1.309 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.852e-05/0.718, allocations: 4 kB / 1.073 GB, free: 1.305 MB / 0.698 GB 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.003115/0.7211, allocations: 1.496 MB / 1.074 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7211, allocations: 8.375 kB / 1.074 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.722, allocations: 202.8 kB / 1.074 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.7236, allocations: 0.9126 MB / 1.075 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.7237, allocations: 47.56 kB / 1.075 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.7238, allocations: 67.42 kB / 1.075 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.7252, allocations: 1.001 MB / 1.076 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.7253, allocations: 6.188 kB / 1.076 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.7253, allocations: 26.16 kB / 1.076 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.7253, allocations: 18.22 kB / 1.076 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.7266, allocations: 0.8071 MB / 1.077 GB, free: 15.78 MB / 0.7136 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.004323/0.7309, allocations: 4.829 MB / 1.082 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.7331, allocations: 4.013 MB / 1.086 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.7336, allocations: 355.2 kB / 1.086 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.7339, allocations: 195.5 kB / 1.086 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/0.7345, allocations: 325.7 kB / 1.086 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005307/0.735, allocations: 28.62 kB / 1.086 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.735, allocations: 0 / 1.086 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.004668/0.7397, allocations: 1.623 MB / 1.088 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.7398, allocations: 88.23 kB / 1.088 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.7412, allocations: 1.185 MB / 1.089 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.574e-05/0.7413, allocations: 38.73 kB / 1.089 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.7417, allocations: 0.5123 MB / 1.09 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.7418, allocations: 120.9 kB / 1.09 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.7419, allocations: 46.44 kB / 1.09 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.742, allocations: 332.2 kB / 1.09 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.7424, allocations: 236.1 kB / 1.091 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.743, allocations: 0.562 MB / 1.091 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/0.7438, allocations: 0.7038 MB / 1.092 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.7438, allocations: 3.312 kB / 1.092 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002171/0.746, allocations: 1.13 MB / 1.093 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.7462, allocations: 277.2 kB / 1.093 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.7462, allocations: 6.906 kB / 1.093 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.7474, allocations: 368.4 kB / 1.094 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.7477, allocations: 110.1 kB / 1.094 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009692/0.7487, allocations: 1.01 MB / 1.095 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.7498, allocations: 103 kB / 1.095 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.7499, allocations: 26.02 kB / 1.095 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.7499, allocations: 3.531 kB / 1.095 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/0.7513, allocations: 0.7956 MB / 1.096 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.7513, allocations: 7.094 kB / 1.096 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/0.7518, allocations: 235.4 kB / 1.096 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.7522, allocations: 103.1 kB / 1.096 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.7555, allocations: 2.931 MB / 1.099 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.7568, allocations: 100.7 kB / 1.099 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.7568, allocations: 28.17 kB / 1.099 GB, free: 3.738 MB / 0.7136 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0008347/0.7577, allocations: 479.1 kB / 1.099 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.7579, allocations: 104.5 kB / 1.099 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.7593, allocations: 0.7901 MB / 1.1 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.7593, allocations: 2.844 kB / 1.1 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7593, allocations: 0 / 1.1 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7593, allocations: 3 kB / 1.1 GB, free: 3.387 MB / 0.7136 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.00296/0.7623, allocations: 2.131 MB / 1.102 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7623, allocations: 2.844 kB / 1.102 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.7626, allocations: 81.83 kB / 1.102 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/0.763, allocations: 184.8 kB / 1.102 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.763, allocations: 6.625 kB / 1.102 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006866/0.7637, allocations: 0.8646 MB / 1.103 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7637, allocations: 0 / 1.103 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.7649, allocations: 0.8645 MB / 1.104 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.7654, allocations: 225.3 kB / 1.104 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.7655, allocations: 19.23 kB / 1.104 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.7662, allocations: 80.62 kB / 1.104 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.7663, allocations: 31.02 kB / 1.105 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.7663, allocations: 12.84 kB / 1.105 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001045/0.7674, allocations: 0.8366 MB / 1.105 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7674, allocations: 0 / 1.105 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001576/0.769, allocations: 0.5055 MB / 1.106 GB, free: 1.406 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004283/0.7694, allocations: 187.1 kB / 1.106 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.7714, allocations: 1.162 MB / 1.107 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7714, allocations: 0 / 1.107 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.7718, allocations: 247.2 kB / 1.107 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/0.7752, allocations: 0.648 MB / 1.108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.7785, allocations: 2.244 MB / 1.11 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/0.7793, allocations: 1.209 MB / 1.111 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.7795, allocations: 74.31 kB / 1.111 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of SimCode: time 9.61e-07/0.7795, allocations: 0 / 1.111 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.03169/0.8112, allocations: 22.38 MB / 1.133 GB, free: 6.098 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)