Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.638/1.638, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001032/0.001032, allocations: 180.3 kB / 371.6 MB, free: 3.359 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.453/1.453, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009443/0.0009443, allocations: 97 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.87e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2456, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.448/5.694, allocations: 2.067 GB / 3.047 GB, free: 190.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/5.694, allocations: 85.17 kB / 3.047 GB, free: 190.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.936/9.629, allocations: 0.9729 GB / 4.02 GB, free: 211.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.416e-06/9.63, allocations: 0 / 4.02 GB, free: 211.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000214/9.63, allocations: 33.25 kB / 4.02 GB, free: 211.2 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.003799/9.634, allocations: 1.15 MB / 4.021 GB, free: 210.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/9.634, allocations: 9.438 kB / 4.021 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003567/9.634, allocations: 99 kB / 4.021 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/9.635, allocations: 184.5 kB / 4.021 GB, free: 210.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/9.639, allocations: 1.095 MB / 4.022 GB, free: 210.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/9.639, allocations: 45.56 kB / 4.022 GB, free: 210.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/9.639, allocations: 64.92 kB / 4.023 GB, free: 210.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/9.641, allocations: 0.7402 MB / 4.023 GB, free: 210 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/9.641, allocations: 0 / 4.023 GB, free: 210 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/9.641, allocations: 20.91 kB / 4.023 GB, free: 210 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/9.641, allocations: 13.06 kB / 4.023 GB, free: 210 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/9.642, allocations: 479.7 kB / 4.024 GB, free: 210 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.005668/9.648, allocations: 4.591 MB / 4.028 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/9.648, allocations: 379.3 kB / 4.029 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/9.649, allocations: 228.1 kB / 4.029 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/9.649, allocations: 193.9 kB / 4.029 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/9.65, allocations: 270.7 kB / 4.029 GB, free: 206.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/9.65, allocations: 0 / 4.029 GB, free: 206.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001675/9.651, allocations: 0.6633 MB / 4.03 GB, free: 206.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/9.651, allocations: 84.33 kB / 4.03 GB, free: 206.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/9.653, allocations: 0.9786 MB / 4.031 GB, free: 206 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/9.653, allocations: 42.2 kB / 4.031 GB, free: 205.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/9.653, allocations: 494 kB / 4.031 GB, free: 205.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/9.654, allocations: 112.9 kB / 4.032 GB, free: 205.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/9.654, allocations: 10.88 kB / 4.032 GB, free: 205.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/9.654, allocations: 323 kB / 4.032 GB, free: 205.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/9.654, allocations: 159.4 kB / 4.032 GB, free: 205.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/9.654, allocations: 497.4 kB / 4.032 GB, free: 205.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/9.655, allocations: 276.1 kB / 4.033 GB, free: 205 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/9.655, allocations: 0 / 4.033 GB, free: 205 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001372/9.656, allocations: 0.8581 MB / 4.034 GB, free: 204.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007238/9.657, allocations: 2.128 MB / 4.036 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/9.657, allocations: 6.594 kB / 4.036 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006793/9.658, allocations: 265.2 kB / 4.036 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/9.658, allocations: 64.17 kB / 4.036 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/9.66, allocations: 1.082 MB / 4.037 GB, free: 202.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/9.661, allocations: 102.6 kB / 4.037 GB, free: 202.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.303e-05/9.661, allocations: 26.41 kB / 4.037 GB, free: 202.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/9.661, allocations: 2.938 kB / 4.037 GB, free: 202.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001574/9.662, allocations: 0.6717 MB / 4.038 GB, free: 202 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/9.662, allocations: 7.484 kB / 4.038 GB, free: 202 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/9.663, allocations: 220.9 kB / 4.038 GB, free: 202 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/9.663, allocations: 60.09 kB / 4.038 GB, free: 202 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/9.667, allocations: 2.968 MB / 4.041 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009665/9.668, allocations: 103.5 kB / 4.041 GB, free: 200.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/9.668, allocations: 23.78 kB / 4.041 GB, free: 200.6 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001864/9.668, allocations: 134.1 kB / 4.041 GB, free: 200.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/9.668, allocations: 108.4 kB / 4.041 GB, free: 200.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/9.669, allocations: 0.6649 MB / 4.042 GB, free: 200.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/9.669, allocations: 7.219 kB / 4.042 GB, free: 200.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/9.669, allocations: 3.938 kB / 4.042 GB, free: 200.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/9.669, allocations: 7.094 kB / 4.042 GB, free: 200.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/9.672, allocations: 1.568 MB / 4.044 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/9.672, allocations: 0 / 4.044 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/9.672, allocations: 24 kB / 4.044 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/9.672, allocations: 253.2 kB / 4.044 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/9.672, allocations: 16.91 kB / 4.044 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008747/9.673, allocations: 1.017 MB / 4.045 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/9.673, allocations: 7.328 kB / 4.045 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009732/9.674, allocations: 0.8742 MB / 4.046 GB, free: 198.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/9.675, allocations: 226.5 kB / 4.046 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/9.675, allocations: 10.73 kB / 4.046 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/9.675, allocations: 55.81 kB / 4.046 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/9.675, allocations: 34.34 kB / 4.046 GB, free: 198.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/9.675, allocations: 13.44 kB / 4.046 GB, free: 198.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001027/9.676, allocations: 0.7723 MB / 4.047 GB, free: 198.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.01e-07/9.676, allocations: 0 / 4.047 GB, free: 198.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001657/9.678, allocations: 0.5112 MB / 4.047 GB, free: 198.5 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002665/9.681, allocations: 2.686 MB / 4.05 GB, free: 197 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002415/9.683, allocations: 1.145 MB / 4.051 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/9.683, allocations: 3.5 kB / 4.051 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005365/9.684, allocations: 250.5 kB / 4.051 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/9.686, allocations: 456.4 kB / 4.052 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/9.689, allocations: 1.661 MB / 4.053 GB, free: 196.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009524/9.69, allocations: 1.206 MB / 4.054 GB, free: 195.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002312/9.693, allocations: 0.7303 MB / 4.055 GB, free: 195.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/9.693, allocations: 293.1 kB / 4.055 GB, free: 195.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/9.693, allocations: 0 / 4.055 GB, free: 195.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09951/9.792, allocations: 45.94 MB / 4.1 GB, free: 192.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/9.793, allocations: 239.2 kB / 4.101 GB, free: 192.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.581/13.37, allocations: 0 / 4.101 GB, free: 192.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)