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.314/2.314, 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.001518/0.001518, allocations: 188.5 kB / 325.5 MB, free: 2.895 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.377/2.377, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001427/0.001427, allocations: 94.33 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005114/0.0005114, allocations: 15.41 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2177, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.64/6.857, allocations: 2.182 GB / 3.08 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/6.858, allocations: 95.14 kB / 3.081 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.375/16.23, allocations: 1.727 GB / 4.808 GB, free: 276.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.635e-06/16.23, allocations: 0 / 4.808 GB, free: 276.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002222/16.23, allocations: 29.23 kB / 4.808 GB, free: 276.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.009167/16.24, allocations: 1.514 MB / 4.809 GB, free: 276.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/16.24, allocations: 12.72 kB / 4.809 GB, free: 276.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006596/16.24, allocations: 95.06 kB / 4.81 GB, free: 276.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/16.24, allocations: 188 kB / 4.81 GB, free: 276 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007178/16.25, allocations: 1.397 MB / 4.811 GB, free: 275.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/16.25, allocations: 45.36 kB / 4.811 GB, free: 275.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/16.25, allocations: 60.38 kB / 4.811 GB, free: 275.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/16.25, allocations: 0.7888 MB / 4.812 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/16.25, allocations: 7.844 kB / 4.812 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/16.25, allocations: 22.83 kB / 4.812 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/16.25, allocations: 14.03 kB / 4.812 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/16.26, allocations: 0.537 MB / 4.812 GB, free: 275.5 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.006452/16.26, allocations: 4.221 MB / 4.817 GB, free: 272.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/16.26, allocations: 444.5 kB / 4.817 GB, free: 272.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/16.26, allocations: 196.8 kB / 4.817 GB, free: 272.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008721/16.27, allocations: 317.4 kB / 4.818 GB, free: 272.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007104/16.27, allocations: 28.3 kB / 4.818 GB, free: 272.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 2.855e-06/16.27, allocations: 0.7812 kB / 4.818 GB, free: 272.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.006939/16.27, allocations: 1.368 MB / 4.819 GB, free: 272.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/16.27, allocations: 82.48 kB / 4.819 GB, free: 272.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/16.28, allocations: 1.024 MB / 4.82 GB, free: 271.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/16.28, allocations: 38.48 kB / 4.82 GB, free: 271.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/16.28, allocations: 486.1 kB / 4.82 GB, free: 271.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/16.28, allocations: 121.7 kB / 4.821 GB, free: 271.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/16.28, allocations: 8.938 kB / 4.821 GB, free: 271.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/16.28, allocations: 322.9 kB / 4.821 GB, free: 271.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/16.28, allocations: 205 kB / 4.821 GB, free: 271.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/16.28, allocations: 0.5278 MB / 4.822 GB, free: 271 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007691/16.28, allocations: 321.5 kB / 4.822 GB, free: 271 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/16.28, allocations: 1.312 kB / 4.822 GB, free: 271 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002885/16.28, allocations: 0.9513 MB / 4.823 GB, free: 270.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005023/16.28, allocations: 2.139 MB / 4.825 GB, free: 268.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/16.28, allocations: 16.7 kB / 4.825 GB, free: 268.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/16.28, allocations: 246.8 kB / 4.825 GB, free: 268.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/16.28, allocations: 69.44 kB / 4.825 GB, free: 268.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/16.29, allocations: 1.033 MB / 4.826 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/16.29, allocations: 93.91 kB / 4.826 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-05/16.29, allocations: 27.17 kB / 4.826 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/16.29, allocations: 4.969 kB / 4.826 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002432/16.29, allocations: 0.778 MB / 4.827 GB, free: 268 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/16.29, allocations: 3.781 kB / 4.827 GB, free: 268 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/16.29, allocations: 241.8 kB / 4.827 GB, free: 268 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/16.29, allocations: 69.48 kB / 4.827 GB, free: 268 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005495/16.3, allocations: 3.054 MB / 4.83 GB, free: 266.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/16.3, allocations: 86.02 kB / 4.831 GB, free: 266.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/16.3, allocations: 26.58 kB / 4.831 GB, free: 266.7 MB / 0.8855 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0008875/16.3, allocations: 467.7 kB / 4.831 GB, free: 266.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/16.3, allocations: 100.3 kB / 4.831 GB, free: 266.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/16.3, allocations: 0.7873 MB / 4.832 GB, free: 266.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/16.3, allocations: 5.031 kB / 4.832 GB, free: 266.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/16.3, allocations: 0 / 4.832 GB, free: 266.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/16.3, allocations: 6.438 kB / 4.832 GB, free: 266.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004452/16.31, allocations: 1.72 MB / 4.834 GB, free: 265.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/16.31, allocations: 2.125 kB / 4.834 GB, free: 265.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/16.31, allocations: 31.06 kB / 4.834 GB, free: 265.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009434/16.31, allocations: 258.3 kB / 4.834 GB, free: 265.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/16.31, allocations: 8.219 kB / 4.834 GB, free: 265.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/16.31, allocations: 0.9988 MB / 4.835 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/16.31, allocations: 8.094 kB / 4.835 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/16.31, allocations: 0.9782 MB / 4.836 GB, free: 265 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/16.31, allocations: 224.3 kB / 4.836 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/16.31, allocations: 9.375 kB / 4.836 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/16.31, allocations: 68.53 kB / 4.836 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/16.31, allocations: 32.47 kB / 4.836 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/16.31, allocations: 11.88 kB / 4.836 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00165/16.32, allocations: 0.8134 MB / 4.837 GB, free: 264.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.81e-07/16.32, allocations: 0 / 4.837 GB, free: 264.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002461/16.32, allocations: 0.5367 MB / 4.837 GB, free: 264.7 MB / 0.8855 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 (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.003915/16.32, allocations: 2.725 MB / 4.84 GB, free: 263.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004015/16.33, allocations: 1.106 MB / 4.841 GB, free: 262.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/16.33, allocations: 0 / 4.841 GB, free: 262.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/16.33, allocations: 245.5 kB / 4.841 GB, free: 262.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00903/16.34, allocations: 0.6308 MB / 4.842 GB, free: 262.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/16.37, allocations: 10.05 MB / 4.852 GB, free: 257.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/16.37, allocations: 1.199 MB / 4.853 GB, free: 256.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002466/16.37, allocations: 313.2 kB / 4.853 GB, free: 256.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009571/16.37, allocations: 321 kB / 4.854 GB, free: 256.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.633e-06/16.37, allocations: 3.312 kB / 4.854 GB, free: 256.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/16.51, allocations: 44.34 MB / 4.897 GB, free: 249.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/16.51, allocations: 288.5 kB / 4.897 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.039/20.55, allocations: 0 / 4.897 GB, free: 248.9 MB / 0.8855 GB