Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.675/2.675, allocations: 287.3 MB / 302.3 MB, free: 8.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001634/0.001634, allocations: 178.8 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 105.9 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.0006311, allocations: 16.38 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.211, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.8769/1.088, allocations: 135.7 MB / 1.111 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004217/1.092, allocations: 1.664 MB / 1.112 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/1.093, allocations: 8.688 kB / 1.112 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009205/1.094, allocations: 179.1 kB / 1.113 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002449/1.096, allocations: 0.4895 MB / 1.113 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/1.098, allocations: 416.4 kB / 1.113 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003324/1.102, allocations: 1.509 MB / 1.115 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004739/1.107, allocations: 2.185 MB / 1.117 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/1.109, allocations: 0.7017 MB / 1.118 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/1.11, allocations: 493.1 kB / 1.118 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002251/1.111, allocations: 36.06 kB / 1.118 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/1.112, allocations: 414 kB / 1.119 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004909/1.113, allocations: 255.4 kB / 1.119 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005933/1.114, allocations: 230.3 kB / 1.119 GB, free: 16.42 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/1.116, allocations: 0.9892 MB / 1.12 GB, free: 16.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.116, allocations: 1.594 kB / 1.12 GB, free: 16.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.936e-06/1.116, allocations: 0 / 1.12 GB, free: 16.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.461e-05/1.116, allocations: 0 / 1.12 GB, free: 16.32 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.003436/1.119, allocations: 1.316 MB / 1.121 GB, free: 15.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.119, allocations: 7.906 kB / 1.121 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/1.121, allocations: 194.7 kB / 1.121 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/1.123, allocations: 0.8031 MB / 1.122 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/1.123, allocations: 45 kB / 1.122 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/1.124, allocations: 58.84 kB / 1.122 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/1.126, allocations: 0.8191 MB / 1.123 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/1.126, allocations: 7.875 kB / 1.123 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/1.126, allocations: 23.47 kB / 1.123 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/1.126, allocations: 15.06 kB / 1.123 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/1.128, allocations: 0.5717 MB / 1.124 GB, free: 14.84 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.006957/1.135, allocations: 4.249 MB / 1.128 GB, free: 11.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/1.137, allocations: 458.6 kB / 1.128 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/1.137, allocations: 17.47 kB / 1.128 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/1.138, allocations: 330.6 kB / 1.129 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005362/1.138, allocations: 33.81 kB / 1.129 GB, free: 11.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.907e-06/1.138, allocations: 0 / 1.129 GB, free: 11.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.008771/1.147, allocations: 1.682 MB / 1.13 GB, free: 11.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/1.147, allocations: 113.8 kB / 1.13 GB, free: 11.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/1.149, allocations: 1.145 MB / 1.132 GB, free: 11.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/1.15, allocations: 36.61 kB / 1.132 GB, free: 11.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/1.15, allocations: 486.9 kB / 1.132 GB, free: 10.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/1.15, allocations: 120.6 kB / 1.132 GB, free: 10.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/1.15, allocations: 11.28 kB / 1.132 GB, free: 10.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001671/1.151, allocations: 328.4 kB / 1.133 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/1.151, allocations: 210.1 kB / 1.133 GB, free: 10.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/1.152, allocations: 0.5156 MB / 1.133 GB, free: 9.965 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/1.153, allocations: 309.3 kB / 1.134 GB, free: 9.871 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.153, allocations: 7 kB / 1.134 GB, free: 9.867 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003814/1.157, allocations: 1.044 MB / 1.135 GB, free: 9.473 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001006/1.158, allocations: 2.131 MB / 1.137 GB, free: 7.234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.158, allocations: 9.203 kB / 1.137 GB, free: 7.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/1.16, allocations: 356.3 kB / 1.137 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/1.161, allocations: 96.62 kB / 1.137 GB, free: 7.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/1.163, allocations: 1.044 MB / 1.138 GB, free: 6.445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.165, allocations: 88.94 kB / 1.138 GB, free: 6.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.165, allocations: 29.58 kB / 1.138 GB, free: 6.406 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.165, allocations: 7.719 kB / 1.138 GB, free: 6.402 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002548/1.167, allocations: 0.7907 MB / 1.139 GB, free: 6.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.168, allocations: 10.12 kB / 1.139 GB, free: 6.156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/1.169, allocations: 251.6 kB / 1.139 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/1.169, allocations: 97.45 kB / 1.139 GB, free: 6.059 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006337/1.176, allocations: 3.098 MB / 1.142 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.177, allocations: 88.75 kB / 1.142 GB, free: 4.238 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.167e-05/1.178, allocations: 23.09 kB / 1.142 GB, free: 4.238 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0009996/1.179, allocations: 474.3 kB / 1.143 GB, free: 3.965 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/1.179, allocations: 100.8 kB / 1.143 GB, free: 3.914 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/1.181, allocations: 0.7593 MB / 1.144 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.181, allocations: 10.11 kB / 1.144 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.181, allocations: 1.594 kB / 1.144 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/1.181, allocations: 1.125 kB / 1.144 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/1.184, allocations: 1.163 MB / 1.145 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/1.184, allocations: 2.188 kB / 1.145 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/1.185, allocations: 68.39 kB / 1.145 GB, free: 2.965 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009813/1.186, allocations: 246.3 kB / 1.145 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/1.186, allocations: 7.125 kB / 1.145 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/1.187, allocations: 1.013 MB / 1.146 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.187, allocations: 2.156 kB / 1.146 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/1.19, allocations: 0.9163 MB / 1.147 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006928/1.191, allocations: 230.3 kB / 1.147 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/1.191, allocations: 11.33 kB / 1.147 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.192, allocations: 68.41 kB / 1.147 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.192, allocations: 31.33 kB / 1.147 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/1.192, allocations: 12.34 kB / 1.147 GB, free: 1.566 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001764/1.194, allocations: 0.8077 MB / 1.148 GB, free: 1.301 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.194, allocations: 0 / 1.148 GB, free: 1.301 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002239/1.196, allocations: 481.6 kB / 1.149 GB, free: 1.266 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006416/1.197, allocations: 180.8 kB / 1.149 GB, free: 1.141 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003729/1.201, allocations: 1.129 MB / 1.15 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.201, allocations: 0 / 1.15 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.202, allocations: 261.2 kB / 1.15 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006162/1.208, allocations: 0.6253 MB / 1.151 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/1.213, allocations: 1.999 MB / 1.153 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.214, allocations: 1.201 MB / 1.154 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002099/1.217, allocations: 348.4 kB / 1.154 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/1.217, allocations: 64.44 kB / 1.154 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/1.217, allocations: 0 / 1.154 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.05616/1.273, allocations: 20.71 MB / 1.175 GB, free: 3.336 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)