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.346/1.346, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009163/0.0009162, allocations: 174.1 kB / 326.5 MB, free: 2.703 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.418/1.418, allocations: 205 MB / 0.5766 GB, free: 21.05 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.000841/0.0008413, allocations: 92.94 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003034, allocations: 8.75 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1633, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.5252/0.6886, allocations: 165.3 MB / 1.058 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003244/0.6919, allocations: 2.264 MB / 1.06 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003843/0.6923, allocations: 13.16 kB / 1.06 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.693, allocations: 209.2 kB / 1.061 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.6945, allocations: 0.6313 MB / 1.061 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.6957, allocations: 395.3 kB / 1.062 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.6995, allocations: 3.792 MB / 1.065 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003367/0.7029, allocations: 2.345 MB / 1.068 GB, free: 1.453 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.7057, allocations: 1.091 MB / 1.069 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.7076, allocations: 0.8896 MB / 1.07 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.7078, allocations: 48.19 kB / 1.07 GB, free: 1.438 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.71, allocations: 0.8989 MB / 1.07 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000621/0.7106, allocations: 332.2 kB / 1.071 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.7126, allocations: 0.58 MB / 1.071 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.7149, allocations: 1.196 MB / 1.072 GB, free: 1.316 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.715, allocations: 0.7812 kB / 1.072 GB, free: 1.316 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.886e-06/0.715, allocations: 0 / 1.072 GB, free: 1.316 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.801e-05/0.715, allocations: 0 / 1.072 GB, free: 1.316 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.004074/0.7191, allocations: 1.498 MB / 1.074 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.7192, allocations: 15.44 kB / 1.074 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.7203, allocations: 198.1 kB / 1.074 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.7222, allocations: 0.909 MB / 1.075 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/0.7223, allocations: 51.66 kB / 1.075 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.7224, allocations: 65.5 kB / 1.075 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.724, allocations: 0.9982 MB / 1.076 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.7241, allocations: 5.938 kB / 1.076 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.7242, allocations: 23.41 kB / 1.076 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.7242, allocations: 14.03 kB / 1.076 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.7255, allocations: 0.8107 MB / 1.077 GB, free: 15.8 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.004878/0.7304, allocations: 4.827 MB / 1.082 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.7327, allocations: 4.018 MB / 1.086 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.7332, allocations: 347.5 kB / 1.086 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.7335, allocations: 199.9 kB / 1.086 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.734, allocations: 327.1 kB / 1.086 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005427/0.7346, allocations: 29.94 kB / 1.086 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 2.375e-06/0.7346, allocations: 0 / 1.086 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.004771/0.7393, allocations: 1.523 MB / 1.088 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.7394, allocations: 84.95 kB / 1.088 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.741, allocations: 1.193 MB / 1.089 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.222e-05/0.7411, allocations: 36.48 kB / 1.089 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.7415, allocations: 0.5128 MB / 1.09 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.7416, allocations: 124.6 kB / 1.09 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.7417, allocations: 47.34 kB / 1.09 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7418, allocations: 325.4 kB / 1.09 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.7421, allocations: 233.8 kB / 1.09 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.7427, allocations: 0.5663 MB / 1.091 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/0.7436, allocations: 0.7054 MB / 1.092 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7436, allocations: 0 / 1.092 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002359/0.746, allocations: 1.136 MB / 1.093 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.7462, allocations: 274.9 kB / 1.093 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.7462, allocations: 7.094 kB / 1.093 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.7477, allocations: 418.8 kB / 1.093 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.7482, allocations: 123.3 kB / 1.094 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.7498, allocations: 1.663 MB / 1.095 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.751, allocations: 105.5 kB / 1.095 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/0.7511, allocations: 29.98 kB / 1.095 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.7511, allocations: 2.969 kB / 1.095 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001452/0.7526, allocations: 0.7926 MB / 1.096 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7526, allocations: 6.469 kB / 1.096 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.7532, allocations: 223.6 kB / 1.096 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.7536, allocations: 112.5 kB / 1.096 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/0.7571, allocations: 2.939 MB / 1.099 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.7583, allocations: 94.47 kB / 1.099 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.7584, allocations: 23.12 kB / 1.099 GB, free: 3.164 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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.0008506/0.7593, allocations: 480.9 kB / 1.1 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.7596, allocations: 111.1 kB / 1.1 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.7611, allocations: 0.795 MB / 1.101 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.7611, allocations: 7.469 kB / 1.101 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.7611, allocations: 0 / 1.101 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.7611, allocations: 5.766 kB / 1.101 GB, free: 2.797 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.003285/0.7644, allocations: 2.134 MB / 1.103 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7645, allocations: 0 / 1.103 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/0.7648, allocations: 92.8 kB / 1.103 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003989/0.7652, allocations: 195.7 kB / 1.103 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.7653, allocations: 13.22 kB / 1.103 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.7663, allocations: 1.471 MB / 1.105 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.7663, allocations: 10.8 kB / 1.105 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.7677, allocations: 0.867 MB / 1.105 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.7682, allocations: 224.9 kB / 1.106 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.7685, allocations: 8.75 kB / 1.106 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/0.7693, allocations: 77.05 kB / 1.106 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.7694, allocations: 41.56 kB / 1.106 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.7694, allocations: 8.781 kB / 1.106 GB, free: 380 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00122/0.7706, allocations: 0.8411 MB / 1.107 GB, free: 268 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7707, allocations: 0 / 1.107 GB, free: 268 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001942/0.7726, allocations: 0.5037 MB / 1.107 GB, free: 224 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.0005331/0.7732, allocations: 198 kB / 1.107 GB, free: 112 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002962/0.7761, allocations: 1.317 MB / 1.109 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.7762, allocations: 0 / 1.109 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007376/0.7769, allocations: 325 kB / 1.109 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/0.7809, allocations: 0.6426 MB / 1.109 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.7845, allocations: 2.337 MB / 1.112 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.7852, allocations: 1.221 MB / 1.113 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.7855, allocations: 64.53 kB / 1.113 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.7855, allocations: 0 / 1.113 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of Templates: time 0.03645/0.8219, allocations: 27.87 MB / 1.14 GB, free: 1.738 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)