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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008664/0.0008665, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009434/0.0009435, allocations: 168.7 kB / 15.95 MB, free: 204 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.334/1.334, allocations: 205.4 MB / 222.1 MB, free: 5.371 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.669/1.669, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004888/0.0004888, allocations: 14.69 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.5502/0.7629, allocations: 146.7 MB / 0.9306 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002527/0.7655, allocations: 1.637 MB / 0.9322 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.7657, allocations: 10.06 kB / 0.9322 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.7661, allocations: 112.3 kB / 0.9323 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009858/0.7671, allocations: 389.8 kB / 0.9327 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.7682, allocations: 336.1 kB / 0.933 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003646/0.7718, allocations: 2.982 MB / 0.9359 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.773, allocations: 0.6902 MB / 0.9366 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.7746, allocations: 0.8571 MB / 0.9374 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009799/0.7756, allocations: 0.7162 MB / 0.9381 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.7757, allocations: 34.69 kB / 0.9381 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.7772, allocations: 0.5524 MB / 0.9387 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.7775, allocations: 279.3 kB / 0.939 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005762/0.7781, allocations: 232.5 kB / 0.9392 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.7794, allocations: 1.021 MB / 0.9402 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.7794, allocations: 0 / 0.9402 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.225e-06/0.7794, allocations: 4 kB / 0.9402 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.7794, allocations: 3.938 kB / 0.9402 GB, free: 21.33 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.002055/0.7815, allocations: 1.304 MB / 0.9415 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7815, allocations: 9.781 kB / 0.9415 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000795/0.7823, allocations: 185 kB / 0.9416 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.784, allocations: 0.7996 MB / 0.9424 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.7841, allocations: 45.06 kB / 0.9425 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.7842, allocations: 56.97 kB / 0.9425 GB, free: 20.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.7855, allocations: 0.7929 MB / 0.9433 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.7855, allocations: 5.312 kB / 0.9433 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.7856, allocations: 25.56 kB / 0.9433 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.7856, allocations: 14.52 kB / 0.9433 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/0.7865, allocations: 0.5436 MB / 0.9439 GB, free: 19.84 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.004316/0.7908, allocations: 4.605 MB / 0.9484 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.7915, allocations: 429.3 kB / 0.9488 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.7919, allocations: 256.9 kB / 0.949 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.7922, allocations: 199.1 kB / 0.9492 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/0.7927, allocations: 293.7 kB / 0.9495 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.404e-06/0.7927, allocations: 0 / 0.9495 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001452/0.7942, allocations: 0.6503 MB / 0.9501 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.7943, allocations: 84.02 kB / 0.9502 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.7957, allocations: 1.118 MB / 0.9513 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.7957, allocations: 37.11 kB / 0.9513 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.7961, allocations: 488.5 kB / 0.9518 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.7962, allocations: 113.7 kB / 0.9519 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.7962, allocations: 11.72 kB / 0.9519 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7963, allocations: 325.7 kB / 0.9522 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.7966, allocations: 182.7 kB / 0.9524 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/0.7971, allocations: 0.4968 MB / 0.9529 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.7976, allocations: 294.3 kB / 0.9532 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7976, allocations: 1.406 kB / 0.9532 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001083/0.7987, allocations: 0.6756 MB / 0.9538 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.7988, allocations: 285 kB / 0.9541 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.7988, allocations: 4.5 kB / 0.9541 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.7989, allocations: 11.88 kB / 0.9541 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.8006, allocations: 387.5 kB / 0.9545 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/0.8039, allocations: 6.092 MB / 0.9604 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.8049, allocations: 100.8 kB / 0.9605 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/0.805, allocations: 24 kB / 0.9605 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.805, allocations: 8.359 kB / 0.9606 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000935/0.8059, allocations: 0.5417 MB / 0.9611 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.806, allocations: 7.859 kB / 0.9611 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.806, allocations: 8.188 kB / 0.9611 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.8065, allocations: 164.1 kB / 0.9613 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.8066, allocations: 9.5 kB / 0.9613 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008941/0.8075, allocations: 93.06 kB / 0.9614 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.8075, allocations: 23.55 kB / 0.9614 GB, free: 8.176 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.0007295/0.8083, allocations: 473.6 kB / 0.9618 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.8085, allocations: 101.7 kB / 0.9619 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009792/0.8095, allocations: 0.501 MB / 0.9624 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.8095, allocations: 4.531 kB / 0.9624 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8095, allocations: 0 / 0.9624 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.8095, allocations: 3.438 kB / 0.9624 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.812, allocations: 1.391 MB / 0.9638 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.812, allocations: 1.375 kB / 0.9638 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.8126, allocations: 157.3 kB / 0.9639 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.8126, allocations: 2.75 kB / 0.9639 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.8126, allocations: 12 kB / 0.9639 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.8157, allocations: 6.02 MB / 0.9698 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.8157, allocations: 8.141 kB / 0.9698 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/0.8167, allocations: 0.6117 MB / 0.9704 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/0.8172, allocations: 220 kB / 0.9706 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.8174, allocations: 12.64 kB / 0.9707 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.818, allocations: 61.86 kB / 0.9707 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.8181, allocations: 33.56 kB / 0.9707 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.8182, allocations: 12.11 kB / 0.9708 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001417/0.8196, allocations: 0.7831 MB / 0.9715 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8196, allocations: 0 / 0.9715 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001857/0.8215, allocations: 409.7 kB / 0.9719 GB, free: 16.93 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.0004969/0.822, allocations: 180.8 kB / 0.9721 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002893/0.8249, allocations: 1.108 MB / 0.9732 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8249, allocations: 0 / 0.9732 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.8256, allocations: 304.5 kB / 0.9735 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.8277, allocations: 463.9 kB / 0.9739 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.8309, allocations: 2.01 MB / 0.9759 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/0.8318, allocations: 1.182 MB / 0.977 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001078/0.8329, allocations: 371.4 kB / 0.9774 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.833, allocations: 68.56 kB / 0.9774 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of SimCode: time 1.322e-06/0.8331, allocations: 0 / 0.9774 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of Templates: time 0.02726/0.8603, allocations: 16.77 MB / 0.9938 GB, free: 6.965 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: