Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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 2.018/2.018, allocations: 252 MB / 267.3 MB, free: 10.84 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.001234/0.001234, allocations: 171.8 kB / 327 MB, free: 2.094 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.994/1.994, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0008256/0.0008256, allocations: 86.3 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004021, allocations: 12.22 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1816/0.4106, allocations: 157.4 MB / 1.055 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6323/1.043, allocations: 3.627 MB / 1.058 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007044/1.044, allocations: 11.03 kB / 1.058 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007698/1.044, allocations: 131.5 kB / 1.058 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/1.047, allocations: 0.504 MB / 1.059 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/1.049, allocations: 382.1 kB / 1.059 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005168/1.054, allocations: 3.493 MB / 1.063 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/1.056, allocations: 0.7489 MB / 1.063 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002731/1.058, allocations: 0.874 MB / 1.064 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/1.06, allocations: 0.742 MB / 1.065 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/1.06, allocations: 32.78 kB / 1.065 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/1.063, allocations: 0.7967 MB / 1.066 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007131/1.064, allocations: 284.9 kB / 1.066 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0014/1.065, allocations: 0.543 MB / 1.067 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00352/1.069, allocations: 1.407 MB / 1.068 GB, free: 1.672 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.069, allocations: 0 / 1.068 GB, free: 1.672 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.069, allocations: 0 / 1.068 GB, free: 1.672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.471e-05/1.069, allocations: 4.875 kB / 1.068 GB, free: 1.668 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.005064/1.074, allocations: 1.292 MB / 1.069 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.215e-05/1.074, allocations: 9.562 kB / 1.069 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000331/1.074, allocations: 95 kB / 1.069 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/1.076, allocations: 184.3 kB / 1.069 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/1.079, allocations: 0.8376 MB / 1.07 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/1.079, allocations: 46.44 kB / 1.07 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/1.079, allocations: 61.83 kB / 1.07 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/1.082, allocations: 0.8057 MB / 1.071 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.082, allocations: 4.281 kB / 1.071 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/1.082, allocations: 23.98 kB / 1.071 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/1.082, allocations: 12.84 kB / 1.071 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/1.084, allocations: 0.5415 MB / 1.072 GB, free: 16.15 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.008197/1.092, allocations: 4.615 MB / 1.076 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.093, allocations: 433.4 kB / 1.077 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/1.094, allocations: 251.6 kB / 1.077 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005443/1.095, allocations: 191.9 kB / 1.077 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000871/1.095, allocations: 307 kB / 1.077 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 4.999e-06/1.096, allocations: 1.75 kB / 1.077 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.007857/1.103, allocations: 1.699 MB / 1.079 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/1.104, allocations: 81.23 kB / 1.079 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/1.106, allocations: 1.128 MB / 1.08 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001758/1.106, allocations: 34.8 kB / 1.08 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/1.107, allocations: 494 kB / 1.081 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/1.107, allocations: 114.4 kB / 1.081 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/1.107, allocations: 8.312 kB / 1.081 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.107, allocations: 321.8 kB / 1.081 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/1.108, allocations: 218.1 kB / 1.081 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009301/1.109, allocations: 0.5196 MB / 1.082 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/1.11, allocations: 0.6497 MB / 1.082 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.111, allocations: 1.125 kB / 1.082 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003671/1.114, allocations: 1.068 MB / 1.083 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002747/1.114, allocations: 279.5 kB / 1.084 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/1.115, allocations: 4.844 kB / 1.084 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/1.116, allocations: 409.5 kB / 1.084 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/1.117, allocations: 64.98 kB / 1.084 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/1.119, allocations: 1.1 MB / 1.085 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.121, allocations: 104.5 kB / 1.085 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/1.121, allocations: 24.12 kB / 1.085 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.121, allocations: 3 kB / 1.085 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001974/1.123, allocations: 0.7394 MB / 1.086 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.123, allocations: 3.062 kB / 1.086 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/1.124, allocations: 222.5 kB / 1.086 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/1.124, allocations: 64.12 kB / 1.086 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/1.129, allocations: 3.032 MB / 1.089 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.131, allocations: 100.8 kB / 1.089 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.396e-05/1.131, allocations: 23.97 kB / 1.089 GB, free: 8.066 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 ($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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001123/1.132, allocations: 469 kB / 1.09 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/1.132, allocations: 98.72 kB / 1.09 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/1.134, allocations: 0.7276 MB / 1.091 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.134, allocations: 5.875 kB / 1.091 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.134, allocations: 0 / 1.091 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.134, allocations: 2.016 kB / 1.091 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/1.138, allocations: 1.615 MB / 1.092 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.138, allocations: 4.75 kB / 1.092 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/1.138, allocations: 31.78 kB / 1.092 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006768/1.139, allocations: 249.5 kB / 1.093 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/1.139, allocations: 13.16 kB / 1.093 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/1.141, allocations: 1.026 MB / 1.094 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.141, allocations: 3.188 kB / 1.094 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.143, allocations: 0.841 MB / 1.094 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/1.144, allocations: 216 kB / 1.095 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/1.144, allocations: 9.875 kB / 1.095 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/1.145, allocations: 60.38 kB / 1.095 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.145, allocations: 35.62 kB / 1.095 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/1.145, allocations: 8.625 kB / 1.095 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001691/1.147, allocations: 0.7985 MB / 1.096 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.51e-07/1.147, allocations: 0 / 1.096 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00245/1.149, allocations: 451.6 kB / 1.096 GB, free: 6.062 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002567/1.152, allocations: 1.372 MB / 1.097 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003715/1.156, allocations: 1.241 MB / 1.099 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.156, allocations: 3.875 kB / 1.099 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/1.156, allocations: 280 kB / 1.099 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/1.161, allocations: 458.1 kB / 1.099 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02864/1.189, allocations: 9.553 MB / 1.109 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/1.19, allocations: 1.181 MB / 1.11 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00148/1.192, allocations: 311.7 kB / 1.11 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/1.192, allocations: 305.7 kB / 1.11 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/1.192, allocations: 0.5312 kB / 1.11 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05897/1.251, allocations: 27.09 MB / 1.137 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003354/1.252, allocations: 302.9 kB / 1.137 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/4.365, allocations: 5.859 kB / 1.137 GB, free: 3.719 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)