Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 252 MB / 268 MB, free: 10.88 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.0008763/0.0008762, allocations: 179.6 kB / 327.6 MB, free: 2.109 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.465/1.465, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0008072/0.0008074, allocations: 98.61 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12.12 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1676, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.5252/0.6929, allocations: 163.5 MB / 1.061 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.6961, allocations: 2.239 MB / 1.063 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.6965, allocations: 14.78 kB / 1.063 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.6972, allocations: 207.4 kB / 1.063 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.6988, allocations: 0.6299 MB / 1.064 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.7, allocations: 393.8 kB / 1.064 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003498/0.7035, allocations: 3.787 MB / 1.068 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/0.7065, allocations: 2.358 MB / 1.07 GB, free: 1.602 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.7091, allocations: 1.094 MB / 1.072 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.7108, allocations: 0.8883 MB / 1.072 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.711, allocations: 47.94 kB / 1.072 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.7132, allocations: 0.8976 MB / 1.073 GB, free: 1.578 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005572/0.7138, allocations: 335 kB / 1.074 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.7149, allocations: 0.6074 MB / 1.074 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.7166, allocations: 1.195 MB / 1.075 GB, free: 1.434 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7166, allocations: 0 / 1.075 GB, free: 1.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7166, allocations: 0 / 1.075 GB, free: 1.434 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.7167, allocations: 1.062 kB / 1.075 GB, free: 1.434 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.002859/0.7195, allocations: 1.503 MB / 1.077 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.7196, allocations: 9.094 kB / 1.077 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008549/0.7204, allocations: 198.5 kB / 1.077 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.722, allocations: 0.9195 MB / 1.078 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.7221, allocations: 47.34 kB / 1.078 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.7222, allocations: 66.86 kB / 1.078 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.7237, allocations: 0.9927 MB / 1.079 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.7237, allocations: 5.281 kB / 1.079 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.36e-05/0.7238, allocations: 21.5 kB / 1.079 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.7239, allocations: 14.94 kB / 1.079 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.7252, allocations: 0.8124 MB / 1.08 GB, free: 15.91 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.004804/0.73, allocations: 4.816 MB / 1.085 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.7325, allocations: 4.028 MB / 1.089 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.7331, allocations: 348.1 kB / 1.089 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003095/0.7334, allocations: 197.2 kB / 1.089 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/0.7339, allocations: 329.5 kB / 1.089 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005899/0.7345, allocations: 28.06 kB / 1.089 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 1.993e-06/0.7345, allocations: 3.875 kB / 1.089 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.004524/0.7391, allocations: 1.531 MB / 1.091 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.7391, allocations: 86.89 kB / 1.091 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.7406, allocations: 1.183 MB / 1.092 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.7407, allocations: 36.2 kB / 1.092 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.7411, allocations: 0.5147 MB / 1.093 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.762e-05/0.7412, allocations: 122.2 kB / 1.093 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.7412, allocations: 10.44 kB / 1.093 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.7413, allocations: 324.6 kB / 1.093 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.7417, allocations: 237.2 kB / 1.093 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.7423, allocations: 0.565 MB / 1.094 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.7431, allocations: 0.7052 MB / 1.095 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.7431, allocations: 4 kB / 1.095 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002252/0.7454, allocations: 1.123 MB / 1.096 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.7456, allocations: 278.3 kB / 1.096 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.7456, allocations: 3.344 kB / 1.096 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.747, allocations: 432.6 kB / 1.096 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/0.7475, allocations: 120.3 kB / 1.096 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.7492, allocations: 1.663 MB / 1.098 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.7504, allocations: 106.9 kB / 1.098 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.7504, allocations: 30.06 kB / 1.098 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.7504, allocations: 7 kB / 1.098 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001287/0.7517, allocations: 0.7851 MB / 1.099 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7518, allocations: 6.281 kB / 1.099 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004696/0.7522, allocations: 219.5 kB / 1.099 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.7526, allocations: 110.7 kB / 1.099 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.7558, allocations: 2.952 MB / 1.102 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.7568, allocations: 101.2 kB / 1.102 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.7569, allocations: 25.05 kB / 1.102 GB, free: 3.281 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(10,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006781/0.7576, allocations: 488.8 kB / 1.103 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.7577, allocations: 107.6 kB / 1.103 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.7589, allocations: 0.7922 MB / 1.104 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.759, allocations: 5.625 kB / 1.104 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.759, allocations: 3.188 kB / 1.104 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.759, allocations: 0 / 1.104 GB, free: 2.914 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.002749/0.7617, allocations: 2.137 MB / 1.106 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7618, allocations: 2.844 kB / 1.106 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.7621, allocations: 90.52 kB / 1.106 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003608/0.7625, allocations: 188.4 kB / 1.106 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.7625, allocations: 9.531 kB / 1.106 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009693/0.7635, allocations: 1.483 MB / 1.107 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7635, allocations: 2.906 kB / 1.107 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.7646, allocations: 0.8551 MB / 1.108 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.765, allocations: 233.5 kB / 1.109 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.7651, allocations: 14 kB / 1.109 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.7658, allocations: 75.23 kB / 1.109 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.7659, allocations: 37.47 kB / 1.109 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.7659, allocations: 11.62 kB / 1.109 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009117/0.7668, allocations: 0.8351 MB / 1.109 GB, free: 396 kB / 0.7136 GB Notification: Performance of sort global known variables: time 8.42e-07/0.7668, allocations: 0 / 1.109 GB, free: 396 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00138/0.7682, allocations: 0.5163 MB / 1.11 GB, free: 348 kB / 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_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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004266/0.7687, allocations: 190.2 kB / 1.11 GB, free: 236 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002548/0.7712, allocations: 1.321 MB / 1.111 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7712, allocations: 0 / 1.111 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.7719, allocations: 321.4 kB / 1.112 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/0.7755, allocations: 0.649 MB / 1.112 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.7786, allocations: 2.354 MB / 1.115 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.7793, allocations: 1.209 MB / 1.116 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.7795, allocations: 74.02 kB / 1.116 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.7795, allocations: 0 / 1.116 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.03467/0.8142, allocations: 27.86 MB / 1.143 GB, free: 0.5781 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)