Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001256/0.001256, allocations: 181.8 kB / 371.8 MB, free: 10.25 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.774/1.774, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000993/0.000993, allocations: 109.3 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 11.94 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.152/5.403, allocations: 2.066 GB / 3.046 GB, free: 251.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/5.403, allocations: 95.94 kB / 3.046 GB, free: 251.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.641/9.045, allocations: 0.9738 GB / 4.02 GB, free: 272.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/9.045, allocations: 0.8438 kB / 4.02 GB, free: 272.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001159/9.045, allocations: 34.42 kB / 4.02 GB, free: 272.8 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.003341/9.048, allocations: 1.438 MB / 4.021 GB, free: 272.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/9.049, allocations: 12.89 kB / 4.021 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/9.049, allocations: 95.41 kB / 4.021 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008159/9.05, allocations: 182.6 kB / 4.021 GB, free: 272.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/9.052, allocations: 1.111 MB / 4.022 GB, free: 271.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/9.052, allocations: 48.23 kB / 4.022 GB, free: 271.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/9.053, allocations: 59.59 kB / 4.022 GB, free: 271.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/9.054, allocations: 0.7677 MB / 4.023 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/9.054, allocations: 5.219 kB / 4.023 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/9.054, allocations: 20.69 kB / 4.023 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/9.054, allocations: 14.48 kB / 4.023 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/9.055, allocations: 0.5152 MB / 4.024 GB, free: 271.6 MB / 0.948 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.004583/9.06, allocations: 4.588 MB / 4.028 GB, free: 268.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008835/9.061, allocations: 420.4 kB / 4.029 GB, free: 268.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/9.061, allocations: 196.1 kB / 4.029 GB, free: 268 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006042/9.062, allocations: 296 kB / 4.029 GB, free: 267.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/9.062, allocations: 0 / 4.029 GB, free: 267.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.003995/9.066, allocations: 1.312 MB / 4.03 GB, free: 267.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/9.066, allocations: 85.25 kB / 4.03 GB, free: 267.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/9.067, allocations: 0.9849 MB / 4.031 GB, free: 267.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/9.067, allocations: 40.94 kB / 4.031 GB, free: 267.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/9.068, allocations: 494.5 kB / 4.032 GB, free: 267.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/9.068, allocations: 111.9 kB / 4.032 GB, free: 267.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/9.068, allocations: 9.812 kB / 4.032 GB, free: 267.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/9.068, allocations: 324.2 kB / 4.032 GB, free: 267 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/9.068, allocations: 184.5 kB / 4.032 GB, free: 267 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/9.069, allocations: 0.5094 MB / 4.033 GB, free: 266.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/9.069, allocations: 291.2 kB / 4.033 GB, free: 266.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/9.069, allocations: 2.219 kB / 4.033 GB, free: 266.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001576/9.071, allocations: 0.9007 MB / 4.034 GB, free: 266.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004743/9.071, allocations: 2.13 MB / 4.036 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/9.071, allocations: 4.438 kB / 4.036 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/9.072, allocations: 263.1 kB / 4.036 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/9.072, allocations: 71.77 kB / 4.037 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/9.074, allocations: 1.077 MB / 4.038 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009958/9.075, allocations: 104.6 kB / 4.038 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/9.075, allocations: 29.17 kB / 4.038 GB, free: 263.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/9.075, allocations: 3.969 kB / 4.038 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001389/9.076, allocations: 0.7192 MB / 4.038 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/9.076, allocations: 6.281 kB / 4.038 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/9.077, allocations: 220.5 kB / 4.039 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/9.077, allocations: 65.09 kB / 4.039 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/9.081, allocations: 3.062 MB / 4.042 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/9.082, allocations: 95.06 kB / 4.042 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/9.082, allocations: 22.81 kB / 4.042 GB, free: 262.2 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 () * Number of clocked 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.0008595/9.083, allocations: 467.5 kB / 4.042 GB, free: 262 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/9.083, allocations: 101.8 kB / 4.042 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/9.084, allocations: 0.7103 MB / 4.043 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/9.084, allocations: 4.219 kB / 4.043 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/9.084, allocations: 3.125 kB / 4.043 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/9.084, allocations: 4.953 kB / 4.043 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/9.087, allocations: 1.598 MB / 4.045 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/9.087, allocations: 4.5 kB / 4.045 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/9.087, allocations: 25.94 kB / 4.045 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005348/9.088, allocations: 252.5 kB / 4.045 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/9.088, allocations: 12.11 kB / 4.045 GB, free: 261.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/9.089, allocations: 1.025 MB / 4.046 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/9.089, allocations: 3.453 kB / 4.046 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/9.09, allocations: 0.9163 MB / 4.047 GB, free: 260.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/9.091, allocations: 224.6 kB / 4.047 GB, free: 260.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/9.091, allocations: 9.797 kB / 4.047 GB, free: 260.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/9.091, allocations: 58.66 kB / 4.047 GB, free: 260.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/9.091, allocations: 31.2 kB / 4.047 GB, free: 260.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/9.092, allocations: 17.58 kB / 4.047 GB, free: 260.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001188/9.093, allocations: 0.7822 MB / 4.048 GB, free: 260.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/9.093, allocations: 2.281 kB / 4.048 GB, free: 260.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002049/9.095, allocations: 0.5115 MB / 4.048 GB, free: 260.2 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) * Number of clocked states: 0 () * 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.002983/9.098, allocations: 2.716 MB / 4.051 GB, free: 258.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002685/9.1, allocations: 1.177 MB / 4.052 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/9.1, allocations: 6.5 kB / 4.052 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/9.101, allocations: 279.8 kB / 4.052 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/9.103, allocations: 464 kB / 4.053 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/9.114, allocations: 9.838 MB / 4.063 GB, free: 253 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/9.114, allocations: 1.203 MB / 4.064 GB, free: 252.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001201/9.116, allocations: 324 kB / 4.064 GB, free: 252.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/9.116, allocations: 313.4 kB / 4.064 GB, free: 252.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/9.116, allocations: 0 / 4.064 GB, free: 252.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07913/9.195, allocations: 42.12 MB / 4.105 GB, free: 250.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/9.195, allocations: 272.4 kB / 4.106 GB, free: 250.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.317/12.51, allocations: 4 kB / 4.106 GB, free: 250.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)