Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.867/1.867, allocations: 288.2 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001358/0.001358, allocations: 183.5 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 101.1 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004359, allocations: 11.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2557, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.7886/1.044, allocations: 135.7 MB / 1.112 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00362/1.048, allocations: 1.667 MB / 1.114 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00052/1.049, allocations: 8.031 kB / 1.114 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007803/1.049, allocations: 185.2 kB / 1.114 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002054/1.051, allocations: 0.4916 MB / 1.114 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/1.053, allocations: 413 kB / 1.115 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002468/1.056, allocations: 1.498 MB / 1.116 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/1.057, allocations: 0.6947 MB / 1.117 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/1.059, allocations: 0.7008 MB / 1.118 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008042/1.059, allocations: 498 kB / 1.118 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.73e-05/1.06, allocations: 32.94 kB / 1.118 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/1.061, allocations: 413.6 kB / 1.118 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002956/1.061, allocations: 255.5 kB / 1.119 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005236/1.062, allocations: 231.5 kB / 1.119 GB, free: 17.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/1.063, allocations: 0.9758 MB / 1.12 GB, free: 17.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.063, allocations: 0 / 1.12 GB, free: 17.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.695e-06/1.063, allocations: 0 / 1.12 GB, free: 17.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.487e-05/1.063, allocations: 4 kB / 1.12 GB, free: 17.12 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.002876/1.066, allocations: 1.281 MB / 1.121 GB, free: 16.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.066, allocations: 9.031 kB / 1.121 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/1.066, allocations: 95.19 kB / 1.121 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008723/1.067, allocations: 184.2 kB / 1.121 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/1.069, allocations: 0.8058 MB / 1.122 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/1.069, allocations: 41.53 kB / 1.122 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.069, allocations: 60.34 kB / 1.122 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/1.071, allocations: 0.7898 MB / 1.123 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/1.071, allocations: 5.906 kB / 1.123 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/1.071, allocations: 20 kB / 1.123 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/1.071, allocations: 13.16 kB / 1.123 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009696/1.072, allocations: 0.5461 MB / 1.124 GB, free: 15.61 MB / 0.698 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.005673/1.078, allocations: 4.601 MB / 1.128 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/1.078, allocations: 435.8 kB / 1.128 GB, free: 12.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.228e-05/1.079, allocations: 21.88 kB / 1.129 GB, free: 12.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/1.079, allocations: 289.4 kB / 1.129 GB, free: 12.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.427e-06/1.079, allocations: 0 / 1.129 GB, free: 12.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001554/1.081, allocations: 0.6519 MB / 1.129 GB, free: 11.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/1.081, allocations: 113.1 kB / 1.13 GB, free: 11.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/1.082, allocations: 1.117 MB / 1.131 GB, free: 11.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-05/1.082, allocations: 37.67 kB / 1.131 GB, free: 11.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/1.083, allocations: 488.7 kB / 1.131 GB, free: 11.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/1.083, allocations: 110.8 kB / 1.131 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/1.083, allocations: 8.25 kB / 1.131 GB, free: 11.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.083, allocations: 324.3 kB / 1.132 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/1.084, allocations: 188.6 kB / 1.132 GB, free: 10.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/1.084, allocations: 0.4896 MB / 1.132 GB, free: 10.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/1.085, allocations: 296.8 kB / 1.132 GB, free: 10.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/1.085, allocations: 2.875 kB / 1.132 GB, free: 10.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001265/1.086, allocations: 0.6885 MB / 1.133 GB, free: 10.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00104/1.087, allocations: 2.132 MB / 1.135 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.087, allocations: 6.469 kB / 1.135 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/1.087, allocations: 8.375 kB / 1.135 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/1.089, allocations: 378 kB / 1.136 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/1.093, allocations: 6.09 MB / 1.142 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.094, allocations: 103 kB / 1.142 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.888e-05/1.094, allocations: 28.3 kB / 1.142 GB, free: 1.621 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.094, allocations: 7.484 kB / 1.142 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/1.096, allocations: 0.5474 MB / 1.142 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.096, allocations: 5.5 kB / 1.142 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.096, allocations: 9.219 kB / 1.142 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/1.096, allocations: 162.2 kB / 1.142 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/1.096, allocations: 8.406 kB / 1.142 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.097, allocations: 101.2 kB / 1.143 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/1.097, allocations: 21.03 kB / 1.143 GB, free: 1.363 MB / 0.698 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.00088/1.098, allocations: 468.2 kB / 1.143 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/1.099, allocations: 104.3 kB / 1.143 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/1.1, allocations: 482.6 kB / 1.144 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.1, allocations: 5.188 kB / 1.144 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.1, allocations: 1.469 kB / 1.144 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/1.1, allocations: 3.984 kB / 1.144 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/1.102, allocations: 1.095 MB / 1.145 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.102, allocations: 5.484 kB / 1.145 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/1.102, allocations: 156 kB / 1.145 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.102, allocations: 3.375 kB / 1.145 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/1.102, allocations: 10.28 kB / 1.145 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/1.106, allocations: 6.027 MB / 1.151 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.106, allocations: 7.203 kB / 1.151 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/1.107, allocations: 0.6285 MB / 1.151 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006335/1.108, allocations: 231 kB / 1.152 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/1.108, allocations: 7.875 kB / 1.152 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/1.108, allocations: 62.31 kB / 1.152 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.109, allocations: 32.77 kB / 1.152 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/1.109, allocations: 16.97 kB / 1.152 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001381/1.11, allocations: 0.7818 MB / 1.152 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.11, allocations: 0 / 1.152 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001876/1.112, allocations: 408.3 kB / 1.153 GB, free: 9.344 MB / 0.7136 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.001985/1.114, allocations: 1.711 MB / 1.154 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003647/1.118, allocations: 1.101 MB / 1.156 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.118, allocations: 5.219 kB / 1.156 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/1.119, allocations: 292.1 kB / 1.156 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/1.121, allocations: 465 kB / 1.156 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.139, allocations: 9.61 MB / 1.166 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.14, allocations: 1.203 MB / 1.167 GB, free: 68 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001663/1.142, allocations: 372.9 kB / 1.167 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/1.142, allocations: 313.1 kB / 1.167 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of SimCode: time 2.124e-06/1.142, allocations: 0 / 1.167 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05757/1.2, allocations: 26.39 MB / 1.193 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/1.2, allocations: 264 kB / 1.193 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/4.07, allocations: 0 / 1.193 GB, free: 15.47 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)