Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001223/0.001223, allocations: 175.3 kB / 498.1 MB, free: 5.73 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.495/1.495, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.001036/0.001035, allocations: 100.4 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.000407, allocations: 15.67 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.296, allocations: 142.3 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.973/4.269, allocations: 1.869 GB / 3.092 GB, free: 80.71 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/4.27, allocations: 94.64 kB / 3.092 GB, free: 80.66 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.97/7.24, allocations: 0.9691 GB / 4.061 GB, free: 25.69 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.296e-06/7.24, allocations: 0 / 4.061 GB, free: 25.69 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000162/7.24, allocations: 27.98 kB / 4.061 GB, free: 25.66 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.003793/7.244, allocations: 1.433 MB / 4.063 GB, free: 24.17 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/7.244, allocations: 11.97 kB / 4.063 GB, free: 24.16 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/7.244, allocations: 94.52 kB / 4.063 GB, free: 24.06 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/7.245, allocations: 190.5 kB / 4.063 GB, free: 23.87 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/7.248, allocations: 1.088 MB / 4.064 GB, free: 22.73 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/7.248, allocations: 49 kB / 4.064 GB, free: 22.68 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/7.248, allocations: 56 kB / 4.064 GB, free: 22.62 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/7.25, allocations: 0.7676 MB / 4.065 GB, free: 21.78 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/7.25, allocations: 3.938 kB / 4.065 GB, free: 21.78 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/7.25, allocations: 28 kB / 4.065 GB, free: 21.75 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/7.25, allocations: 12 kB / 4.065 GB, free: 21.74 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008218/7.25, allocations: 0.511 MB / 4.066 GB, free: 21.23 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.003737/7.254, allocations: 4.599 MB / 4.07 GB, free: 16.25 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/7.255, allocations: 426.5 kB / 4.07 GB, free: 15.82 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/7.255, allocations: 198.2 kB / 4.071 GB, free: 15.59 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/7.256, allocations: 294.7 kB / 4.071 GB, free: 15.28 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/7.256, allocations: 0 / 4.071 GB, free: 15.28 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.00138/7.257, allocations: 0.6509 MB / 4.072 GB, free: 14.62 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/7.257, allocations: 85.09 kB / 4.072 GB, free: 14.52 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/7.258, allocations: 0.9795 MB / 4.073 GB, free: 13.53 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/7.258, allocations: 41.7 kB / 4.073 GB, free: 13.48 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/7.259, allocations: 496.4 kB / 4.073 GB, free: 12.99 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/7.259, allocations: 114.5 kB / 4.073 GB, free: 12.88 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/7.259, allocations: 4 kB / 4.073 GB, free: 12.87 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/7.259, allocations: 322 kB / 4.074 GB, free: 12.55 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/7.259, allocations: 184.7 kB / 4.074 GB, free: 12.37 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/7.26, allocations: 0.5085 MB / 4.074 GB, free: 11.72 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/7.26, allocations: 288.2 kB / 4.074 GB, free: 11.43 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/7.26, allocations: 0 / 4.074 GB, free: 11.43 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001033/7.261, allocations: 0.6814 MB / 4.075 GB, free: 10.74 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004608/7.262, allocations: 2.132 MB / 4.077 GB, free: 8.441 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/7.262, allocations: 4 kB / 4.077 GB, free: 8.438 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/7.262, allocations: 15.98 kB / 4.077 GB, free: 8.422 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/7.263, allocations: 303.5 kB / 4.078 GB, free: 8.125 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/7.265, allocations: 6.083 MB / 4.083 GB, free: 1.809 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009527/7.266, allocations: 107.6 kB / 4.084 GB, free: 1.703 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/7.266, allocations: 27.98 kB / 4.084 GB, free: 1.676 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/7.266, allocations: 5.094 kB / 4.084 GB, free: 1.672 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007659/7.267, allocations: 0.54 MB / 4.084 GB, free: 1.125 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/7.267, allocations: 4.109 kB / 4.084 GB, free: 1.121 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/7.267, allocations: 11.94 kB / 4.084 GB, free: 1.109 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/7.268, allocations: 152.2 kB / 4.084 GB, free: 0.9609 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/7.268, allocations: 11.98 kB / 4.084 GB, free: 0.9492 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008551/7.269, allocations: 99.41 kB / 4.084 GB, free: 0.8516 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/7.269, allocations: 24 kB / 4.084 GB, free: 0.8281 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.0005832/7.269, allocations: 466.3 kB / 4.085 GB, free: 372 kB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/7.269, allocations: 106.7 kB / 4.085 GB, free: 264 kB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6206/7.89, allocations: 0.495 MB / 4.085 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/7.89, allocations: 3.406 kB / 4.085 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/7.89, allocations: 1.438 kB / 4.085 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/7.89, allocations: 1.688 kB / 4.085 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/7.893, allocations: 1.385 MB / 4.087 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/7.893, allocations: 1.125 kB / 4.087 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/7.894, allocations: 157.1 kB / 4.087 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/7.894, allocations: 4.828 kB / 4.087 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/7.894, allocations: 8.141 kB / 4.087 GB, free: 376.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/7.895, allocations: 6.021 MB / 4.093 GB, free: 371.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/7.895, allocations: 3 kB / 4.093 GB, free: 371.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/7.896, allocations: 0.6903 MB / 4.094 GB, free: 370.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/7.897, allocations: 220.7 kB / 4.094 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/7.897, allocations: 9.219 kB / 4.094 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/7.898, allocations: 56.56 kB / 4.094 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/7.898, allocations: 31.86 kB / 4.094 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/7.898, allocations: 9.672 kB / 4.094 GB, free: 370.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001195/7.899, allocations: 0.7838 MB / 4.095 GB, free: 370.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.2e-07/7.899, allocations: 0 / 4.095 GB, free: 370.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001754/7.901, allocations: 484.8 kB / 4.095 GB, free: 370.5 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.002709/7.903, allocations: 2.534 MB / 4.098 GB, free: 369.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002693/7.906, allocations: 0.9741 MB / 4.098 GB, free: 368.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/7.906, allocations: 4.656 kB / 4.098 GB, free: 368.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007661/7.907, allocations: 279.9 kB / 4.099 GB, free: 368.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/7.909, allocations: 450.2 kB / 4.099 GB, free: 368.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/7.921, allocations: 9.626 MB / 4.109 GB, free: 363.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008805/7.922, allocations: 1.201 MB / 4.11 GB, free: 362.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001395/7.923, allocations: 375.1 kB / 4.11 GB, free: 362.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/7.924, allocations: 322.6 kB / 4.11 GB, free: 362.9 MB / 1.167 GB Notification: Performance of SimCode: time 7.31e-07/7.924, allocations: 0 / 4.11 GB, free: 362.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07055/7.994, allocations: 40.13 MB / 4.15 GB, free: 361.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/7.994, allocations: 264.6 kB / 4.15 GB, free: 361.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/11.14, allocations: 0 / 4.15 GB, free: 361.5 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat does not exist to compare? outputFormat=mat