Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.754/4.754, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002398/0.002397, allocations: 358 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.933/3.933, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002974/0.002973, allocations: 175.7 kB / 1.225 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004819, allocations: 16 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1545, allocations: 115.3 MB / 1.461 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.7294/0.884, allocations: 151.4 MB / 1.609 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.8889, allocations: 2.2 MB / 1.611 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.8895, allocations: 15.44 kB / 1.611 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.8903, allocations: 214.3 kB / 1.611 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002644/0.8929, allocations: 0.736 MB / 1.612 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.8948, allocations: 442.8 kB / 1.612 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004513/0.8993, allocations: 3.246 MB / 1.615 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003442/0.9028, allocations: 2.166 MB / 1.617 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.9051, allocations: 0.9621 MB / 1.618 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.9064, allocations: 0.847 MB / 1.619 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.9066, allocations: 49.5 kB / 1.619 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.9082, allocations: 0.5784 MB / 1.62 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.9087, allocations: 332.4 kB / 1.62 GB, free: 14.47 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.9092, allocations: 246.8 kB / 1.62 GB, free: 14.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.911, allocations: 1.175 MB / 1.621 GB, free: 13.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.105e-06/0.911, allocations: 2.812 kB / 1.621 GB, free: 13.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.216e-06/0.911, allocations: 0 / 1.621 GB, free: 13.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.9111, allocations: 0 / 1.621 GB, free: 13.64 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003241/0.9143, allocations: 1.521 MB / 1.623 GB, free: 12.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.9144, allocations: 11.47 kB / 1.623 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.9155, allocations: 211.1 kB / 1.623 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.9176, allocations: 0.8616 MB / 1.624 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/0.9177, allocations: 48.88 kB / 1.624 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.9179, allocations: 63.12 kB / 1.624 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.9199, allocations: 0.9888 MB / 1.625 GB, free: 11.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.9199, allocations: 6.062 kB / 1.625 GB, free: 11.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.263e-05/0.92, allocations: 24.72 kB / 1.625 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.92, allocations: 17.81 kB / 1.625 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.9218, allocations: 0.7999 MB / 1.626 GB, free: 10.64 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.006626/0.9285, allocations: 4.814 MB / 1.631 GB, free: 6.309 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.9318, allocations: 4.016 MB / 1.634 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.9325, allocations: 348.5 kB / 1.635 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/0.9329, allocations: 195.1 kB / 1.635 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006937/0.9336, allocations: 332.4 kB / 1.635 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004494/0.9341, allocations: 34.12 kB / 1.635 GB, free: 1.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 3.519e-06/0.9341, allocations: 0 / 1.635 GB, free: 1.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.006098/0.9402, allocations: 1.517 MB / 1.637 GB, free: 336 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.9403, allocations: 79.92 kB / 1.637 GB, free: 240 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.9424, allocations: 1.171 MB / 1.638 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.654e-05/0.9425, allocations: 39.98 kB / 1.638 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006067/0.9431, allocations: 0.5139 MB / 1.639 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.9433, allocations: 126.9 kB / 1.639 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.9434, allocations: 9.062 kB / 1.639 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.9436, allocations: 328.1 kB / 1.639 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.9441, allocations: 207.1 kB / 1.639 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008321/0.9449, allocations: 0.5374 MB / 1.64 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.9456, allocations: 319.8 kB / 1.64 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.604e-06/0.9456, allocations: 6.922 kB / 1.64 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003138/0.9488, allocations: 1.041 MB / 1.641 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002422/0.9491, allocations: 284.4 kB / 1.641 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.9491, allocations: 3.281 kB / 1.641 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/0.9509, allocations: 391.9 kB / 1.642 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.9516, allocations: 120.4 kB / 1.642 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.9539, allocations: 1.667 MB / 1.643 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.9553, allocations: 104 kB / 1.644 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.602e-05/0.9554, allocations: 30.81 kB / 1.644 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.9554, allocations: 5.875 kB / 1.644 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002027/0.9574, allocations: 0.7813 MB / 1.644 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.9575, allocations: 4 kB / 1.644 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007402/0.9582, allocations: 213.1 kB / 1.645 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.9587, allocations: 111.8 kB / 1.645 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.964, allocations: 2.947 MB / 1.648 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.9653, allocations: 103.8 kB / 1.648 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/0.9654, allocations: 24 kB / 1.648 GB, free: 7.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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008523/0.9663, allocations: 480.7 kB / 1.648 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.9666, allocations: 106.6 kB / 1.648 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.9686, allocations: 0.7856 MB / 1.649 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.554e-06/0.9686, allocations: 4 kB / 1.649 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.507e-06/0.9686, allocations: 7.984 kB / 1.649 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.352e-06/0.9686, allocations: 0 / 1.649 GB, free: 5.672 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 postOpt removeSimpleEquations (simulation): time 0.004424/0.9731, allocations: 2.132 MB / 1.651 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.281e-06/0.9731, allocations: 0 / 1.651 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.9736, allocations: 96.06 kB / 1.651 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006352/0.9743, allocations: 202.6 kB / 1.651 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.9743, allocations: 8 kB / 1.651 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.976, allocations: 1.466 MB / 1.653 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-06/0.976, allocations: 3.984 kB / 1.653 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.9779, allocations: 0.8598 MB / 1.654 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/0.9786, allocations: 235.7 kB / 1.654 GB, free: 440 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.9788, allocations: 8 kB / 1.654 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/0.9798, allocations: 75.77 kB / 1.654 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.9799, allocations: 39.84 kB / 1.654 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.98, allocations: 15.98 kB / 1.654 GB, free: 300 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001571/0.9815, allocations: 0.8287 MB / 1.655 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.18e-07/0.9816, allocations: 0 / 1.655 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002012/0.9836, allocations: 0.5109 MB / 1.655 GB, free: 14.95 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000544/0.9842, allocations: 178.6 kB / 1.656 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003827/0.988, allocations: 1.293 MB / 1.657 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.947e-06/0.988, allocations: 0 / 1.657 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.9891, allocations: 316.2 kB / 1.657 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/0.9934, allocations: 0.6528 MB / 1.658 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.9979, allocations: 2.223 MB / 1.66 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.9991, allocations: 1.236 MB / 1.661 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001587/1.001, allocations: 356.4 kB / 1.661 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/1.001, allocations: 71.42 kB / 1.662 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of SimCode: time 2.046e-06/1.001, allocations: 0 / 1.662 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of Templates: time 0.04987/1.051, allocations: 20.65 MB / 1.682 GB, free: 4.105 MB / 0.7448 GB