Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 289.7 MB / 302.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 180.2 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000851/0.0008509, allocations: 90.38 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.126e-05/5.13e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.516/5.751, allocations: 2.067 GB / 3.047 GB, free: 129.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/5.752, allocations: 91.19 kB / 3.047 GB, free: 129.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.14/12.89, allocations: 1.799 GB / 4.846 GB, free: 143.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.374e-06/12.89, allocations: 4 kB / 4.846 GB, free: 143.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001979/12.89, allocations: 31.98 kB / 4.846 GB, free: 143.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003215/12.9, allocations: 1.155 MB / 4.847 GB, free: 142.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/12.9, allocations: 8.031 kB / 4.847 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000252/12.9, allocations: 94.52 kB / 4.847 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/12.9, allocations: 189.8 kB / 4.847 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/12.9, allocations: 1.093 MB / 4.848 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/12.9, allocations: 41 kB / 4.849 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/12.9, allocations: 71.94 kB / 4.849 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/12.9, allocations: 0.7318 MB / 4.849 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/12.9, allocations: 0 / 4.849 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/12.9, allocations: 24 kB / 4.849 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/12.9, allocations: 17.03 kB / 4.849 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007067/12.9, allocations: 478.6 kB / 4.85 GB, free: 139.2 MB / 0.948 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.003999/12.91, allocations: 4.602 MB / 4.854 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/12.91, allocations: 376.3 kB / 4.855 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/12.91, allocations: 226 kB / 4.855 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/12.91, allocations: 186.2 kB / 4.855 GB, free: 133.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003503/12.91, allocations: 278.1 kB / 4.855 GB, free: 133.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/12.91, allocations: 0 / 4.855 GB, free: 133.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001325/12.91, allocations: 0.6618 MB / 4.856 GB, free: 132.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/12.91, allocations: 89.11 kB / 4.856 GB, free: 132.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/12.91, allocations: 0.9767 MB / 4.857 GB, free: 131.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/12.91, allocations: 37.64 kB / 4.857 GB, free: 131.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/12.91, allocations: 492.5 kB / 4.858 GB, free: 130.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/12.91, allocations: 114.5 kB / 4.858 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/12.91, allocations: 8 kB / 4.858 GB, free: 130.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.099e-05/12.91, allocations: 326 kB / 4.858 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/12.91, allocations: 164.8 kB / 4.858 GB, free: 130.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/12.91, allocations: 492.8 kB / 4.859 GB, free: 129.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/12.91, allocations: 284.2 kB / 4.859 GB, free: 129.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/12.91, allocations: 0 / 4.859 GB, free: 129.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001197/12.91, allocations: 0.857 MB / 4.86 GB, free: 128.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004267/12.91, allocations: 2.129 MB / 4.862 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/12.91, allocations: 8 kB / 4.862 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/12.91, allocations: 235.2 kB / 4.862 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/12.91, allocations: 67.91 kB / 4.862 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007963/12.91, allocations: 0.9948 MB / 4.863 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/12.92, allocations: 103.7 kB / 4.863 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/12.92, allocations: 31.92 kB / 4.863 GB, free: 124.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/12.92, allocations: 4 kB / 4.863 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/12.92, allocations: 0.6814 MB / 4.864 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/12.92, allocations: 8.125 kB / 4.864 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004568/12.92, allocations: 208.7 kB / 4.864 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/12.92, allocations: 67.84 kB / 4.864 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/12.92, allocations: 3.072 MB / 4.867 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008112/12.92, allocations: 95.59 kB / 4.867 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/12.92, allocations: 23.98 kB / 4.867 GB, free: 120.4 MB / 0.948 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 (34): * Single equations (assignments): 32 * 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.0001616/12.92, allocations: 150.1 kB / 4.867 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/12.92, allocations: 98.78 kB / 4.867 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/12.92, allocations: 0.6709 MB / 4.868 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/12.92, allocations: 12.12 kB / 4.868 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/12.92, allocations: 0 / 4.868 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/12.92, allocations: 3.984 kB / 4.868 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/12.92, allocations: 1.565 MB / 4.87 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/12.93, allocations: 0 / 4.87 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/12.93, allocations: 32.16 kB / 4.87 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/12.93, allocations: 224.4 kB / 4.87 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/12.93, allocations: 15.98 kB / 4.87 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007269/12.93, allocations: 0.9706 MB / 4.871 GB, free: 116.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/12.93, allocations: 4.031 kB / 4.871 GB, free: 116.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/12.93, allocations: 0.8734 MB / 4.872 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/12.93, allocations: 215.8 kB / 4.872 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/12.93, allocations: 11.98 kB / 4.872 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/12.93, allocations: 55.8 kB / 4.872 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/12.93, allocations: 35.95 kB / 4.872 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/12.93, allocations: 12 kB / 4.872 GB, free: 115.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001027/12.93, allocations: 0.7768 MB / 4.873 GB, free: 114.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/12.93, allocations: 3.938 kB / 4.873 GB, free: 114.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001888/12.93, allocations: 0.5113 MB / 4.873 GB, free: 113.9 MB / 0.948 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002657/12.93, allocations: 2.669 MB / 4.876 GB, free: 111.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001689/12.94, allocations: 1.022 MB / 4.877 GB, free: 110.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/12.94, allocations: 4 kB / 4.877 GB, free: 110.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/12.94, allocations: 210.6 kB / 4.877 GB, free: 109.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/12.94, allocations: 463.4 kB / 4.878 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/12.94, allocations: 1.654 MB / 4.879 GB, free: 107.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/12.94, allocations: 1.206 MB / 4.88 GB, free: 106.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001856/12.94, allocations: 0.7334 MB / 4.881 GB, free: 105.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/12.94, allocations: 291.3 kB / 4.881 GB, free: 105.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/12.94, allocations: 0 / 4.881 GB, free: 105.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07584/13.02, allocations: 46.35 MB / 4.927 GB, free: 59.36 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/13.02, allocations: 248.3 kB / 4.927 GB, free: 59.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.526/16.55, allocations: 0 / 4.927 GB, free: 59.04 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)