Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.531/2.531, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001545/0.001545, allocations: 190.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001158/0.001157, allocations: 89.67 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007701/0.0007701, allocations: 11.94 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.237, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.748/6.985, allocations: 2.063 GB / 3.042 GB, free: 196.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/6.985, allocations: 91.7 kB / 3.042 GB, free: 196.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.196/12.18, allocations: 0.9618 GB / 4.003 GB, free: 271.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/12.18, allocations: 0 / 4.003 GB, free: 271.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002557/12.18, allocations: 30.06 kB / 4.003 GB, free: 271.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00798/12.19, allocations: 1.426 MB / 4.005 GB, free: 271 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/12.19, allocations: 16.08 kB / 4.005 GB, free: 271 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004645/12.19, allocations: 96.95 kB / 4.005 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/12.19, allocations: 182.6 kB / 4.005 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006406/12.2, allocations: 1.093 MB / 4.006 GB, free: 270.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/12.2, allocations: 41.69 kB / 4.006 GB, free: 270.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/12.2, allocations: 68.69 kB / 4.006 GB, free: 270.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/12.2, allocations: 0.7598 MB / 4.007 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/12.2, allocations: 5.062 kB / 4.007 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/12.2, allocations: 24.56 kB / 4.007 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/12.2, allocations: 13.78 kB / 4.007 GB, free: 270.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/12.2, allocations: 0.516 MB / 4.008 GB, free: 270.3 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.009001/12.21, allocations: 4.6 MB / 4.012 GB, free: 266.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/12.22, allocations: 421.2 kB / 4.013 GB, free: 266.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/12.22, allocations: 196.5 kB / 4.013 GB, free: 266.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/12.22, allocations: 293.2 kB / 4.013 GB, free: 266.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 4.659e-06/12.22, allocations: 0 / 4.013 GB, free: 266.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.003481/12.22, allocations: 0.6422 MB / 4.014 GB, free: 266.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/12.22, allocations: 81.33 kB / 4.014 GB, free: 266.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/12.22, allocations: 0.9835 MB / 4.015 GB, free: 266.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/12.22, allocations: 37.55 kB / 4.015 GB, free: 266.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007803/12.23, allocations: 497.6 kB / 4.015 GB, free: 266.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/12.23, allocations: 114.5 kB / 4.015 GB, free: 266.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/12.23, allocations: 9.062 kB / 4.015 GB, free: 266.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001048/12.23, allocations: 321.4 kB / 4.016 GB, free: 265.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008801/12.23, allocations: 186.2 kB / 4.016 GB, free: 265.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/12.23, allocations: 0.5079 MB / 4.016 GB, free: 265.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/12.23, allocations: 295.6 kB / 4.017 GB, free: 265.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/12.23, allocations: 2.406 kB / 4.017 GB, free: 265.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003143/12.23, allocations: 0.6755 MB / 4.017 GB, free: 265.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007628/12.23, allocations: 2.135 MB / 4.019 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-05/12.23, allocations: 9.141 kB / 4.019 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.612e-05/12.23, allocations: 9.25 kB / 4.019 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/12.24, allocations: 296.4 kB / 4.02 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/12.24, allocations: 6.085 MB / 4.026 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/12.24, allocations: 112.2 kB / 4.026 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/12.24, allocations: 24.34 kB / 4.026 GB, free: 257.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/12.24, allocations: 3.438 kB / 4.026 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001517/12.24, allocations: 0.5385 MB / 4.026 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/12.24, allocations: 5.531 kB / 4.026 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/12.24, allocations: 11.28 kB / 4.026 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/12.25, allocations: 144.5 kB / 4.026 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/12.25, allocations: 13.66 kB / 4.026 GB, free: 257.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/12.25, allocations: 93.64 kB / 4.026 GB, free: 257.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/12.25, allocations: 22.88 kB / 4.026 GB, free: 257.1 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009703/12.25, allocations: 476.5 kB / 4.027 GB, free: 257 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/12.25, allocations: 100.9 kB / 4.027 GB, free: 256.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/12.25, allocations: 0.5019 MB / 4.028 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/12.25, allocations: 7.094 kB / 4.028 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/12.25, allocations: 0 / 4.028 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/12.25, allocations: 0 / 4.028 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/12.25, allocations: 1.386 MB / 4.029 GB, free: 256.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/12.25, allocations: 3.594 kB / 4.029 GB, free: 256.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/12.26, allocations: 160.4 kB / 4.029 GB, free: 256.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/12.26, allocations: 3.688 kB / 4.029 GB, free: 256.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/12.26, allocations: 6.844 kB / 4.029 GB, free: 256.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/12.26, allocations: 6.026 MB / 4.035 GB, free: 250.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/12.26, allocations: 0 / 4.035 GB, free: 250.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/12.26, allocations: 0.7107 MB / 4.036 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/12.26, allocations: 218.8 kB / 4.036 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/12.26, allocations: 11.08 kB / 4.036 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009014/12.26, allocations: 55.83 kB / 4.036 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/12.26, allocations: 24.91 kB / 4.036 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/12.26, allocations: 15.34 kB / 4.036 GB, free: 250 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001644/12.26, allocations: 0.7814 MB / 4.037 GB, free: 249.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/12.26, allocations: 0 / 4.037 GB, free: 249.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002545/12.27, allocations: 483.8 kB / 4.037 GB, free: 249.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003611/12.27, allocations: 2.526 MB / 4.04 GB, free: 248.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004701/12.27, allocations: 0.968 MB / 4.041 GB, free: 248.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/12.27, allocations: 0 / 4.041 GB, free: 248.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/12.28, allocations: 285.4 kB / 4.041 GB, free: 248.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/12.28, allocations: 461.8 kB / 4.041 GB, free: 248.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/12.3, allocations: 9.624 MB / 4.051 GB, free: 243 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/12.3, allocations: 1.203 MB / 4.052 GB, free: 242.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001886/12.3, allocations: 376.4 kB / 4.052 GB, free: 242.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006122/12.3, allocations: 311 kB / 4.053 GB, free: 242.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.192e-06/12.3, allocations: 3.938 kB / 4.053 GB, free: 242.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09726/12.4, allocations: 40.1 MB / 4.092 GB, free: 237.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/12.4, allocations: 267.3 kB / 4.092 GB, free: 236.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.046/16.44, allocations: 0 / 4.092 GB, free: 236.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)