Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.339/2.339, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 187.6 kB / 0.4901 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.1 MB / 0.7992 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009322/0.0009323, allocations: 105.8 kB / 0.9396 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004177, allocations: 9.844 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2954, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.05/5.346, allocations: 1.87 GB / 3.099 GB, free: 92.99 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/5.346, allocations: 98.28 kB / 3.099 GB, free: 92.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.581/8.927, allocations: 0.9692 GB / 4.069 GB, free: 19.89 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.865e-06/8.927, allocations: 0 / 4.069 GB, free: 19.89 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002215/8.927, allocations: 31.98 kB / 4.069 GB, free: 19.86 MB / 1.167 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.005696/8.933, allocations: 1.426 MB / 4.07 GB, free: 18.37 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.993e-05/8.933, allocations: 8.828 kB / 4.07 GB, free: 18.36 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004241/8.934, allocations: 102.4 kB / 4.07 GB, free: 18.25 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/8.935, allocations: 186.5 kB / 4.07 GB, free: 18.07 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/8.939, allocations: 1.092 MB / 4.071 GB, free: 16.92 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/8.939, allocations: 45 kB / 4.071 GB, free: 16.88 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/8.939, allocations: 60 kB / 4.071 GB, free: 16.82 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/8.941, allocations: 0.7744 MB / 4.072 GB, free: 15.96 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/8.941, allocations: 3.938 kB / 4.072 GB, free: 15.96 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/8.941, allocations: 24 kB / 4.072 GB, free: 15.94 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/8.941, allocations: 12 kB / 4.072 GB, free: 15.93 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/8.942, allocations: 0.5266 MB / 4.073 GB, free: 15.4 MB / 1.167 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.00539/8.947, allocations: 4.583 MB / 4.077 GB, free: 10.43 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/8.948, allocations: 430.4 kB / 4.078 GB, free: 10 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/8.948, allocations: 194.2 kB / 4.078 GB, free: 9.773 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/8.949, allocations: 300.9 kB / 4.078 GB, free: 9.457 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.776e-06/8.949, allocations: 0 / 4.078 GB, free: 9.457 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001585/8.951, allocations: 0.6394 MB / 4.079 GB, free: 8.816 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/8.951, allocations: 85.09 kB / 4.079 GB, free: 8.715 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/8.952, allocations: 0.9757 MB / 4.08 GB, free: 7.723 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/8.952, allocations: 37.7 kB / 4.08 GB, free: 7.68 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/8.953, allocations: 0.4926 MB / 4.08 GB, free: 7.18 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/8.953, allocations: 110.6 kB / 4.08 GB, free: 7.07 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/8.953, allocations: 12 kB / 4.08 GB, free: 7.059 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/8.953, allocations: 326 kB / 4.081 GB, free: 6.734 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/8.953, allocations: 184.7 kB / 4.081 GB, free: 6.555 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/8.954, allocations: 0.5093 MB / 4.081 GB, free: 5.902 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/8.954, allocations: 291.3 kB / 4.082 GB, free: 5.613 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/8.954, allocations: 4 kB / 4.082 GB, free: 5.609 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001159/8.955, allocations: 0.6717 MB / 4.082 GB, free: 4.926 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009321/8.956, allocations: 2.147 MB / 4.084 GB, free: 2.613 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/8.956, allocations: 8 kB / 4.084 GB, free: 2.605 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/8.956, allocations: 12 kB / 4.084 GB, free: 2.594 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/8.958, allocations: 291.5 kB / 4.085 GB, free: 2.309 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.878/9.836, allocations: 6.08 MB / 4.091 GB, free: 370.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/9.838, allocations: 101.8 kB / 4.091 GB, free: 370.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/9.838, allocations: 26.56 kB / 4.091 GB, free: 370.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/9.838, allocations: 3.719 kB / 4.091 GB, free: 370.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001518/9.839, allocations: 0.538 MB / 4.091 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/9.839, allocations: 5.344 kB / 4.091 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/9.839, allocations: 9.328 kB / 4.091 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/9.84, allocations: 147.9 kB / 4.091 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/9.84, allocations: 12.7 kB / 4.091 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/9.841, allocations: 101 kB / 4.092 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/9.841, allocations: 24.73 kB / 4.092 GB, free: 370.4 MB / 1.167 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.0009757/9.842, allocations: 465.2 kB / 4.092 GB, free: 370.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/9.842, allocations: 100.7 kB / 4.092 GB, free: 370.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/9.844, allocations: 0.4966 MB / 4.093 GB, free: 370.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/9.844, allocations: 8.641 kB / 4.093 GB, free: 370.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/9.844, allocations: 0 / 4.093 GB, free: 370.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/9.844, allocations: 2.984 kB / 4.093 GB, free: 370.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/9.846, allocations: 1.384 MB / 4.094 GB, free: 369.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/9.846, allocations: 2.062 kB / 4.094 GB, free: 369.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/9.847, allocations: 152 kB / 4.094 GB, free: 369.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/9.847, allocations: 8.672 kB / 4.094 GB, free: 369.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/9.847, allocations: 12.66 kB / 4.094 GB, free: 369.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/9.85, allocations: 6.018 MB / 4.1 GB, free: 363.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/9.85, allocations: 10.39 kB / 4.1 GB, free: 363.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/9.851, allocations: 0.6918 MB / 4.101 GB, free: 363.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004884/9.851, allocations: 222.9 kB / 4.101 GB, free: 363.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/9.851, allocations: 10.31 kB / 4.101 GB, free: 363.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/9.852, allocations: 57.95 kB / 4.101 GB, free: 363.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/9.852, allocations: 33.11 kB / 4.101 GB, free: 363.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/9.852, allocations: 11.88 kB / 4.101 GB, free: 363.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001328/9.853, allocations: 0.7808 MB / 4.102 GB, free: 363.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.1e-07/9.853, allocations: 0 / 4.102 GB, free: 363.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00219/9.856, allocations: 478.5 kB / 4.102 GB, free: 363.3 MB / 1.167 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.003141/9.859, allocations: 2.534 MB / 4.105 GB, free: 361.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003012/9.862, allocations: 0.979 MB / 4.106 GB, free: 361.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/9.862, allocations: 6.625 kB / 4.106 GB, free: 361.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008194/9.863, allocations: 273.9 kB / 4.106 GB, free: 361.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/9.865, allocations: 456.4 kB / 4.106 GB, free: 361.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/9.88, allocations: 9.622 MB / 4.116 GB, free: 356.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/9.882, allocations: 1.207 MB / 4.117 GB, free: 355.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002013/9.884, allocations: 375.2 kB / 4.117 GB, free: 355.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000657/9.884, allocations: 315.1 kB / 4.118 GB, free: 355.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.393e-06/9.884, allocations: 0 / 4.118 GB, free: 355.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09179/9.976, allocations: 40.14 MB / 4.157 GB, free: 354.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/9.976, allocations: 262.9 kB / 4.157 GB, free: 354.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.755/13.73, allocations: 0 / 4.157 GB, free: 354.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat does not exist to compare? outputFormat=mat