Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.408/2.408, allocations: 251 MB / 265.9 MB, free: 11.69 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.00157/0.00157, allocations: 173.2 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.433/2.433, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001072/0.001072, allocations: 98.61 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004666, allocations: 16.28 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.489/6.696, allocations: 2.182 GB / 3.081 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/6.696, allocations: 100.9 kB / 3.081 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.13/16.82, allocations: 1.913 GB / 4.994 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.647e-06/16.82, allocations: 0 / 4.994 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002216/16.82, allocations: 35.98 kB / 4.994 GB, free: 159.5 MB / 0.8855 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.008781/16.83, allocations: 1.572 MB / 4.995 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/16.83, allocations: 11.97 kB / 4.995 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005153/16.83, allocations: 102.5 kB / 4.995 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/16.83, allocations: 198.3 kB / 4.996 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006634/16.84, allocations: 1.449 MB / 4.997 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/16.84, allocations: 45.31 kB / 4.997 GB, free: 156 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/16.84, allocations: 71.94 kB / 4.997 GB, free: 156 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/16.84, allocations: 0.9487 MB / 4.998 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/16.84, allocations: 4 kB / 4.998 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/16.84, allocations: 20 kB / 4.998 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/16.84, allocations: 19.94 kB / 4.998 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/16.85, allocations: 0.7648 MB / 4.999 GB, free: 154.1 MB / 0.8855 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.006687/16.85, allocations: 4.735 MB / 5.004 GB, free: 149.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/16.86, allocations: 4.059 MB / 5.008 GB, free: 144.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/16.86, allocations: 198.2 kB / 5.008 GB, free: 144 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008148/16.86, allocations: 333.3 kB / 5.008 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006762/16.86, allocations: 31.69 kB / 5.008 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.096e-06/16.86, allocations: 0 / 5.008 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.005794/16.86, allocations: 1.306 MB / 5.009 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/16.86, allocations: 89.03 kB / 5.009 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/16.87, allocations: 1.03 MB / 5.01 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/16.87, allocations: 41.7 kB / 5.01 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/16.87, allocations: 0.5127 MB / 5.011 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/16.87, allocations: 130.2 kB / 5.011 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/16.87, allocations: 8 kB / 5.011 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.293e-05/16.87, allocations: 334 kB / 5.011 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/16.87, allocations: 205 kB / 5.012 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008902/16.87, allocations: 0.5522 MB / 5.012 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007472/16.87, allocations: 328.3 kB / 5.012 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/16.87, allocations: 4 kB / 5.012 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002809/16.87, allocations: 0.9818 MB / 5.013 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004789/16.87, allocations: 2.222 MB / 5.016 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/16.87, allocations: 4 kB / 5.016 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009564/16.87, allocations: 245.5 kB / 5.016 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/16.87, allocations: 79.89 kB / 5.016 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/16.88, allocations: 0.9956 MB / 5.017 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/16.88, allocations: 99.8 kB / 5.017 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/16.88, allocations: 31.98 kB / 5.017 GB, free: 134 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/16.88, allocations: 4 kB / 5.017 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002327/16.88, allocations: 0.7826 MB / 5.018 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/16.88, allocations: 12 kB / 5.018 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009391/16.88, allocations: 229.4 kB / 5.018 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/16.88, allocations: 79.89 kB / 5.018 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/16.89, allocations: 2.949 MB / 5.021 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/16.89, allocations: 103.8 kB / 5.021 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/16.89, allocations: 24 kB / 5.021 GB, free: 129.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008737/16.89, allocations: 477.7 kB / 5.022 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/16.89, allocations: 106.7 kB / 5.022 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/16.89, allocations: 0.8008 MB / 5.022 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/16.89, allocations: 4 kB / 5.022 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/16.89, allocations: 0 / 5.022 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/16.89, allocations: 0 / 5.022 GB, free: 128.3 MB / 0.8855 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.004769/16.9, allocations: 2.151 MB / 5.025 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/16.9, allocations: 4 kB / 5.025 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/16.9, allocations: 56.16 kB / 5.025 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006602/16.9, allocations: 172.6 kB / 5.025 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/16.9, allocations: 11.98 kB / 5.025 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009909/16.9, allocations: 0.8527 MB / 5.026 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/16.9, allocations: 4.062 kB / 5.026 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/16.9, allocations: 0.9679 MB / 5.027 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006942/16.9, allocations: 235.6 kB / 5.027 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/16.9, allocations: 12 kB / 5.027 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/16.9, allocations: 79.75 kB / 5.027 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/16.9, allocations: 39.84 kB / 5.027 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/16.9, allocations: 12 kB / 5.027 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001623/16.91, allocations: 0.8248 MB / 5.028 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/16.91, allocations: 0 / 5.028 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002782/16.91, allocations: 0.605 MB / 5.028 GB, free: 122 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004041/16.91, allocations: 2.949 MB / 5.031 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003115/16.92, allocations: 1.13 MB / 5.032 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/16.92, allocations: 384 / 5.032 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008121/16.92, allocations: 257.6 kB / 5.033 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006077/16.92, allocations: 0.6479 MB / 5.033 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/16.94, allocations: 10.44 MB / 5.043 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/16.94, allocations: 1.232 MB / 5.045 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002031/16.94, allocations: 384.6 kB / 5.045 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008011/16.95, allocations: 361.2 kB / 5.045 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.483e-06/16.95, allocations: 11.88 kB / 5.045 GB, free: 104 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/17.06, allocations: 47.36 MB / 5.092 GB, free: 57.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/17.06, allocations: 281.6 kB / 5.092 GB, free: 56.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.143/21.2, allocations: 2.344 kB / 5.092 GB, free: 56.73 MB / 0.8855 GB