Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008069/0.000807, allocations: 19.31 kB / 0.6737 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3189, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.6834/1.002, allocations: 135.7 MB / 0.9198 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002629/1.005, allocations: 1.669 MB / 0.9214 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/1.005, allocations: 10.58 kB / 0.9214 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006152/1.006, allocations: 176.3 kB / 0.9216 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/1.007, allocations: 0.4885 MB / 0.922 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/1.009, allocations: 411.5 kB / 0.9224 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001857/1.01, allocations: 1.498 MB / 0.9239 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/1.012, allocations: 0.6976 MB / 0.9246 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/1.013, allocations: 0.6893 MB / 0.9252 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008505/1.014, allocations: 496.1 kB / 0.9257 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.167e-05/1.014, allocations: 34.12 kB / 0.9258 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/1.015, allocations: 417.6 kB / 0.9262 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/1.015, allocations: 256.8 kB / 0.9264 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005552/1.016, allocations: 229.4 kB / 0.9266 GB, free: 21.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/1.017, allocations: 0.9722 MB / 0.9276 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.017, allocations: 3.938 kB / 0.9276 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.345e-06/1.017, allocations: 2.906 kB / 0.9276 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.017, allocations: 0 / 0.9276 GB, free: 21.42 MB / 0.7325 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.00239/1.02, allocations: 1.284 MB / 0.9288 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.02, allocations: 11.02 kB / 0.9288 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/1.02, allocations: 92.75 kB / 0.9289 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007614/1.021, allocations: 183.2 kB / 0.9291 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/1.022, allocations: 0.805 MB / 0.9299 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/1.022, allocations: 49.47 kB / 0.9299 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/1.022, allocations: 66.38 kB / 0.93 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.024, allocations: 0.7832 MB / 0.9308 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/1.024, allocations: 2.438 kB / 0.9308 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/1.024, allocations: 27.83 kB / 0.9308 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/1.024, allocations: 13.88 kB / 0.9308 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.025, allocations: 0.5418 MB / 0.9313 GB, free: 19.94 MB / 0.7325 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.005947/1.031, allocations: 4.603 MB / 0.9358 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/1.032, allocations: 432.2 kB / 0.9362 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/1.032, allocations: 18.53 kB / 0.9363 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/1.033, allocations: 292.1 kB / 0.9365 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.766e-06/1.033, allocations: 0 / 0.9365 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001677/1.034, allocations: 0.6447 MB / 0.9372 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/1.034, allocations: 107.9 kB / 0.9373 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/1.036, allocations: 1.121 MB / 0.9384 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.841e-05/1.037, allocations: 37.27 kB / 0.9384 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/1.037, allocations: 490.9 kB / 0.9389 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/1.037, allocations: 106.8 kB / 0.939 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/1.037, allocations: 12.61 kB / 0.939 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.037, allocations: 326.3 kB / 0.9393 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/1.038, allocations: 185.7 kB / 0.9395 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/1.038, allocations: 0.4972 MB / 0.94 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/1.039, allocations: 297.3 kB / 0.9402 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/1.039, allocations: 2.031 kB / 0.9402 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001228/1.04, allocations: 0.6785 MB / 0.9409 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008035/1.041, allocations: 2.136 MB / 0.943 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.041, allocations: 5.031 kB / 0.943 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/1.041, allocations: 10.72 kB / 0.943 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/1.043, allocations: 380.2 kB / 0.9434 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/1.046, allocations: 6.088 MB / 0.9493 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.048, allocations: 114.7 kB / 0.9494 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/1.048, allocations: 25.41 kB / 0.9494 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.048, allocations: 10.58 kB / 0.9495 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009312/1.049, allocations: 0.5441 MB / 0.95 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.049, allocations: 5.406 kB / 0.95 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.049, allocations: 10.83 kB / 0.95 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/1.049, allocations: 166.8 kB / 0.9502 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.049, allocations: 14.38 kB / 0.9502 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/1.05, allocations: 89.88 kB / 0.9503 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/1.05, allocations: 22.31 kB / 0.9503 GB, free: 6.684 MB / 0.7325 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.0007238/1.051, allocations: 466.1 kB / 0.9507 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.051, allocations: 109 kB / 0.9508 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008458/1.052, allocations: 483 kB / 0.9513 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.052, allocations: 4.5 kB / 0.9513 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.052, allocations: 1.094 kB / 0.9513 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.052, allocations: 4.219 kB / 0.9513 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/1.054, allocations: 1.096 MB / 0.9524 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.054, allocations: 2.656 kB / 0.9524 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/1.054, allocations: 161.7 kB / 0.9525 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/1.054, allocations: 2.969 kB / 0.9525 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/1.054, allocations: 8.656 kB / 0.9525 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/1.058, allocations: 6.02 MB / 0.9584 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.058, allocations: 3.859 kB / 0.9584 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/1.059, allocations: 0.6314 MB / 0.959 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000613/1.06, allocations: 223.5 kB / 0.9593 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.06, allocations: 13.81 kB / 0.9593 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/1.06, allocations: 58.34 kB / 0.9593 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.06, allocations: 33.3 kB / 0.9594 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/1.06, allocations: 15.45 kB / 0.9594 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001666/1.062, allocations: 0.7803 MB / 0.9601 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/1.062, allocations: 0 / 0.9601 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001839/1.064, allocations: 414.3 kB / 0.9605 GB, free: 15.45 MB / 0.7481 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.001893/1.066, allocations: 1.723 MB / 0.9622 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003309/1.069, allocations: 1.095 MB / 0.9633 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.069, allocations: 1.094 kB / 0.9633 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008479/1.07, allocations: 305.5 kB / 0.9636 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/1.072, allocations: 454.9 kB / 0.964 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/1.086, allocations: 9.611 MB / 0.9734 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008563/1.087, allocations: 1.203 MB / 0.9746 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001185/1.089, allocations: 381.3 kB / 0.9749 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/1.089, allocations: 316.8 kB / 0.9752 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of SimCode: time 1.032e-06/1.089, allocations: 0 / 0.9752 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05194/1.141, allocations: 26.36 MB / 1.001 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.141, allocations: 265.2 kB / 1.001 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.798, allocations: 0 / 1.001 GB, free: 12.15 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: