Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007594/0.0007594, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008877/0.0008877, allocations: 168.7 kB / 15.95 MB, free: 204 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.297/1.297, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.557/1.557, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004737/0.0004738, allocations: 16.53 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.5591/0.7721, allocations: 152.4 MB / 0.9361 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004452/0.7766, allocations: 3.772 MB / 0.9398 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004629/0.7771, allocations: 9.344 kB / 0.9398 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006329/0.7778, allocations: 158.1 kB / 0.94 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.7795, allocations: 0.5096 MB / 0.9405 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.7808, allocations: 404.5 kB / 0.9408 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003703/0.7845, allocations: 3.276 MB / 0.944 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003221/0.7877, allocations: 2.295 MB / 0.9463 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002554/0.7903, allocations: 1.061 MB / 0.9473 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.7914, allocations: 0.8468 MB / 0.9482 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.7915, allocations: 47.88 kB / 0.9482 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.7929, allocations: 0.5943 MB / 0.9488 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.7932, allocations: 325 kB / 0.9491 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.7935, allocations: 249.6 kB / 0.9493 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.7947, allocations: 1.178 MB / 0.9505 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.7947, allocations: 4 kB / 0.9505 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7947, allocations: 1.094 kB / 0.9505 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.7947, allocations: 3.938 kB / 0.9505 GB, free: 4.285 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002454/0.7972, allocations: 1.516 MB / 0.952 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.7972, allocations: 11.03 kB / 0.952 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007237/0.7979, allocations: 211 kB / 0.9522 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.7993, allocations: 0.8634 MB / 0.953 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.7994, allocations: 47.44 kB / 0.9531 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.7995, allocations: 63.31 kB / 0.9531 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.8008, allocations: 0.9954 MB / 0.9541 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.8008, allocations: 1.156 kB / 0.9541 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.8009, allocations: 28.8 kB / 0.9541 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.8009, allocations: 22.81 kB / 0.9542 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.8021, allocations: 0.7995 MB / 0.9549 GB, free: 18.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.004138/0.8062, allocations: 4.811 MB / 0.9596 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.8085, allocations: 4.014 MB / 0.9635 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.809, allocations: 353.8 kB / 0.9639 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.8093, allocations: 196.3 kB / 0.9641 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.8098, allocations: 336.2 kB / 0.9644 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003627/0.8101, allocations: 32.47 kB / 0.9644 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.8101, allocations: 1.375 kB / 0.9644 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.004408/0.8146, allocations: 1.749 MB / 0.9661 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.8146, allocations: 91.33 kB / 0.9662 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.816, allocations: 1.178 MB / 0.9674 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.8161, allocations: 36.8 kB / 0.9674 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.8165, allocations: 0.5201 MB / 0.9679 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/0.8165, allocations: 124.8 kB / 0.968 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.8166, allocations: 7.938 kB / 0.968 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8167, allocations: 329.4 kB / 0.9684 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.817, allocations: 206 kB / 0.9686 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.8175, allocations: 0.5388 MB / 0.9691 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.8179, allocations: 316.9 kB / 0.9694 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8179, allocations: 0 / 0.9694 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001861/0.8198, allocations: 1.088 MB / 0.9704 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.8199, allocations: 274.8 kB / 0.9707 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.8199, allocations: 6.156 kB / 0.9707 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.821, allocations: 370.6 kB / 0.9711 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.8213, allocations: 76.72 kB / 0.9711 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008922/0.8222, allocations: 1.052 MB / 0.9722 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009127/0.8231, allocations: 106.2 kB / 0.9723 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.8232, allocations: 26.77 kB / 0.9723 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.8232, allocations: 3.531 kB / 0.9723 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/0.8244, allocations: 0.8123 MB / 0.9731 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8244, allocations: 6.25 kB / 0.9731 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005055/0.8249, allocations: 265.7 kB / 0.9733 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.8252, allocations: 78.88 kB / 0.9734 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.8284, allocations: 3.125 MB / 0.9765 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/0.8293, allocations: 102.9 kB / 0.9766 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.8294, allocations: 23.22 kB / 0.9766 GB, free: 5.848 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005742/0.83, allocations: 477.3 kB / 0.9771 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.8301, allocations: 110.5 kB / 0.9772 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.8313, allocations: 0.8295 MB / 0.978 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.8313, allocations: 5.125 kB / 0.978 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.8313, allocations: 0 / 0.978 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8313, allocations: 0 / 0.978 GB, free: 5.238 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.002619/0.834, allocations: 2.161 MB / 0.9801 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.834, allocations: 6.828 kB / 0.9801 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.8342, allocations: 53.78 kB / 0.9801 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/0.8346, allocations: 205.6 kB / 0.9803 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.8346, allocations: 5.719 kB / 0.9803 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006727/0.8353, allocations: 0.8868 MB / 0.9812 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8353, allocations: 3.219 kB / 0.9812 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.8365, allocations: 0.8923 MB / 0.9821 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.8369, allocations: 236 kB / 0.9823 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.837, allocations: 14.09 kB / 0.9823 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.8376, allocations: 83.17 kB / 0.9824 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.8377, allocations: 33.58 kB / 0.9824 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.8377, allocations: 15.36 kB / 0.9824 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009389/0.8386, allocations: 0.8272 MB / 0.9833 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8387, allocations: 0 / 0.9833 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00137/0.84, allocations: 0.5092 MB / 0.9838 GB, free: 2.379 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003932/0.8404, allocations: 182.7 kB / 0.9839 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.8422, allocations: 1.136 MB / 0.985 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.8422, allocations: 0 / 0.985 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.8426, allocations: 265.1 kB / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.8454, allocations: 0.6616 MB / 0.9859 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.8482, allocations: 2.104 MB / 0.988 GB, free: 308 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008192/0.849, allocations: 1.218 MB / 0.9892 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009023/0.8499, allocations: 327 kB / 0.9895 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.8501, allocations: 69.73 kB / 0.9896 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of SimCode: time 7.42e-07/0.8501, allocations: 0 / 0.9896 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of Templates: time 0.03248/0.8826, allocations: 21.13 MB / 1.01 GB, free: 4.129 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: