Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.327/2.327, allocations: 248.5 MB / 261.1 MB, free: 5.977 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.001498/0.001498, allocations: 180.1 kB / 320.4 MB, free: 15.34 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.944/1.944, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001125/0.001125, allocations: 93.25 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.447e-05/4.461e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.208, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.058/7.266, allocations: 2.182 GB / 3.072 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/7.266, allocations: 93.94 kB / 3.072 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.608/15.87, allocations: 1.724 GB / 4.796 GB, free: 80.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/15.87, allocations: 0 / 4.796 GB, free: 80.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001619/15.87, allocations: 31.98 kB / 4.796 GB, free: 80.22 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.002974/15.88, allocations: 1.149 MB / 4.797 GB, free: 79.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/15.88, allocations: 8.031 kB / 4.797 GB, free: 79.01 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/15.88, allocations: 94.52 kB / 4.798 GB, free: 78.91 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/15.88, allocations: 182.5 kB / 4.798 GB, free: 78.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/15.88, allocations: 1.074 MB / 4.799 GB, free: 77.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/15.88, allocations: 45 kB / 4.799 GB, free: 77.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/15.88, allocations: 56 kB / 4.799 GB, free: 77.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/15.88, allocations: 0.7533 MB / 4.8 GB, free: 76.67 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/15.89, allocations: 0 / 4.8 GB, free: 76.67 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/15.89, allocations: 27.95 kB / 4.8 GB, free: 76.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/15.89, allocations: 12 kB / 4.8 GB, free: 76.63 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/15.89, allocations: 482.6 kB / 4.8 GB, free: 76.16 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.005873/15.89, allocations: 4.598 MB / 4.805 GB, free: 71.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000806/15.89, allocations: 390.5 kB / 4.805 GB, free: 70.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/15.89, allocations: 221.4 kB / 4.805 GB, free: 70.57 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/15.89, allocations: 190.2 kB / 4.805 GB, free: 70.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005418/15.89, allocations: 273.6 kB / 4.806 GB, free: 70.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.997e-06/15.89, allocations: 0 / 4.806 GB, free: 70.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.00147/15.9, allocations: 455.9 kB / 4.806 GB, free: 69.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/15.9, allocations: 85.11 kB / 4.806 GB, free: 69.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/15.9, allocations: 0.9685 MB / 4.807 GB, free: 68.52 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/15.9, allocations: 41.7 kB / 4.807 GB, free: 68.47 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/15.9, allocations: 492.5 kB / 4.808 GB, free: 67.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/15.9, allocations: 110.5 kB / 4.808 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/15.9, allocations: 8 kB / 4.808 GB, free: 67.87 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.359e-05/15.9, allocations: 322 kB / 4.808 GB, free: 67.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/15.9, allocations: 160.8 kB / 4.808 GB, free: 67.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/15.9, allocations: 0.4911 MB / 4.809 GB, free: 66.76 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/15.9, allocations: 271.3 kB / 4.809 GB, free: 66.49 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/15.9, allocations: 3.953 kB / 4.809 GB, free: 66.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002666/15.9, allocations: 0.6387 MB / 4.81 GB, free: 65.83 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007732/15.9, allocations: 2.14 MB / 4.812 GB, free: 63.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.872e-05/15.9, allocations: 8 kB / 4.812 GB, free: 63.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.884e-05/15.9, allocations: 11.94 kB / 4.812 GB, free: 63.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/15.91, allocations: 107.8 kB / 4.812 GB, free: 63.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.207e-05/15.91, allocations: 15.92 kB / 4.812 GB, free: 63.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/15.91, allocations: 111.3 kB / 4.812 GB, free: 63.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/15.91, allocations: 27.98 kB / 4.812 GB, free: 63.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/15.91, allocations: 4 kB / 4.812 GB, free: 63.25 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001741/15.91, allocations: 497.4 kB / 4.812 GB, free: 62.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/15.91, allocations: 7.953 kB / 4.812 GB, free: 62.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/15.91, allocations: 8 kB / 4.812 GB, free: 62.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/15.91, allocations: 107.8 kB / 4.812 GB, free: 62.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.103e-05/15.91, allocations: 11.94 kB / 4.812 GB, free: 62.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/15.91, allocations: 99.67 kB / 4.813 GB, free: 62.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/15.91, allocations: 24 kB / 4.813 GB, free: 62.5 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003049/15.91, allocations: 140.7 kB / 4.813 GB, free: 62.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/15.92, allocations: 98.78 kB / 4.813 GB, free: 62.26 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/15.92, allocations: 462.9 kB / 4.813 GB, free: 61.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/15.92, allocations: 4 kB / 4.813 GB, free: 61.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/15.92, allocations: 4 kB / 4.813 GB, free: 61.78 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/15.92, allocations: 7.984 kB / 4.813 GB, free: 61.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004775/15.92, allocations: 1.357 MB / 4.815 GB, free: 60.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/15.92, allocations: 4.031 kB / 4.815 GB, free: 60.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/15.92, allocations: 63.95 kB / 4.815 GB, free: 60.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/15.92, allocations: 7.938 kB / 4.815 GB, free: 60.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/15.92, allocations: 8 kB / 4.815 GB, free: 60.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/15.92, allocations: 0 / 4.815 GB, free: 60.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/15.92, allocations: 4 kB / 4.815 GB, free: 60.25 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/15.92, allocations: 0.6626 MB / 4.815 GB, free: 59.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/15.93, allocations: 215.8 kB / 4.816 GB, free: 59.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/15.93, allocations: 11.98 kB / 4.816 GB, free: 59.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/15.93, allocations: 51.89 kB / 4.816 GB, free: 59.22 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/15.93, allocations: 39.84 kB / 4.816 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/15.93, allocations: 12 kB / 4.816 GB, free: 59.17 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002492/15.93, allocations: 0.7688 MB / 4.816 GB, free: 58.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.723e-06/15.93, allocations: 0 / 4.816 GB, free: 58.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003932/15.93, allocations: 487.6 kB / 4.817 GB, free: 57.91 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004818/15.94, allocations: 2.474 MB / 4.819 GB, free: 55.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002934/15.94, allocations: 0.768 MB / 4.82 GB, free: 54.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/15.94, allocations: 4.125 kB / 4.82 GB, free: 54.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007762/15.94, allocations: 191.7 kB / 4.82 GB, free: 54.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006166/15.95, allocations: 453 kB / 4.821 GB, free: 53.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/15.96, allocations: 1.652 MB / 4.822 GB, free: 52.24 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/15.96, allocations: 1.199 MB / 4.823 GB, free: 51.02 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005911/15.96, allocations: 0.8387 MB / 4.824 GB, free: 50.17 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009744/15.97, allocations: 307.3 kB / 4.825 GB, free: 49.87 MB / 0.8698 GB Notification: Performance of SimCode: time 1.944e-06/15.97, allocations: 4 kB / 4.825 GB, free: 49.87 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/16.1, allocations: 42.94 MB / 4.866 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/16.1, allocations: 216 kB / 4.867 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.368/20.47, allocations: 0 / 4.867 GB, free: 6.961 MB / 0.8698 GB