Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0008534/0.0008533, allocations: 173.5 kB / 326.5 MB, free: 2.707 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.415/1.415, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007817/0.0007816, allocations: 90.23 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 11.62 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.171, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.5196/0.6907, allocations: 165.3 MB / 1.058 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004915/0.6957, allocations: 4.132 MB / 1.062 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.6962, allocations: 20.34 kB / 1.062 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.6969, allocations: 201.5 kB / 1.062 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.6985, allocations: 0.6349 MB / 1.063 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.6998, allocations: 433 kB / 1.063 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003899/0.7037, allocations: 3.807 MB / 1.067 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003466/0.7072, allocations: 2.356 MB / 1.069 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002699/0.7099, allocations: 1.095 MB / 1.071 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.7114, allocations: 0.8804 MB / 1.071 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.7116, allocations: 52 kB / 1.071 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.7136, allocations: 0.8949 MB / 1.072 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.7141, allocations: 336.2 kB / 1.073 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.7152, allocations: 0.5818 MB / 1.073 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.7167, allocations: 1.203 MB / 1.074 GB, free: 1.301 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7167, allocations: 0 / 1.074 GB, free: 1.301 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7167, allocations: 1.312 kB / 1.074 GB, free: 1.301 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.7167, allocations: 0 / 1.074 GB, free: 1.301 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002545/0.7193, allocations: 1.497 MB / 1.076 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.7193, allocations: 10.12 kB / 1.076 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007558/0.7201, allocations: 197.2 kB / 1.076 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.7217, allocations: 0.9285 MB / 1.077 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.7217, allocations: 50.72 kB / 1.077 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.7218, allocations: 65.52 kB / 1.077 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.7232, allocations: 0.9975 MB / 1.078 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.7232, allocations: 4.281 kB / 1.078 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/0.7233, allocations: 23.16 kB / 1.078 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.7233, allocations: 17.25 kB / 1.078 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.7244, allocations: 0.8099 MB / 1.079 GB, free: 15.76 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.004178/0.7286, allocations: 4.817 MB / 1.084 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.731, allocations: 4.017 MB / 1.088 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.7316, allocations: 351.7 kB / 1.088 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.7319, allocations: 198.4 kB / 1.088 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005347/0.7324, allocations: 324.8 kB / 1.088 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004213/0.7329, allocations: 37.12 kB / 1.088 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.7329, allocations: 0 / 1.088 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.005029/0.7379, allocations: 1.791 MB / 1.09 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.738, allocations: 80.14 kB / 1.09 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.7393, allocations: 1.193 MB / 1.091 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.7394, allocations: 38.33 kB / 1.091 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.7398, allocations: 0.5101 MB / 1.092 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/0.7399, allocations: 117 kB / 1.092 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.74, allocations: 47.48 kB / 1.092 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7401, allocations: 330 kB / 1.092 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.7405, allocations: 237.8 kB / 1.093 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.741, allocations: 0.565 MB / 1.093 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.7419, allocations: 0.7027 MB / 1.094 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7419, allocations: 3.594 kB / 1.094 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002254/0.7442, allocations: 1.152 MB / 1.095 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002009/0.7444, allocations: 281 kB / 1.095 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.7444, allocations: 9.438 kB / 1.095 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.7457, allocations: 412.3 kB / 1.096 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.746, allocations: 70.12 kB / 1.096 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.7471, allocations: 1.056 MB / 1.097 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.7481, allocations: 99.36 kB / 1.097 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.7482, allocations: 25.89 kB / 1.097 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.7482, allocations: 2.875 kB / 1.097 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001319/0.7495, allocations: 0.8242 MB / 1.098 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7495, allocations: 7.219 kB / 1.098 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/0.7501, allocations: 262.9 kB / 1.098 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.7504, allocations: 73.28 kB / 1.098 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003417/0.7538, allocations: 3.126 MB / 1.101 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.7549, allocations: 109.2 kB / 1.101 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.7549, allocations: 23.03 kB / 1.101 GB, free: 3.672 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 (35): * Single equations (assignments): 33 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006683/0.7556, allocations: 478 kB / 1.102 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.7557, allocations: 106.8 kB / 1.102 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.757, allocations: 0.8228 MB / 1.103 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.757, allocations: 3.344 kB / 1.103 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.7571, allocations: 3.312 kB / 1.103 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.7571, allocations: 3.234 kB / 1.103 GB, free: 3.309 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.002655/0.7597, allocations: 2.165 MB / 1.105 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7597, allocations: 3.344 kB / 1.105 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.76, allocations: 49.14 kB / 1.105 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.7604, allocations: 218.5 kB / 1.105 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.7604, allocations: 12.41 kB / 1.105 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006371/0.7611, allocations: 0.8872 MB / 1.106 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7611, allocations: 2.688 kB / 1.106 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.7623, allocations: 0.8902 MB / 1.107 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.7626, allocations: 234.1 kB / 1.107 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.7627, allocations: 6.438 kB / 1.107 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.7634, allocations: 76.16 kB / 1.107 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.7635, allocations: 30.97 kB / 1.107 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.7635, allocations: 22.86 kB / 1.107 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009072/0.7644, allocations: 0.8358 MB / 1.108 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7644, allocations: 0 / 1.108 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00133/0.7657, allocations: 0.5099 MB / 1.108 GB, free: 1.305 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 (22): * Single equations (assignments): 19 * 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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004205/0.7662, allocations: 189.7 kB / 1.109 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.7679, allocations: 1.167 MB / 1.11 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7679, allocations: 0 / 1.11 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.7683, allocations: 250.5 kB / 1.11 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/0.7715, allocations: 0.6481 MB / 1.111 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.7747, allocations: 2.239 MB / 1.113 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/0.7757, allocations: 1.212 MB / 1.114 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.7759, allocations: 69.53 kB / 1.114 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.776, allocations: 0 / 1.114 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.03183/0.8078, allocations: 22.3 MB / 1.136 GB, free: 5.75 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)