Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.197/2.197, allocations: 248.7 MB / 256.2 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002303/0.002303, allocations: 186.1 kB / 315.4 MB, free: 3.973 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.066/2.066, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 86.59 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.192e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2053, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.242/7.448, allocations: 2.182 GB / 3.066 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/7.448, allocations: 89.27 kB / 3.066 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.294/16.74, allocations: 1.707 GB / 4.773 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.265e-06/16.74, allocations: 0 / 4.773 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002219/16.74, allocations: 31.98 kB / 4.773 GB, free: 131.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006708/16.75, allocations: 1.226 MB / 4.775 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/16.75, allocations: 8.562 kB / 4.775 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/16.75, allocations: 182.5 kB / 4.775 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006839/16.76, allocations: 1.389 MB / 4.776 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/16.76, allocations: 16 kB / 4.776 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/16.76, allocations: 40 kB / 4.776 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001269/16.76, allocations: 494.3 kB / 4.777 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/16.76, allocations: 0.7001 MB / 4.777 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/16.76, allocations: 3.938 kB / 4.777 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/16.76, allocations: 4 kB / 4.777 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/16.76, allocations: 12 kB / 4.777 GB, free: 127.5 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005918/16.77, allocations: 4.095 MB / 4.781 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/16.77, allocations: 462.9 kB / 4.782 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/16.77, allocations: 330.8 kB / 4.782 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004509/16.77, allocations: 194.2 kB / 4.782 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006284/16.77, allocations: 286.8 kB / 4.783 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000582/16.77, allocations: 11.84 kB / 4.783 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.757e-06/16.77, allocations: 0 / 4.783 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.002979/16.77, allocations: 0.7903 MB / 4.783 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/16.77, allocations: 97.05 kB / 4.783 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/16.77, allocations: 0.8518 MB / 4.784 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/16.78, allocations: 25.7 kB / 4.784 GB, free: 120 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/16.78, allocations: 492.2 kB / 4.785 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/16.78, allocations: 106.4 kB / 4.785 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/16.78, allocations: 0 / 4.785 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.844e-05/16.78, allocations: 333.9 kB / 4.785 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/16.78, allocations: 197 kB / 4.785 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/16.78, allocations: 0.5089 MB / 4.786 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005965/16.78, allocations: 279.3 kB / 4.786 GB, free: 118 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/16.78, allocations: 0 / 4.786 GB, free: 118 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002889/16.78, allocations: 0.9394 MB / 4.787 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004734/16.78, allocations: 2.131 MB / 4.789 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/16.78, allocations: 4 kB / 4.789 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009153/16.78, allocations: 244.6 kB / 4.789 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/16.78, allocations: 75.73 kB / 4.789 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/16.78, allocations: 1.14 MB / 4.791 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/16.79, allocations: 79.92 kB / 4.791 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/16.79, allocations: 27.94 kB / 4.791 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/16.79, allocations: 7.984 kB / 4.791 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001873/16.79, allocations: 0.6403 MB / 4.791 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/16.79, allocations: 8 kB / 4.791 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/16.79, allocations: 221.2 kB / 4.792 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/16.79, allocations: 67.91 kB / 4.792 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005284/16.8, allocations: 2.888 MB / 4.794 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/16.8, allocations: 75.81 kB / 4.795 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/16.8, allocations: 27.98 kB / 4.795 GB, free: 109.1 MB / 0.8698 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 () * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002321/16.8, allocations: 124.9 kB / 4.795 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001808/16.8, allocations: 0.6608 MB / 4.795 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/16.8, allocations: 106.7 kB / 4.795 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/16.8, allocations: 0.6949 MB / 4.796 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/16.8, allocations: 4 kB / 4.796 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/16.8, allocations: 0 / 4.796 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/16.8, allocations: 3.984 kB / 4.796 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/16.81, allocations: 1.583 MB / 4.798 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/16.81, allocations: 224 / 4.798 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/16.81, allocations: 35.91 kB / 4.798 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006462/16.81, allocations: 200.6 kB / 4.798 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/16.81, allocations: 8 kB / 4.798 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/16.81, allocations: 1.013 MB / 4.799 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/16.81, allocations: 4.031 kB / 4.799 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/16.81, allocations: 0.9046 MB / 4.8 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/16.81, allocations: 216 kB / 4.8 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/16.81, allocations: 11.94 kB / 4.8 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/16.81, allocations: 63.77 kB / 4.8 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/16.81, allocations: 35.89 kB / 4.8 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/16.81, allocations: 16 kB / 4.8 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00134/16.81, allocations: 0.6611 MB / 4.801 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.71e-07/16.81, allocations: 0 / 4.801 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002532/16.82, allocations: 0.515 MB / 4.801 GB, free: 102 MB / 0.8698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.003519/16.82, allocations: 2.759 MB / 4.804 GB, free: 99.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002575/16.82, allocations: 1.049 MB / 4.805 GB, free: 98.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/16.82, allocations: 0 / 4.805 GB, free: 98.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000618/16.82, allocations: 210.7 kB / 4.805 GB, free: 97.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005257/16.83, allocations: 0.5379 MB / 4.806 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/16.83, allocations: 1.626 MB / 4.807 GB, free: 95.68 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008059/16.83, allocations: 1.202 MB / 4.808 GB, free: 94.45 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003332/16.84, allocations: 0.6669 MB / 4.809 GB, free: 93.78 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/16.84, allocations: 299.3 kB / 4.809 GB, free: 93.49 MB / 0.8698 GB Notification: Performance of SimCode: time 1.663e-06/16.84, allocations: 0 / 4.809 GB, free: 93.49 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/16.94, allocations: 33.59 MB / 4.842 GB, free: 60.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/16.94, allocations: 193 kB / 4.842 GB, free: 59.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.1/21.04, allocations: 3.938 kB / 4.842 GB, free: 59.84 MB / 0.8698 GB