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.589/2.589, allocations: 287.5 MB / 302.4 MB, free: 8.379 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.001338/0.001338, allocations: 178.3 kB / 371 MB, free: 10.84 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.513/2.513, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.001007/0.001007, allocations: 97.91 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 21.08 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2066, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.9055/1.112, allocations: 146.7 MB / 1.122 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004027/1.116, allocations: 1.643 MB / 1.123 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/1.117, allocations: 7.875 kB / 1.123 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006267/1.117, allocations: 110.6 kB / 1.123 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/1.119, allocations: 395.6 kB / 1.124 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/1.121, allocations: 330.8 kB / 1.124 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004235/1.125, allocations: 3.009 MB / 1.127 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003779/1.129, allocations: 2.141 MB / 1.129 GB, free: 76 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/1.132, allocations: 0.8793 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/1.133, allocations: 0.7137 MB / 1.131 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/1.134, allocations: 33.94 kB / 1.131 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/1.136, allocations: 0.5529 MB / 1.131 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004102/1.136, allocations: 288.8 kB / 1.132 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/1.136, allocations: 225.9 kB / 1.132 GB, free: 15.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/1.138, allocations: 1.041 MB / 1.133 GB, free: 15.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.138, allocations: 0 / 1.133 GB, free: 15.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.354e-06/1.138, allocations: 0 / 1.133 GB, free: 15.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.716e-05/1.138, allocations: 0 / 1.133 GB, free: 15.58 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.003215/1.141, allocations: 1.332 MB / 1.134 GB, free: 14.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.141, allocations: 7.938 kB / 1.134 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/1.142, allocations: 184.2 kB / 1.134 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/1.145, allocations: 0.8067 MB / 1.135 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/1.145, allocations: 44.12 kB / 1.135 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/1.145, allocations: 60.25 kB / 1.135 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.147, allocations: 0.8263 MB / 1.136 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/1.147, allocations: 2.406 kB / 1.136 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/1.147, allocations: 27.94 kB / 1.136 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/1.147, allocations: 14.47 kB / 1.136 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/1.149, allocations: 0.5667 MB / 1.137 GB, free: 14.1 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.006479/1.155, allocations: 4.26 MB / 1.141 GB, free: 11.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/1.156, allocations: 458.8 kB / 1.141 GB, free: 10.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/1.157, allocations: 346.1 kB / 1.141 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004318/1.158, allocations: 197.6 kB / 1.142 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/1.159, allocations: 323.4 kB / 1.142 GB, free: 10.5 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006211/1.16, allocations: 29.53 kB / 1.142 GB, free: 10.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.436e-06/1.16, allocations: 3.938 kB / 1.142 GB, free: 10.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.009428/1.169, allocations: 1.693 MB / 1.144 GB, free: 9.746 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/1.169, allocations: 82.45 kB / 1.144 GB, free: 9.652 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/1.172, allocations: 1.148 MB / 1.145 GB, free: 9.285 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/1.172, allocations: 36.61 kB / 1.145 GB, free: 9.254 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005883/1.173, allocations: 497.8 kB / 1.145 GB, free: 9.043 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/1.173, allocations: 106.6 kB / 1.145 GB, free: 8.969 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/1.173, allocations: 9.875 kB / 1.145 GB, free: 8.969 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.173, allocations: 330.4 kB / 1.146 GB, free: 8.652 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/1.174, allocations: 214 kB / 1.146 GB, free: 8.605 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.175, allocations: 0.5148 MB / 1.146 GB, free: 8.188 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008017/1.175, allocations: 324.3 kB / 1.147 GB, free: 8.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.175, allocations: 2.594 kB / 1.147 GB, free: 8.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00397/1.179, allocations: 1.036 MB / 1.148 GB, free: 7.695 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002546/1.18, allocations: 280.7 kB / 1.148 GB, free: 7.371 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/1.18, allocations: 9.531 kB / 1.148 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/1.182, allocations: 344.9 kB / 1.148 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/1.183, allocations: 106 kB / 1.148 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/1.185, allocations: 1.045 MB / 1.15 GB, free: 6.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.187, allocations: 90.12 kB / 1.15 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.187, allocations: 22.72 kB / 1.15 GB, free: 6.547 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.187, allocations: 9.984 kB / 1.15 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002504/1.189, allocations: 0.7968 MB / 1.15 GB, free: 6.293 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.189, allocations: 5.5 kB / 1.15 GB, free: 6.293 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/1.19, allocations: 246.5 kB / 1.151 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/1.191, allocations: 102.7 kB / 1.151 GB, free: 6.199 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00601/1.197, allocations: 3.046 MB / 1.154 GB, free: 4.422 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.199, allocations: 88.84 kB / 1.154 GB, free: 4.387 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/1.199, allocations: 20.66 kB / 1.154 GB, free: 4.387 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.0009298/1.2, allocations: 475.7 kB / 1.154 GB, free: 4.117 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/1.2, allocations: 107.8 kB / 1.154 GB, free: 4.059 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/1.203, allocations: 0.781 MB / 1.155 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.203, allocations: 3.844 kB / 1.155 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.203, allocations: 1.094 kB / 1.155 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/1.203, allocations: 0 / 1.155 GB, free: 3.801 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/1.207, allocations: 1.752 MB / 1.157 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.207, allocations: 2.531 kB / 1.157 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/1.208, allocations: 68.12 kB / 1.157 GB, free: 2.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000911/1.209, allocations: 227.9 kB / 1.157 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/1.209, allocations: 8.438 kB / 1.157 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/1.21, allocations: 1.012 MB / 1.158 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-06/1.21, allocations: 5.016 kB / 1.158 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/1.213, allocations: 0.9097 MB / 1.159 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008206/1.214, allocations: 227.1 kB / 1.159 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/1.214, allocations: 8.062 kB / 1.159 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.215, allocations: 71.62 kB / 1.159 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/1.216, allocations: 40.94 kB / 1.159 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/1.216, allocations: 8 kB / 1.159 GB, free: 1.582 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001653/1.217, allocations: 0.8149 MB / 1.16 GB, free: 1.312 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.01e-07/1.217, allocations: 0 / 1.16 GB, free: 1.312 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00218/1.219, allocations: 474.7 kB / 1.161 GB, free: 1.281 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.0005886/1.22, allocations: 168.2 kB / 1.161 GB, free: 1.168 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003341/1.223, allocations: 1.126 MB / 1.162 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.224, allocations: 4.062 kB / 1.162 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009373/1.224, allocations: 253.5 kB / 1.162 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006033/1.231, allocations: 0.6331 MB / 1.163 GB, free: 412 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/1.235, allocations: 1.994 MB / 1.165 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009668/1.236, allocations: 1.187 MB / 1.166 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001816/1.238, allocations: 344.5 kB / 1.166 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/1.238, allocations: 63.61 kB / 1.166 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/1.238, allocations: 4 kB / 1.166 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.0565/1.295, allocations: 20.71 MB / 1.186 GB, free: 72 kB / 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)