Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000891/0.000891, allocations: 173 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007422/0.0007422, allocations: 81.72 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004602, allocations: 9.5 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1679/0.3875, allocations: 159.1 MB / 1.052 GB, free: 4.344 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00302/0.3906, allocations: 1.823 MB / 1.053 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.391, allocations: 11.94 kB / 1.053 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.3917, allocations: 131.2 kB / 1.054 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.3931, allocations: 0.498 MB / 1.054 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3942, allocations: 352.1 kB / 1.054 GB, free: 1.535 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3781/0.7724, allocations: 3.463 MB / 1.058 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.7735, allocations: 0.7459 MB / 1.058 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.7752, allocations: 0.87 MB / 1.059 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009801/0.7762, allocations: 0.736 MB / 1.06 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.7763, allocations: 34.34 kB / 1.06 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.7778, allocations: 0.8041 MB / 1.061 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.7781, allocations: 285.2 kB / 1.061 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000623/0.7787, allocations: 0.5085 MB / 1.062 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.7807, allocations: 1.398 MB / 1.063 GB, free: 2.086 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7807, allocations: 0 / 1.063 GB, free: 2.086 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7807, allocations: 0.9688 kB / 1.063 GB, free: 2.086 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.7807, allocations: 0 / 1.063 GB, free: 2.086 MB / 0.698 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.00252/0.7832, allocations: 1.291 MB / 1.064 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.7833, allocations: 13.52 kB / 1.064 GB, free: 17.28 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.7834, allocations: 93.03 kB / 1.064 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007622/0.7842, allocations: 185.9 kB / 1.065 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.7858, allocations: 0.8325 MB / 1.065 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.7859, allocations: 45.67 kB / 1.065 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.786, allocations: 61.62 kB / 1.065 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.7873, allocations: 0.8019 MB / 1.066 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.7873, allocations: 7.562 kB / 1.066 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.7874, allocations: 24.05 kB / 1.066 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.7874, allocations: 21.11 kB / 1.066 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.7885, allocations: 0.5446 MB / 1.067 GB, free: 16.57 MB / 0.7136 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.004234/0.7927, allocations: 4.606 MB / 1.071 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/0.7935, allocations: 425.5 kB / 1.072 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.794, allocations: 259.9 kB / 1.072 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003225/0.7943, allocations: 190.5 kB / 1.072 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005487/0.7949, allocations: 302.8 kB / 1.072 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/0.7949, allocations: 0 / 1.072 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001425/0.7963, allocations: 0.6458 MB / 1.073 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.7964, allocations: 91.25 kB / 1.073 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.7978, allocations: 1.121 MB / 1.074 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.7979, allocations: 37.56 kB / 1.074 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.7982, allocations: 488 kB / 1.075 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.7983, allocations: 110 kB / 1.075 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.7983, allocations: 46.06 kB / 1.075 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.7984, allocations: 330.4 kB / 1.075 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.7989, allocations: 212.5 kB / 1.075 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006742/0.7996, allocations: 0.5239 MB / 1.076 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009946/0.8006, allocations: 0.6423 MB / 1.077 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.8006, allocations: 1.312 kB / 1.077 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001147/0.8017, allocations: 0.7396 MB / 1.077 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.8019, allocations: 283.2 kB / 1.078 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8019, allocations: 4.812 kB / 1.078 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.8019, allocations: 7.781 kB / 1.078 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.8038, allocations: 382 kB / 1.078 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.8069, allocations: 6.094 MB / 1.084 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000932/0.8078, allocations: 108.1 kB / 1.084 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.8079, allocations: 27.75 kB / 1.084 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.8079, allocations: 7.656 kB / 1.084 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007847/0.8087, allocations: 0.5373 MB / 1.085 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8087, allocations: 7.469 kB / 1.085 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.8087, allocations: 11.39 kB / 1.085 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.8093, allocations: 162.1 kB / 1.085 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.8093, allocations: 7.719 kB / 1.085 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.81, allocations: 98.78 kB / 1.085 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.81, allocations: 22.22 kB / 1.085 GB, free: 4.867 MB / 0.7136 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006252/0.8107, allocations: 478.8 kB / 1.085 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.8108, allocations: 98.19 kB / 1.085 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008395/0.8117, allocations: 0.4921 MB / 1.086 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.8117, allocations: 6.609 kB / 1.086 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8117, allocations: 9.109 kB / 1.086 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8117, allocations: 0 / 1.086 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.8138, allocations: 1.397 MB / 1.087 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8138, allocations: 1.438 kB / 1.087 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/0.8144, allocations: 155.2 kB / 1.087 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.8144, allocations: 4.031 kB / 1.087 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.8145, allocations: 18.92 kB / 1.087 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/0.8173, allocations: 6.023 MB / 1.093 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.8173, allocations: 6.594 kB / 1.093 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.8181, allocations: 0.6111 MB / 1.094 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.8184, allocations: 217.1 kB / 1.094 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.8186, allocations: 14.17 kB / 1.094 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.8191, allocations: 56.59 kB / 1.094 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.8192, allocations: 32.81 kB / 1.094 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.8192, allocations: 9.344 kB / 1.094 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009051/0.8201, allocations: 0.7882 MB / 1.095 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8201, allocations: 3.094 kB / 1.095 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001149/0.8213, allocations: 405.8 kB / 1.095 GB, free: 13.68 MB / 0.7292 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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001322/0.8226, allocations: 1.227 MB / 1.097 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002892/0.8255, allocations: 1.136 MB / 1.098 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8255, allocations: 0 / 1.098 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007413/0.8263, allocations: 300.3 kB / 1.098 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.8285, allocations: 466.6 kB / 1.098 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.8412, allocations: 8.874 MB / 1.107 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.8419, allocations: 1.183 MB / 1.108 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001045/0.8429, allocations: 375 kB / 1.109 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.8433, allocations: 308.3 kB / 1.109 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of SimCode: time 7.42e-07/0.8433, allocations: 0 / 1.109 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4548/1.298, allocations: 25.89 MB / 1.134 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004362/1.299, allocations: 300.7 kB / 1.134 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/4.361, allocations: 0 / 1.134 GB, free: 0.5859 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)