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.484/2.484, allocations: 390.5 MB / 398 MB, free: 11 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.001089/0.001089, allocations: 172.9 kB / 491.2 MB, free: 1.629 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.643/1.643, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009332/0.0009332, allocations: 90.7 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.963e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3099, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.089/6.399, allocations: 1.869 GB / 3.082 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/6.399, allocations: 90.62 kB / 3.082 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.427/9.826, allocations: 0.9583 GB / 4.04 GB, free: 326.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.543e-06/9.826, allocations: 0 / 4.04 GB, free: 326.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.462e-05/9.826, allocations: 34.23 kB / 4.04 GB, free: 326.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001839/9.828, allocations: 1.137 MB / 4.041 GB, free: 325.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/9.828, allocations: 14.44 kB / 4.041 GB, free: 325.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007459/9.828, allocations: 184 kB / 4.041 GB, free: 325.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/9.83, allocations: 1.078 MB / 4.042 GB, free: 325.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/9.831, allocations: 14.59 kB / 4.042 GB, free: 325.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.392e-05/9.831, allocations: 37.44 kB / 4.042 GB, free: 325.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006606/9.831, allocations: 469.5 kB / 4.043 GB, free: 325 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/9.832, allocations: 0.6837 MB / 4.044 GB, free: 324.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/9.832, allocations: 3.938 kB / 4.044 GB, free: 324.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/9.832, allocations: 3.719 kB / 4.044 GB, free: 324.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/9.832, allocations: 11.41 kB / 4.044 GB, free: 324.5 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.003105/9.835, allocations: 4.476 MB / 4.048 GB, free: 320.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/9.836, allocations: 435.4 kB / 4.048 GB, free: 320.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/9.836, allocations: 242 kB / 4.049 GB, free: 319.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/9.836, allocations: 198.2 kB / 4.049 GB, free: 319.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/9.837, allocations: 266.4 kB / 4.049 GB, free: 319.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/9.837, allocations: 0 / 4.049 GB, free: 319.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0008896/9.838, allocations: 488.9 kB / 4.05 GB, free: 318.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/9.838, allocations: 81.11 kB / 4.05 GB, free: 318.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008917/9.838, allocations: 0.8479 MB / 4.05 GB, free: 317.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/9.839, allocations: 25.7 kB / 4.05 GB, free: 317.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/9.839, allocations: 492.2 kB / 4.051 GB, free: 317.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/9.839, allocations: 109.8 kB / 4.051 GB, free: 317.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/9.839, allocations: 0 / 4.051 GB, free: 317.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/9.839, allocations: 329.9 kB / 4.051 GB, free: 317 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/9.839, allocations: 184.7 kB / 4.052 GB, free: 316.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/9.84, allocations: 496.8 kB / 4.052 GB, free: 316.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/9.84, allocations: 261.8 kB / 4.052 GB, free: 315.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/9.84, allocations: 4.219 kB / 4.052 GB, free: 315.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007316/9.841, allocations: 0.6096 MB / 4.053 GB, free: 315.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004426/9.841, allocations: 2.137 MB / 4.055 GB, free: 313 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/9.841, allocations: 7.984 kB / 4.055 GB, free: 313 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/9.841, allocations: 16 kB / 4.055 GB, free: 313 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/9.843, allocations: 295.5 kB / 4.055 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/9.845, allocations: 6.188 MB / 4.061 GB, free: 306.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/9.846, allocations: 83.66 kB / 4.061 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/9.846, allocations: 27.98 kB / 4.061 GB, free: 306.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/9.846, allocations: 4 kB / 4.061 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005237/9.847, allocations: 411.3 kB / 4.062 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/9.847, allocations: 8 kB / 4.062 GB, free: 305.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/9.847, allocations: 8 kB / 4.062 GB, free: 305.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/9.847, allocations: 152.5 kB / 4.062 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/9.847, allocations: 11.94 kB / 4.062 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/9.848, allocations: 83.52 kB / 4.062 GB, free: 305.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/9.848, allocations: 20 kB / 4.062 GB, free: 305.5 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 (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.0001358/9.848, allocations: 132.8 kB / 4.062 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004542/9.848, allocations: 412.3 kB / 4.063 GB, free: 304.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/9.848, allocations: 94.88 kB / 4.063 GB, free: 304.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006357/9.849, allocations: 434.8 kB / 4.063 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/9.849, allocations: 4.281 kB / 4.063 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/9.849, allocations: 3.953 kB / 4.063 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/9.849, allocations: 7.922 kB / 4.063 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/9.851, allocations: 1.258 MB / 4.064 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/9.851, allocations: 7.984 kB / 4.064 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/9.851, allocations: 154.5 kB / 4.064 GB, free: 302.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/9.851, allocations: 8.219 kB / 4.064 GB, free: 302.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/9.851, allocations: 4 kB / 4.065 GB, free: 302.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/9.853, allocations: 6.032 MB / 4.07 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/9.853, allocations: 3.938 kB / 4.07 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/9.854, allocations: 0.6284 MB / 4.071 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/9.854, allocations: 215.8 kB / 4.071 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/9.854, allocations: 3.984 kB / 4.071 GB, free: 295.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/9.855, allocations: 47.89 kB / 4.071 GB, free: 295.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/9.855, allocations: 39.84 kB / 4.071 GB, free: 295.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/9.855, allocations: 12 kB / 4.071 GB, free: 295.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006827/9.855, allocations: 0.6611 MB / 4.072 GB, free: 294.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.855, allocations: 0 / 4.072 GB, free: 294.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001296/9.857, allocations: 459.3 kB / 4.072 GB, free: 294.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 (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.002009/9.859, allocations: 2.593 MB / 4.075 GB, free: 291.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002192/9.861, allocations: 0.9473 MB / 4.076 GB, free: 291 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/9.861, allocations: 0.5 kB / 4.076 GB, free: 291 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/9.861, allocations: 247.6 kB / 4.076 GB, free: 290.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/9.863, allocations: 395.5 kB / 4.076 GB, free: 290.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/9.866, allocations: 1.599 MB / 4.078 GB, free: 288.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/9.866, allocations: 1.21 MB / 4.079 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001661/9.868, allocations: 0.7407 MB / 4.08 GB, free: 286.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/9.868, allocations: 291.3 kB / 4.08 GB, free: 286.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.204e-06/9.868, allocations: 0 / 4.08 GB, free: 286.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05686/9.925, allocations: 30.7 MB / 4.11 GB, free: 255.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/9.925, allocations: 187.9 kB / 4.11 GB, free: 255.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/13.04, allocations: 0 / 4.11 GB, free: 255.7 MB / 1.151 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