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.00106/0.00106, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005083/0.005083, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.856/1.856, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005463/0.0005463, allocations: 16.47 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2382, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.5971/0.8353, allocations: 163.4 MB / 0.9474 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005371/0.8408, allocations: 4.022 MB / 0.9513 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005718/0.8414, allocations: 14.69 kB / 0.9513 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007554/0.8421, allocations: 198.4 kB / 0.9515 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.8441, allocations: 0.6378 MB / 0.9522 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.8456, allocations: 431.1 kB / 0.9526 GB, free: 88 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005211/0.8508, allocations: 3.826 MB / 0.9563 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.8541, allocations: 2.362 MB / 0.9586 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.8569, allocations: 1.12 MB / 0.9597 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.8584, allocations: 0.8632 MB / 0.9605 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.8586, allocations: 50.03 kB / 0.9606 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.8609, allocations: 0.8947 MB / 0.9615 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.8614, allocations: 333.7 kB / 0.9618 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008999/0.8623, allocations: 0.5963 MB / 0.9624 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.8643, allocations: 1.582 MB / 0.9639 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8643, allocations: 0 / 0.9639 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8643, allocations: 5.188 kB / 0.9639 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.8643, allocations: 0 / 0.9639 GB, free: 14.8 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.002604/0.8669, allocations: 1.476 MB / 0.9654 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.867, allocations: 9.469 kB / 0.9654 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000819/0.8678, allocations: 208 kB / 0.9656 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.8691, allocations: 0.8827 MB / 0.9664 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.8692, allocations: 50.38 kB / 0.9665 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.8693, allocations: 67.3 kB / 0.9665 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.8708, allocations: 0.9937 MB / 0.9675 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.8708, allocations: 1.188 kB / 0.9675 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.8709, allocations: 20.41 kB / 0.9675 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.8709, allocations: 14.66 kB / 0.9675 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.8722, allocations: 0.8103 MB / 0.9683 GB, free: 12.71 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.004507/0.8767, allocations: 4.807 MB / 0.973 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.879, allocations: 4.027 MB / 0.977 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004387/0.8795, allocations: 348.7 kB / 0.9773 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.8798, allocations: 194.1 kB / 0.9775 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005033/0.8803, allocations: 336.7 kB / 0.9778 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000359/0.8807, allocations: 29.31 kB / 0.9778 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.8807, allocations: 0 / 0.9778 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.005231/0.8859, allocations: 1.703 MB / 0.9795 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.886, allocations: 79.95 kB / 0.9796 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.8875, allocations: 1.19 MB / 0.9807 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.8876, allocations: 38.05 kB / 0.9808 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.888, allocations: 0.5121 MB / 0.9813 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/0.888, allocations: 127.9 kB / 0.9814 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.8881, allocations: 41.98 kB / 0.9814 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.8884, allocations: 333.1 kB / 0.9817 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.8887, allocations: 234.8 kB / 0.982 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.8893, allocations: 0.5593 MB / 0.9825 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.8902, allocations: 0.7074 MB / 0.9832 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8902, allocations: 0 / 0.9832 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00234/0.8926, allocations: 1.153 MB / 0.9843 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.8928, allocations: 277.6 kB / 0.9846 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.8928, allocations: 5.781 kB / 0.9846 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.8943, allocations: 461.7 kB / 0.985 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.8947, allocations: 71.36 kB / 0.9851 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.8962, allocations: 1.137 MB / 0.9862 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.8973, allocations: 86.16 kB / 0.9863 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.8973, allocations: 24.72 kB / 0.9863 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.8973, allocations: 3.375 kB / 0.9863 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/0.8987, allocations: 0.8099 MB / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.8987, allocations: 5.469 kB / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.8993, allocations: 245.8 kB / 0.9874 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.8996, allocations: 72.03 kB / 0.9874 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.9031, allocations: 3.113 MB / 0.9905 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.9043, allocations: 94.98 kB / 0.9906 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.9044, allocations: 22.91 kB / 0.9906 GB, free: 13.58 MB / 0.7481 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008029/0.9052, allocations: 489.3 kB / 0.9911 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.9054, allocations: 107.9 kB / 0.9912 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.9068, allocations: 0.8394 MB / 0.992 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.9069, allocations: 6.5 kB / 0.992 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.9069, allocations: 0 / 0.992 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.9069, allocations: 6.75 kB / 0.992 GB, free: 12.69 MB / 0.7481 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.003024/0.9099, allocations: 2.161 MB / 0.9941 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.9099, allocations: 4.062 kB / 0.9941 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.9102, allocations: 49.09 kB / 0.9941 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/0.9106, allocations: 247.6 kB / 0.9944 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.9107, allocations: 9.219 kB / 0.9944 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008818/0.9116, allocations: 0.941 MB / 0.9953 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9116, allocations: 1.781 kB / 0.9953 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.9128, allocations: 0.8909 MB / 0.9962 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.9133, allocations: 240 kB / 0.9964 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.9134, allocations: 13.44 kB / 0.9964 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006592/0.9141, allocations: 67.86 kB / 0.9965 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.9142, allocations: 37.7 kB / 0.9965 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.9142, allocations: 14.81 kB / 0.9965 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001047/0.9153, allocations: 0.8325 MB / 0.9974 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9153, allocations: 0 / 0.9974 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001841/0.9171, allocations: 0.4958 MB / 0.9978 GB, free: 8.91 MB / 0.7481 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 {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004709/0.9176, allocations: 182.4 kB / 0.998 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002588/0.9202, allocations: 1.313 MB / 0.9993 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9202, allocations: 0 / 0.9993 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.9208, allocations: 323.5 kB / 0.9996 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/0.9243, allocations: 0.6483 MB / 1 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.9276, allocations: 2.308 MB / 1.002 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/0.9284, allocations: 1.215 MB / 1.004 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001201/0.9296, allocations: 371 kB / 1.004 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.9298, allocations: 65.78 kB / 1.004 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.9298, allocations: 0 / 1.004 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of Templates: time 0.03526/0.965, allocations: 21.33 MB / 1.025 GB, free: 6.055 MB / 0.7637 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: