Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005878/0.0005878, allocations: 16.19 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2686, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.7876/1.056, allocations: 140.5 MB / 0.9243 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00603/1.062, allocations: 3.586 MB / 0.9278 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/1.063, allocations: 14 kB / 0.9278 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009875/1.064, allocations: 234.8 kB / 0.928 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00248/1.067, allocations: 0.6908 MB / 0.9287 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/1.068, allocations: 486.8 kB / 0.9292 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002908/1.071, allocations: 1.65 MB / 0.9308 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/1.074, allocations: 2.324 MB / 0.933 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/1.077, allocations: 0.8587 MB / 0.9339 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/1.078, allocations: 0.5999 MB / 0.9345 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/1.078, allocations: 51.94 kB / 0.9345 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/1.08, allocations: 460.7 kB / 0.935 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004595/1.08, allocations: 301.1 kB / 0.9352 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007912/1.081, allocations: 246.3 kB / 0.9355 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/1.083, allocations: 1.128 MB / 0.9366 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.083, allocations: 0 / 0.9366 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.554e-06/1.083, allocations: 0 / 0.9366 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.716e-05/1.083, allocations: 0 / 0.9366 GB, free: 21.23 MB / 0.7325 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.003062/1.086, allocations: 1.503 MB / 0.938 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/1.086, allocations: 11.42 kB / 0.9381 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/1.087, allocations: 203.2 kB / 0.9383 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/1.09, allocations: 0.8679 MB / 0.9391 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.885e-05/1.09, allocations: 52.03 kB / 0.9391 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/1.09, allocations: 61.53 kB / 0.9392 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/1.092, allocations: 0.9839 MB / 0.9402 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.092, allocations: 1.344 kB / 0.9402 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/1.092, allocations: 25.22 kB / 0.9402 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/1.092, allocations: 16.39 kB / 0.9402 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/1.093, allocations: 0.8046 MB / 0.941 GB, free: 19.74 MB / 0.7325 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.005108/1.098, allocations: 4.81 MB / 0.9457 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/1.101, allocations: 4.026 MB / 0.9496 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.099e-05/1.101, allocations: 14.31 kB / 0.9496 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/1.102, allocations: 340.4 kB / 0.95 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005261/1.102, allocations: 35.31 kB / 0.95 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/1.102, allocations: 1.219 kB / 0.95 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.005702/1.108, allocations: 1.689 MB / 0.9516 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/1.108, allocations: 113.5 kB / 0.9518 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/1.11, allocations: 1.185 MB / 0.9529 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/1.11, allocations: 38.08 kB / 0.9529 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000478/1.111, allocations: 0.5102 MB / 0.9534 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/1.111, allocations: 122.5 kB / 0.9536 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/1.111, allocations: 8.812 kB / 0.9536 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.111, allocations: 333 kB / 0.9539 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/1.111, allocations: 210.8 kB / 0.9541 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/1.112, allocations: 0.5351 MB / 0.9546 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/1.112, allocations: 325.5 kB / 0.9549 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.112, allocations: 5.344 kB / 0.9549 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002583/1.115, allocations: 1.069 MB / 0.956 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000947/1.116, allocations: 2.148 MB / 0.9581 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.116, allocations: 4.969 kB / 0.9581 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/1.118, allocations: 442.1 kB / 0.9585 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/1.118, allocations: 69.78 kB / 0.9586 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/1.119, allocations: 1.136 MB / 0.9597 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.121, allocations: 98.44 kB / 0.9598 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/1.121, allocations: 27.25 kB / 0.9598 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.121, allocations: 4.062 kB / 0.9598 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001582/1.123, allocations: 0.813 MB / 0.9606 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.123, allocations: 9.391 kB / 0.9606 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/1.123, allocations: 255.3 kB / 0.9608 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/1.123, allocations: 74.02 kB / 0.9609 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004516/1.128, allocations: 3.196 MB / 0.964 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/1.129, allocations: 106.5 kB / 0.9641 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/1.129, allocations: 20.53 kB / 0.9642 GB, free: 6.086 MB / 0.7325 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 (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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009461/1.13, allocations: 479.9 kB / 0.9646 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/1.131, allocations: 114.1 kB / 0.9647 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/1.132, allocations: 0.7975 MB / 0.9655 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/1.132, allocations: 4.719 kB / 0.9655 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.132, allocations: 10 kB / 0.9655 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.132, allocations: 2.688 kB / 0.9655 GB, free: 5.711 MB / 0.7325 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.004083/1.136, allocations: 2.234 MB / 0.9677 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.136, allocations: 3.219 kB / 0.9677 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/1.137, allocations: 48.09 kB / 0.9677 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/1.137, allocations: 239.6 kB / 0.968 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/1.137, allocations: 9.531 kB / 0.968 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/1.138, allocations: 0.9442 MB / 0.9689 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.138, allocations: 3.531 kB / 0.9689 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/1.14, allocations: 0.9885 MB / 0.9699 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/1.141, allocations: 229.8 kB / 0.9701 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003325/1.141, allocations: 10.34 kB / 0.9701 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000997/1.142, allocations: 79.28 kB / 0.9702 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.142, allocations: 30.78 kB / 0.9702 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/1.142, allocations: 11.47 kB / 0.9702 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002271/1.145, allocations: 0.835 MB / 0.971 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.71e-07/1.145, allocations: 0 / 0.971 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002523/1.147, allocations: 0.5052 MB / 0.9715 GB, free: 3.52 MB / 0.7325 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 (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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005472/1.148, allocations: 191 kB / 0.9717 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002765/1.151, allocations: 1.289 MB / 0.973 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.151, allocations: 4.062 kB / 0.973 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/1.151, allocations: 328.5 kB / 0.9733 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/1.155, allocations: 0.6483 MB / 0.9739 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/1.159, allocations: 2.222 MB / 0.9761 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.16, allocations: 1.235 MB / 0.9773 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001368/1.162, allocations: 326.2 kB / 0.9776 GB, free: 292 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/1.162, allocations: 71.23 kB / 0.9777 GB, free: 284 kB / 0.7325 GB Notification: Performance of SimCode: time 1.763e-06/1.162, allocations: 4 kB / 0.9777 GB, free: 280 kB / 0.7325 GB Notification: Performance of Templates: time 0.04195/1.204, allocations: 20.78 MB / 0.998 GB, free: 6.113 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) Environment - environmentSimulation: