Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 252 MB / 267.6 MB, free: 10.91 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.001318/0.001318, allocations: 178.8 kB / 327.3 MB, free: 2.207 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.601/1.601, allocations: 205.4 MB / 0.5783 GB, free: 20.2 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.0008086/0.0008087, allocations: 95.81 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003373, allocations: 12.16 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1532/0.3566, allocations: 146.9 MB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.3597, allocations: 1.689 MB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.36, allocations: 11.94 kB / 1.046 GB, free: 10.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.3605, allocations: 111.2 kB / 1.046 GB, free: 10.78 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.3616, allocations: 402.1 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009188/0.3625, allocations: 324.2 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002654/0.3652, allocations: 3.013 MB / 1.05 GB, free: 7.051 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/0.3676, allocations: 2.137 MB / 1.052 GB, free: 4.895 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.3692, allocations: 0.8715 MB / 1.053 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008069/0.3701, allocations: 0.704 MB / 1.053 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.392e-05/0.3701, allocations: 32 kB / 1.053 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.3713, allocations: 0.5535 MB / 1.054 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.3716, allocations: 286.9 kB / 1.054 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.3719, allocations: 233.1 kB / 1.054 GB, free: 2.211 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.373, allocations: 1.037 MB / 1.055 GB, free: 1.172 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.373, allocations: 3.984 kB / 1.055 GB, free: 1.168 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/0.373, allocations: 3.938 kB / 1.055 GB, free: 1.164 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.373, allocations: 0 / 1.055 GB, free: 1.164 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.458/0.831, allocations: 1.321 MB / 1.057 GB, free: 157.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.831, allocations: 11.12 kB / 1.057 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.832, allocations: 179.3 kB / 1.057 GB, free: 157.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.8337, allocations: 0.8002 MB / 1.058 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.8337, allocations: 46.98 kB / 1.058 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.8338, allocations: 58.61 kB / 1.058 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.835, allocations: 0.8301 MB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.835, allocations: 4.188 kB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.522e-05/0.8351, allocations: 29.8 kB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.8351, allocations: 12.88 kB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.836, allocations: 0.5733 MB / 1.059 GB, free: 156.6 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.003721/0.8398, allocations: 4.251 MB / 1.063 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/0.8406, allocations: 452.2 kB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.8411, allocations: 348.1 kB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.8414, allocations: 194.8 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005778/0.842, allocations: 325 kB / 1.065 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003309/0.8424, allocations: 32.44 kB / 1.065 GB, free: 153.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.8424, allocations: 0 / 1.065 GB, free: 153.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.005254/0.8476, allocations: 1.579 MB / 1.066 GB, free: 153.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.8477, allocations: 83.73 kB / 1.066 GB, free: 153.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.8495, allocations: 1.14 MB / 1.067 GB, free: 152.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.8496, allocations: 37.73 kB / 1.067 GB, free: 152.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.85, allocations: 484.6 kB / 1.068 GB, free: 152.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.8502, allocations: 118.3 kB / 1.068 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.8502, allocations: 9.656 kB / 1.068 GB, free: 152.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.8503, allocations: 329.6 kB / 1.068 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.8507, allocations: 213.3 kB / 1.068 GB, free: 152.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.8515, allocations: 0.524 MB / 1.069 GB, free: 152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.852, allocations: 329.1 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.8521, allocations: 1.719 kB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002767/0.8548, allocations: 1.044 MB / 1.07 GB, free: 151.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.855, allocations: 274.7 kB / 1.071 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.855, allocations: 5.562 kB / 1.071 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.8567, allocations: 400.1 kB / 1.071 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.8572, allocations: 104.1 kB / 1.071 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.8588, allocations: 1.112 MB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.8599, allocations: 87.94 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.86, allocations: 29.28 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.86, allocations: 4.375 kB / 1.072 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001864/0.8619, allocations: 0.7935 MB / 1.073 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.8619, allocations: 7.391 kB / 1.073 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007671/0.8627, allocations: 232 kB / 1.073 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.8631, allocations: 107.3 kB / 1.073 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/0.8674, allocations: 3.076 MB / 1.076 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.8685, allocations: 89.08 kB / 1.076 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.8685, allocations: 22.5 kB / 1.076 GB, free: 149.2 MB / 0.698 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.000704/0.8692, allocations: 472.5 kB / 1.077 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.8694, allocations: 99.91 kB / 1.077 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.8707, allocations: 0.7969 MB / 1.078 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.8708, allocations: 4 kB / 1.078 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8708, allocations: 5.719 kB / 1.078 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8708, allocations: 1.188 kB / 1.078 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.8734, allocations: 1.736 MB / 1.079 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.8734, allocations: 2.219 kB / 1.079 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.8736, allocations: 65.08 kB / 1.08 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005728/0.8742, allocations: 260.3 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.8743, allocations: 8.344 kB / 1.08 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009968/0.8753, allocations: 1.051 MB / 1.081 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8753, allocations: 2.375 kB / 1.081 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.8767, allocations: 0.9176 MB / 1.082 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.8771, allocations: 227.1 kB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.8772, allocations: 9.156 kB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.8778, allocations: 66.89 kB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.8779, allocations: 36.06 kB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.878, allocations: 12.62 kB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001177/0.8792, allocations: 0.8082 MB / 1.083 GB, free: 146.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8792, allocations: 0 / 1.083 GB, free: 146.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001563/0.8807, allocations: 476.4 kB / 1.083 GB, free: 146.2 MB / 0.698 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004581/0.8812, allocations: 175.5 kB / 1.083 GB, free: 146.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.8838, allocations: 1.26 MB / 1.085 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8838, allocations: 0 / 1.085 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006797/0.8845, allocations: 306.6 kB / 1.085 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/0.8878, allocations: 0.6361 MB / 1.086 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.8913, allocations: 2.13 MB / 1.088 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.8918, allocations: 1.189 MB / 1.089 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.892, allocations: 62.38 kB / 1.089 GB, free: 142.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/0.892, allocations: 4 kB / 1.089 GB, free: 142.6 MB / 0.698 GB Notification: Performance of Templates: time 0.0249/0.9169, allocations: 21.64 MB / 1.11 GB, free: 121.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)