Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.239/2.239, allocations: 390.5 MB / 398 MB, free: 10.93 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.001068/0.001068, allocations: 184.8 kB / 491.2 MB, free: 1.547 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.632/1.632, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009467/0.0009467, allocations: 95.88 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.889e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3106, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.104/6.414, allocations: 1.872 GB / 3.084 GB, free: 357.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/6.415, allocations: 90.27 kB / 3.084 GB, free: 357.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.685/10.1, allocations: 0.9703 GB / 4.055 GB, free: 318.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.124e-06/10.1, allocations: 0 / 4.055 GB, free: 318.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000158/10.1, allocations: 31.53 kB / 4.055 GB, free: 318.5 MB / 1.151 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.002762/10.1, allocations: 1.149 MB / 4.056 GB, free: 317.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/10.1, allocations: 16.03 kB / 4.056 GB, free: 317.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/10.1, allocations: 185.3 kB / 4.056 GB, free: 317.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/10.11, allocations: 1.097 MB / 4.057 GB, free: 316.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/10.11, allocations: 20 kB / 4.057 GB, free: 316 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/10.11, allocations: 36 kB / 4.057 GB, free: 316 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007253/10.11, allocations: 469.8 kB / 4.058 GB, free: 315.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008509/10.11, allocations: 0.6842 MB / 4.058 GB, free: 314.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/10.11, allocations: 4 kB / 4.058 GB, free: 314.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/10.11, allocations: 4 kB / 4.058 GB, free: 314.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/10.11, allocations: 12 kB / 4.058 GB, free: 314.8 MB / 1.151 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.003603/10.11, allocations: 4.469 MB / 4.063 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/10.11, allocations: 434.5 kB / 4.063 GB, free: 309.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/10.11, allocations: 238.5 kB / 4.063 GB, free: 309.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/10.11, allocations: 190.2 kB / 4.063 GB, free: 309 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/10.11, allocations: 261.9 kB / 4.064 GB, free: 308.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/10.11, allocations: 0 / 4.064 GB, free: 308.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001601/10.11, allocations: 0.7386 MB / 4.064 GB, free: 308 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/10.11, allocations: 89.09 kB / 4.064 GB, free: 307.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009865/10.12, allocations: 0.8482 MB / 4.065 GB, free: 307.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/10.12, allocations: 29.7 kB / 4.065 GB, free: 307 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/10.12, allocations: 496.1 kB / 4.066 GB, free: 306.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/10.12, allocations: 106.5 kB / 4.066 GB, free: 306.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/10.12, allocations: 0 / 4.066 GB, free: 306.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.76e-05/10.12, allocations: 322 kB / 4.066 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/10.12, allocations: 176.8 kB / 4.066 GB, free: 305.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/10.12, allocations: 0.4884 MB / 4.067 GB, free: 305.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/10.12, allocations: 269.8 kB / 4.067 GB, free: 305 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/10.12, allocations: 3.938 kB / 4.067 GB, free: 305 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001367/10.12, allocations: 0.8818 MB / 4.068 GB, free: 304.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004284/10.12, allocations: 2.131 MB / 4.07 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/10.12, allocations: 4 kB / 4.07 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/10.12, allocations: 242.6 kB / 4.07 GB, free: 301.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/10.12, allocations: 67.98 kB / 4.07 GB, free: 301.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/10.12, allocations: 1.186 MB / 4.071 GB, free: 300.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/10.12, allocations: 87.52 kB / 4.072 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/10.12, allocations: 24 kB / 4.072 GB, free: 300.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/10.12, allocations: 4 kB / 4.072 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009302/10.12, allocations: 0.578 MB / 4.072 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/10.12, allocations: 8.797 kB / 4.072 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/10.12, allocations: 209.7 kB / 4.072 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/10.12, allocations: 67.78 kB / 4.072 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/10.13, allocations: 2.868 MB / 4.075 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007907/10.13, allocations: 75.75 kB / 4.075 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/10.13, allocations: 20 kB / 4.075 GB, free: 296.3 MB / 1.151 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.000164/10.13, allocations: 132.8 kB / 4.075 GB, free: 296.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008364/10.13, allocations: 0.6123 MB / 4.076 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/10.13, allocations: 94.88 kB / 4.076 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000996/10.13, allocations: 0.6357 MB / 4.077 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/10.13, allocations: 4 kB / 4.077 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/10.13, allocations: 4 kB / 4.077 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/10.13, allocations: 7.984 kB / 4.077 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/10.13, allocations: 1.454 MB / 4.078 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/10.13, allocations: 8.031 kB / 4.078 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/10.13, allocations: 27.92 kB / 4.078 GB, free: 293.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003124/10.13, allocations: 210.7 kB / 4.078 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/10.13, allocations: 11.92 kB / 4.078 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008034/10.13, allocations: 1.034 MB / 4.079 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/10.13, allocations: 4.031 kB / 4.079 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/10.13, allocations: 0.8524 MB / 4.08 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/10.13, allocations: 207.9 kB / 4.08 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/10.13, allocations: 4 kB / 4.08 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/10.13, allocations: 55.78 kB / 4.081 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/10.13, allocations: 35.86 kB / 4.081 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/10.13, allocations: 15.98 kB / 4.081 GB, free: 290.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007093/10.14, allocations: 0.6691 MB / 4.081 GB, free: 290 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/10.14, allocations: 0 / 4.081 GB, free: 290 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001588/10.14, allocations: 491.5 kB / 4.082 GB, free: 289.5 MB / 1.151 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.002388/10.14, allocations: 2.781 MB / 4.084 GB, free: 286.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001977/10.14, allocations: 1.104 MB / 4.086 GB, free: 285.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/10.14, allocations: 4 kB / 4.086 GB, free: 285.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004347/10.14, allocations: 248.6 kB / 4.086 GB, free: 285.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/10.14, allocations: 387.3 kB / 4.086 GB, free: 285 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/10.15, allocations: 1.607 MB / 4.088 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/10.15, allocations: 1.206 MB / 4.089 GB, free: 282.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00165/10.15, allocations: 0.6821 MB / 4.09 GB, free: 281.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/10.15, allocations: 295.3 kB / 4.09 GB, free: 281.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.01e-07/10.15, allocations: 0 / 4.09 GB, free: 281.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06075/10.21, allocations: 32.22 MB / 4.121 GB, free: 249.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/10.21, allocations: 184.7 kB / 4.121 GB, free: 248.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/13.58, allocations: 1.688 kB / 4.121 GB, free: 248.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat does not exist to compare? outputFormat=mat