Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 99.31 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.0009954/0.0009954, allocations: 177.3 kB / 15.95 MB, free: 216 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.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.807/1.807, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005581/0.0005583, allocations: 17.03 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2531, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.6861/0.9392, allocations: 140.5 MB / 0.9243 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004209/0.9435, allocations: 2.139 MB / 0.9264 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007139/0.9442, allocations: 14.5 kB / 0.9264 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.9453, allocations: 233.2 kB / 0.9266 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.9479, allocations: 0.6799 MB / 0.9273 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.9496, allocations: 446.1 kB / 0.9277 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002234/0.9518, allocations: 1.647 MB / 0.9293 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.9548, allocations: 2.314 MB / 0.9316 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.9567, allocations: 0.8502 MB / 0.9324 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000787/0.9575, allocations: 0.609 MB / 0.933 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.9576, allocations: 47.19 kB / 0.9331 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.9594, allocations: 0.6222 MB / 0.9337 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004507/0.9599, allocations: 302.7 kB / 0.9339 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.9603, allocations: 250.8 kB / 0.9342 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.962, allocations: 1.171 MB / 0.9353 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.962, allocations: 0 / 0.9353 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/0.962, allocations: 0.6094 kB / 0.9353 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.9621, allocations: 0.625 kB / 0.9353 GB, free: 5.746 MB / 0.7169 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.003554/0.9656, allocations: 1.519 MB / 0.9368 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.9657, allocations: 8.969 kB / 0.9368 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009315/0.9666, allocations: 196.7 kB / 0.937 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.9687, allocations: 0.8687 MB / 0.9379 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.9688, allocations: 51.02 kB / 0.9379 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.969, allocations: 67.75 kB / 0.938 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.9709, allocations: 0.985 MB / 0.9389 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.971, allocations: 4.469 kB / 0.9389 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.971, allocations: 25.69 kB / 0.939 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.9711, allocations: 15.31 kB / 0.939 GB, free: 20.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.9725, allocations: 0.8048 MB / 0.9398 GB, free: 20.25 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.005149/0.9777, allocations: 4.808 MB / 0.9445 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.9803, allocations: 4.026 MB / 0.9484 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-05/0.9804, allocations: 16.75 kB / 0.9484 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005677/0.981, allocations: 335.5 kB / 0.9487 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000613/0.9816, allocations: 31.78 kB / 0.9488 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.9816, allocations: 0 / 0.9488 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.004556/0.9862, allocations: 1.508 MB / 0.9502 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.9863, allocations: 110.2 kB / 0.9503 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.9879, allocations: 1.177 MB / 0.9515 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.988, allocations: 36.33 kB / 0.9515 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.9884, allocations: 0.518 MB / 0.952 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.9885, allocations: 121.4 kB / 0.9521 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.9885, allocations: 8.469 kB / 0.9521 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9886, allocations: 325.7 kB / 0.9525 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.989, allocations: 206.7 kB / 0.9527 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.9896, allocations: 0.5412 MB / 0.9532 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.9901, allocations: 315.2 kB / 0.9535 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.9901, allocations: 2.219 kB / 0.9535 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002318/0.9924, allocations: 1.048 MB / 0.9545 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009393/0.9934, allocations: 2.144 MB / 0.9566 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.9934, allocations: 6.281 kB / 0.9566 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.9949, allocations: 390.5 kB / 0.957 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.9954, allocations: 131.1 kB / 0.9571 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.9972, allocations: 1.666 MB / 0.9587 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.9985, allocations: 97.12 kB / 0.9588 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.9986, allocations: 26.88 kB / 0.9589 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.9986, allocations: 4.25 kB / 0.9589 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001445/1, allocations: 0.7815 MB / 0.9596 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1, allocations: 9.625 kB / 0.9596 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/1.001, allocations: 218.6 kB / 0.9598 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/1.001, allocations: 110.2 kB / 0.9599 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003643/1.005, allocations: 2.999 MB / 0.9629 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.006, allocations: 102 kB / 0.963 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/1.006, allocations: 25.66 kB / 0.963 GB, free: 6.062 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 (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.0009012/1.007, allocations: 480.2 kB / 0.9635 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/1.007, allocations: 106.8 kB / 0.9636 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/1.008, allocations: 0.7713 MB / 0.9643 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.009, allocations: 4.031 kB / 0.9643 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.009, allocations: 1.5 kB / 0.9643 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/1.009, allocations: 1.375 kB / 0.9643 GB, free: 5.695 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.00294/1.011, allocations: 2.199 MB / 0.9665 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.011, allocations: 3.188 kB / 0.9665 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/1.012, allocations: 90.38 kB / 0.9665 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/1.012, allocations: 201.9 kB / 0.9667 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/1.012, allocations: 18.94 kB / 0.9668 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000986/1.013, allocations: 1.466 MB / 0.9682 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.013, allocations: 1.75 kB / 0.9682 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.014, allocations: 0.9604 MB / 0.9691 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/1.015, allocations: 235.8 kB / 0.9694 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.015, allocations: 8.281 kB / 0.9694 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/1.016, allocations: 76.8 kB / 0.9694 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/1.016, allocations: 36.52 kB / 0.9695 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/1.016, allocations: 13.03 kB / 0.9695 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001099/1.017, allocations: 0.8266 MB / 0.9703 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.017, allocations: 1.938 kB / 0.9703 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001539/1.018, allocations: 0.5019 MB / 0.9708 GB, free: 2.93 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 (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.0004408/1.019, allocations: 188.5 kB / 0.971 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00252/1.021, allocations: 1.29 MB / 0.9722 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.021, allocations: 0 / 0.9722 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006433/1.022, allocations: 327.2 kB / 0.9725 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/1.025, allocations: 0.6434 MB / 0.9732 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/1.028, allocations: 2.222 MB / 0.9753 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/1.029, allocations: 1.234 MB / 0.9765 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000982/1.03, allocations: 361.9 kB / 0.9769 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/1.03, allocations: 73.22 kB / 0.977 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of SimCode: time 9.22e-07/1.03, allocations: 0 / 0.977 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of Templates: time 0.03995/1.07, allocations: 20.63 MB / 0.9971 GB, free: 5.805 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) Environment - environmentSimulation: