Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001319/0.00132, allocations: 177.3 kB / 15.94 MB, free: 228 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.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.779/1.779, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.000556/0.0005562, allocations: 15.75 kB / 0.6735 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3002, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.7118/1.012, allocations: 140.5 MB / 0.9243 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004123/1.016, allocations: 2.139 MB / 0.9264 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006598/1.017, allocations: 16.91 kB / 0.9264 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/1.018, allocations: 232.7 kB / 0.9266 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002573/1.021, allocations: 0.6819 MB / 0.9273 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/1.023, allocations: 450.7 kB / 0.9277 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00313/1.026, allocations: 1.636 MB / 0.9293 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00366/1.029, allocations: 2.312 MB / 0.9316 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/1.032, allocations: 0.8538 MB / 0.9324 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009685/1.033, allocations: 0.6036 MB / 0.933 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/1.033, allocations: 48.22 kB / 0.9331 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/1.035, allocations: 0.6189 MB / 0.9337 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004583/1.035, allocations: 304.9 kB / 0.9339 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007384/1.036, allocations: 252.1 kB / 0.9342 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/1.038, allocations: 1.17 MB / 0.9353 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.038, allocations: 0 / 0.9353 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.536e-06/1.038, allocations: 0 / 0.9353 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.408e-05/1.038, allocations: 3.938 kB / 0.9353 GB, free: 21.27 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003263/1.041, allocations: 1.521 MB / 0.9368 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/1.041, allocations: 9.328 kB / 0.9368 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/1.043, allocations: 194 kB / 0.937 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/1.045, allocations: 0.8714 MB / 0.9379 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/1.045, allocations: 47.03 kB / 0.9379 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/1.045, allocations: 67.84 kB / 0.938 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/1.048, allocations: 0.9874 MB / 0.9389 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.048, allocations: 5.031 kB / 0.9389 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/1.048, allocations: 26.52 kB / 0.939 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/1.048, allocations: 18.31 kB / 0.939 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/1.049, allocations: 0.8044 MB / 0.9398 GB, free: 19.78 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.006435/1.056, allocations: 4.81 MB / 0.9445 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/1.059, allocations: 4.026 MB / 0.9484 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.995e-05/1.059, allocations: 19.89 kB / 0.9484 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/1.059, allocations: 331.4 kB / 0.9487 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008167/1.06, allocations: 32.94 kB / 0.9488 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=35): time 3.456e-06/1.06, allocations: 4 kB / 0.9488 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.004841/1.065, allocations: 1.594 MB / 0.9503 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/1.065, allocations: 116 kB / 0.9504 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/1.067, allocations: 1.177 MB / 0.9516 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.135e-05/1.067, allocations: 38.61 kB / 0.9516 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/1.068, allocations: 0.5211 MB / 0.9521 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/1.068, allocations: 121.2 kB / 0.9522 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/1.068, allocations: 7.625 kB / 0.9523 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.068, allocations: 329.9 kB / 0.9526 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/1.068, allocations: 211.2 kB / 0.9528 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/1.069, allocations: 0.5308 MB / 0.9533 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/1.069, allocations: 320 kB / 0.9536 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.069, allocations: 4.188 kB / 0.9536 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00225/1.072, allocations: 1.035 MB / 0.9546 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008441/1.073, allocations: 2.144 MB / 0.9567 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.073, allocations: 5.312 kB / 0.9567 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/1.074, allocations: 332.9 kB / 0.957 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/1.074, allocations: 113.2 kB / 0.9571 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/1.075, allocations: 1.001 MB / 0.9581 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.077, allocations: 103.1 kB / 0.9582 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/1.077, allocations: 30.86 kB / 0.9582 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.077, allocations: 6.375 kB / 0.9582 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/1.078, allocations: 0.7901 MB / 0.959 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.078, allocations: 11.22 kB / 0.959 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/1.079, allocations: 229.1 kB / 0.9592 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/1.079, allocations: 105.8 kB / 0.9593 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/1.083, allocations: 2.987 MB / 0.9623 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/1.084, allocations: 106.2 kB / 0.9624 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/1.084, allocations: 22.22 kB / 0.9624 GB, free: 6.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_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): 36 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009404/1.085, allocations: 480.1 kB / 0.9628 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/1.086, allocations: 106.1 kB / 0.9629 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/1.087, allocations: 0.7599 MB / 0.9637 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/1.087, allocations: 10.52 kB / 0.9637 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.087, allocations: 0 / 0.9637 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/1.087, allocations: 1.859 kB / 0.9637 GB, free: 5.816 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 postOpt removeSimpleEquations (simulation): time 0.003129/1.09, allocations: 2.193 MB / 0.9658 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.09, allocations: 2.562 kB / 0.9658 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/1.09, allocations: 79.78 kB / 0.9659 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003592/1.091, allocations: 175.5 kB / 0.9661 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/1.091, allocations: 8.594 kB / 0.9661 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007494/1.092, allocations: 0.8664 MB / 0.9669 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.092, allocations: 6.234 kB / 0.9669 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.093, allocations: 0.9539 MB / 0.9679 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/1.093, allocations: 226.3 kB / 0.9681 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.094, allocations: 15.38 kB / 0.9681 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/1.094, allocations: 78 kB / 0.9682 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/1.094, allocations: 36.33 kB / 0.9682 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/1.094, allocations: 9.625 kB / 0.9682 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001222/1.096, allocations: 0.8274 MB / 0.969 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.096, allocations: 0 / 0.969 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001966/1.098, allocations: 0.5032 MB / 0.9695 GB, free: 3.656 MB / 0.7325 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): 22 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00055/1.098, allocations: 200.4 kB / 0.9697 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002209/1.1, allocations: 1.122 MB / 0.9708 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.1, allocations: 4.062 kB / 0.9708 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004526/1.101, allocations: 251.7 kB / 0.9711 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/1.104, allocations: 0.6508 MB / 0.9717 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/1.107, allocations: 2.11 MB / 0.9738 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007812/1.108, allocations: 1.235 MB / 0.975 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001159/1.109, allocations: 357.6 kB / 0.9753 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/1.109, allocations: 72.11 kB / 0.9754 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of SimCode: time 2.625e-06/1.109, allocations: 0 / 0.9754 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of Templates: time 0.03676/1.146, allocations: 20.82 MB / 0.9957 GB, free: 6.586 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: