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.347/2.347, allocations: 248.5 MB / 261.1 MB, free: 6.012 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.001439/0.001438, allocations: 182.6 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.2 MB / 0.571 GB, free: 11.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.001152/0.001152, allocations: 97.56 kB / 0.6754 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.711e-05/4.738e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2376, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.047/7.284, allocations: 2.182 GB / 3.072 GB, free: 153 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/7.285, allocations: 92.44 kB / 3.072 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.829/16.11, allocations: 1.726 GB / 4.798 GB, free: 78.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.904e-06/16.11, allocations: 0 / 4.798 GB, free: 78.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001895/16.11, allocations: 27.98 kB / 4.798 GB, free: 78.17 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.006163/16.12, allocations: 1.237 MB / 4.799 GB, free: 76.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/16.12, allocations: 15.97 kB / 4.799 GB, free: 76.86 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003687/16.12, allocations: 98.5 kB / 4.799 GB, free: 76.76 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/16.12, allocations: 178.5 kB / 4.8 GB, free: 76.58 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006236/16.13, allocations: 1.385 MB / 4.801 GB, free: 75.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/16.13, allocations: 41 kB / 4.801 GB, free: 75.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/16.13, allocations: 60 kB / 4.801 GB, free: 75.04 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/16.13, allocations: 0.7612 MB / 4.802 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/16.13, allocations: 3.938 kB / 4.802 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/16.13, allocations: 27.95 kB / 4.802 GB, free: 74.17 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/16.13, allocations: 12 kB / 4.802 GB, free: 74.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/16.13, allocations: 0.4908 MB / 4.802 GB, free: 73.67 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.005371/16.14, allocations: 4.227 MB / 4.806 GB, free: 69.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/16.14, allocations: 399 kB / 4.807 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006187/16.14, allocations: 313.3 kB / 4.807 GB, free: 68.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/16.14, allocations: 199.2 kB / 4.807 GB, free: 68.23 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/16.14, allocations: 291.2 kB / 4.808 GB, free: 67.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00059/16.14, allocations: 35.69 kB / 4.808 GB, free: 67.89 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.346e-06/16.14, allocations: 0 / 4.808 GB, free: 67.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.002054/16.14, allocations: 0.7276 MB / 4.808 GB, free: 67.15 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/16.14, allocations: 81.11 kB / 4.808 GB, free: 67.05 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/16.14, allocations: 1.002 MB / 4.809 GB, free: 66.04 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/16.14, allocations: 37.7 kB / 4.809 GB, free: 65.99 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/16.14, allocations: 488.8 kB / 4.81 GB, free: 65.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/16.14, allocations: 118.4 kB / 4.81 GB, free: 65.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/16.14, allocations: 12 kB / 4.81 GB, free: 65.38 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/16.15, allocations: 326.1 kB / 4.81 GB, free: 65.06 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/16.15, allocations: 189 kB / 4.811 GB, free: 64.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/16.15, allocations: 0.4983 MB / 4.811 GB, free: 64.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/16.15, allocations: 297 kB / 4.811 GB, free: 63.94 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/16.15, allocations: 0 / 4.811 GB, free: 63.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002325/16.15, allocations: 0.9174 MB / 4.812 GB, free: 63 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004647/16.15, allocations: 2.139 MB / 4.814 GB, free: 60.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/16.15, allocations: 4.141 kB / 4.814 GB, free: 60.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009969/16.15, allocations: 256.5 kB / 4.815 GB, free: 60.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/16.15, allocations: 75.81 kB / 4.815 GB, free: 60.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/16.15, allocations: 1.028 MB / 4.816 GB, free: 59.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/16.15, allocations: 91.81 kB / 4.816 GB, free: 59.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.634e-05/16.15, allocations: 24 kB / 4.816 GB, free: 59.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/16.15, allocations: 4 kB / 4.816 GB, free: 59.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001917/16.16, allocations: 0.7318 MB / 4.816 GB, free: 58.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/16.16, allocations: 4.625 kB / 4.816 GB, free: 58.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/16.16, allocations: 240.6 kB / 4.817 GB, free: 58.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/16.16, allocations: 67.89 kB / 4.817 GB, free: 58.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/16.16, allocations: 2.99 MB / 4.82 GB, free: 55.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/16.17, allocations: 87.88 kB / 4.82 GB, free: 54.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/16.17, allocations: 27.98 kB / 4.82 GB, free: 54.91 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.0002355/16.17, allocations: 140.2 kB / 4.82 GB, free: 54.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/16.17, allocations: 102.8 kB / 4.82 GB, free: 54.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/16.17, allocations: 0.7421 MB / 4.821 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/16.17, allocations: 4 kB / 4.821 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/16.17, allocations: 0 / 4.821 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/16.17, allocations: 7.938 kB / 4.821 GB, free: 53.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/16.17, allocations: 1.684 MB / 4.822 GB, free: 52.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/16.17, allocations: 4 kB / 4.822 GB, free: 52.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/16.17, allocations: 31.91 kB / 4.822 GB, free: 52.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008658/16.17, allocations: 248.9 kB / 4.823 GB, free: 51.86 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/16.17, allocations: 8 kB / 4.823 GB, free: 51.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/16.17, allocations: 0.9936 MB / 4.824 GB, free: 50.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/16.17, allocations: 7.938 kB / 4.824 GB, free: 50.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/16.18, allocations: 0.9344 MB / 4.825 GB, free: 49.81 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007531/16.18, allocations: 231.7 kB / 4.825 GB, free: 49.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/16.18, allocations: 8 kB / 4.825 GB, free: 49.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/16.18, allocations: 71.77 kB / 4.825 GB, free: 49.48 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/16.18, allocations: 31.89 kB / 4.825 GB, free: 49.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/16.18, allocations: 12.09 kB / 4.825 GB, free: 49.44 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001577/16.18, allocations: 0.7971 MB / 4.826 GB, free: 48.63 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.155e-06/16.18, allocations: 0 / 4.826 GB, free: 48.63 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002463/16.18, allocations: 0.5465 MB / 4.826 GB, free: 48.09 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.003265/16.19, allocations: 2.668 MB / 4.829 GB, free: 45.35 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002676/16.19, allocations: 1.073 MB / 4.83 GB, free: 44.24 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/16.19, allocations: 0 / 4.83 GB, free: 44.24 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006516/16.19, allocations: 223.1 kB / 4.83 GB, free: 44.02 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/16.2, allocations: 0.628 MB / 4.831 GB, free: 43.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/16.2, allocations: 1.685 MB / 4.832 GB, free: 41.64 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/16.2, allocations: 1.207 MB / 4.834 GB, free: 40.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003287/16.2, allocations: 0.7106 MB / 4.834 GB, free: 39.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/16.2, allocations: 299.3 kB / 4.834 GB, free: 39.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/16.2, allocations: 11.88 kB / 4.835 GB, free: 39.39 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7149/16.92, allocations: 48.04 MB / 4.881 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/16.92, allocations: 248 kB / 4.882 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.394/21.31, allocations: 0 / 4.882 GB, free: 235.6 MB / 0.8698 GB