Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 252 MB / 267.6 MB, free: 10.93 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.001226/0.001226, allocations: 176.5 kB / 327.3 MB, free: 2.223 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.574/1.574, allocations: 205.4 MB / 0.5783 GB, free: 20.54 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.0006731/0.0006732, allocations: 81.25 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 11.91 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2067, allocations: 106.3 MB / 0.9008 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1537/0.3604, allocations: 152.5 MB / 1.05 GB, free: 7.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.3639, allocations: 2.109 MB / 1.052 GB, free: 5.355 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.3642, allocations: 15.88 kB / 1.052 GB, free: 5.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.3647, allocations: 163 kB / 1.052 GB, free: 5.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.3659, allocations: 499.1 kB / 1.053 GB, free: 4.691 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.367, allocations: 380.9 kB / 1.053 GB, free: 4.324 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003081/0.3701, allocations: 3.252 MB / 1.056 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4694/0.8395, allocations: 2.285 MB / 1.058 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.8416, allocations: 1.054 MB / 1.059 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000894/0.8426, allocations: 0.8512 MB / 1.06 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.8427, allocations: 46.94 kB / 1.06 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.844, allocations: 0.5962 MB / 1.061 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.8444, allocations: 331.2 kB / 1.061 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.8449, allocations: 248.5 kB / 1.061 GB, free: 20.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.8464, allocations: 1.178 MB / 1.062 GB, free: 20.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8465, allocations: 0 / 1.062 GB, free: 20.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.043e-06/0.8465, allocations: 0 / 1.062 GB, free: 20.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.8465, allocations: 0 / 1.062 GB, free: 20.3 MB / 0.7136 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.002473/0.849, allocations: 1.506 MB / 1.064 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.849, allocations: 8.969 kB / 1.064 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007183/0.8497, allocations: 200.9 kB / 1.064 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.8511, allocations: 0.8759 MB / 1.065 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.8512, allocations: 47.84 kB / 1.065 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-05/0.8513, allocations: 62.03 kB / 1.065 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.853, allocations: 0.9944 MB / 1.066 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.853, allocations: 5.625 kB / 1.066 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.8531, allocations: 23.75 kB / 1.066 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.8531, allocations: 14.34 kB / 1.066 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.8546, allocations: 0.8069 MB / 1.067 GB, free: 18.82 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.005017/0.8596, allocations: 4.82 MB / 1.072 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.8624, allocations: 4.016 MB / 1.076 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.863, allocations: 348.6 kB / 1.076 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.8634, allocations: 200.7 kB / 1.076 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000627/0.864, allocations: 326.6 kB / 1.076 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003843/0.8644, allocations: 32.16 kB / 1.076 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 1.784e-06/0.8644, allocations: 0 / 1.076 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.004816/0.8692, allocations: 1.504 MB / 1.078 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.8693, allocations: 82.08 kB / 1.078 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.8709, allocations: 1.175 MB / 1.079 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.8709, allocations: 34.61 kB / 1.079 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.8713, allocations: 0.5174 MB / 1.08 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.8714, allocations: 127.5 kB / 1.08 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.8715, allocations: 5.688 kB / 1.08 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8716, allocations: 333.7 kB / 1.08 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.872, allocations: 207.5 kB / 1.08 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.8725, allocations: 0.5366 MB / 1.081 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.873, allocations: 321.8 kB / 1.081 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.873, allocations: 1.375 kB / 1.081 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002197/0.8752, allocations: 1.049 MB / 1.082 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.8754, allocations: 273.7 kB / 1.082 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.8754, allocations: 9.406 kB / 1.082 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.8768, allocations: 392.1 kB / 1.083 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.8773, allocations: 120.1 kB / 1.083 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.879, allocations: 1.673 MB / 1.085 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/0.88, allocations: 99.03 kB / 1.085 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.88, allocations: 24.55 kB / 1.085 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.88, allocations: 4.156 kB / 1.085 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/0.8814, allocations: 0.7845 MB / 1.085 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8815, allocations: 6.031 kB / 1.085 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.882, allocations: 221.1 kB / 1.086 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.8824, allocations: 107 kB / 1.086 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.8858, allocations: 2.941 MB / 1.089 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.8867, allocations: 100.5 kB / 1.089 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.8868, allocations: 23.91 kB / 1.089 GB, free: 6.434 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 ($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): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006926/0.8875, allocations: 482.9 kB / 1.089 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.8876, allocations: 107.3 kB / 1.089 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.8888, allocations: 0.7971 MB / 1.09 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8888, allocations: 3.031 kB / 1.09 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.8888, allocations: 0 / 1.09 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.8888, allocations: 10.77 kB / 1.09 GB, free: 6.066 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.002487/0.8913, allocations: 2.122 MB / 1.092 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8914, allocations: 0 / 1.092 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.8917, allocations: 90.91 kB / 1.092 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/0.8921, allocations: 215.9 kB / 1.092 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.8921, allocations: 10.41 kB / 1.092 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009876/0.8931, allocations: 1.47 MB / 1.094 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8931, allocations: 2.906 kB / 1.094 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.8941, allocations: 0.8534 MB / 1.095 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.8945, allocations: 237.9 kB / 1.095 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.8946, allocations: 9.656 kB / 1.095 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.8952, allocations: 75.72 kB / 1.095 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.8953, allocations: 33.14 kB / 1.095 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.8953, allocations: 17.19 kB / 1.095 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009015/0.8962, allocations: 0.8234 MB / 1.096 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.22e-07/0.8962, allocations: 0 / 1.096 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001257/0.8975, allocations: 0.509 MB / 1.096 GB, free: 3.5 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): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003836/0.8979, allocations: 191.9 kB / 1.097 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002442/0.9003, allocations: 1.291 MB / 1.098 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9003, allocations: 0 / 1.098 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007122/0.9011, allocations: 319 kB / 1.098 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.904, allocations: 0.6552 MB / 1.099 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.9068, allocations: 2.258 MB / 1.101 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.9074, allocations: 1.213 MB / 1.102 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.9076, allocations: 68.03 kB / 1.102 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.9076, allocations: 0 / 1.102 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of Templates: time 0.03433/0.9419, allocations: 27.9 MB / 1.129 GB, free: 6.414 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)