Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.587/1.587, allocations: 288.4 MB / 303.7 MB, free: 8.824 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.001038/0.001038, allocations: 178.7 kB / 372.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 0.631 GB, free: 13.45 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007341/0.000734, allocations: 82.69 kB / 0.7444 GB, free: 64.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 12 kB / 0.8675 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1954, allocations: 115.3 MB / 0.9801 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4938/0.6892, allocations: 146.7 MB / 1.123 GB, free: 18.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003525/0.6928, allocations: 3.37 MB / 1.127 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.6931, allocations: 10.41 kB / 1.127 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.6936, allocations: 123.2 kB / 1.127 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.6947, allocations: 467.7 kB / 1.127 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.6957, allocations: 373.9 kB / 1.128 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.6978, allocations: 3.06 MB / 1.131 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.7, allocations: 2.219 MB / 1.133 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.7016, allocations: 0.8789 MB / 1.134 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.7023, allocations: 0.7027 MB / 1.134 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.81e-05/0.7024, allocations: 32.84 kB / 1.134 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.7037, allocations: 0.7965 MB / 1.135 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.704, allocations: 280.5 kB / 1.135 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.7045, allocations: 0.5188 MB / 1.136 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.7054, allocations: 1.049 MB / 1.137 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7054, allocations: 0 / 1.137 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7054, allocations: 3.938 kB / 1.137 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.7054, allocations: 0 / 1.137 GB, free: 11.69 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00175/0.7072, allocations: 1.323 MB / 1.138 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.7073, allocations: 10.28 kB / 1.138 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006616/0.7079, allocations: 191.2 kB / 1.138 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.7091, allocations: 0.8467 MB / 1.139 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.7092, allocations: 41.88 kB / 1.139 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.7092, allocations: 60.59 kB / 1.139 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009612/0.7102, allocations: 0.8267 MB / 1.14 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.7102, allocations: 7.922 kB / 1.14 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.7103, allocations: 21.25 kB / 1.14 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.7103, allocations: 12.31 kB / 1.14 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.7111, allocations: 0.575 MB / 1.141 GB, free: 9.578 MB / 0.7448 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.003005/0.7141, allocations: 4.259 MB / 1.145 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.7148, allocations: 451 kB / 1.145 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/0.7152, allocations: 359 kB / 1.146 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.7154, allocations: 191.5 kB / 1.146 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000444/0.7159, allocations: 327.1 kB / 1.146 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002871/0.7162, allocations: 41.09 kB / 1.146 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 3.767e-06/0.7162, allocations: 4.094 kB / 1.146 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.001243/0.7174, allocations: 0.71 MB / 1.147 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.7175, allocations: 85.23 kB / 1.147 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.7186, allocations: 1.149 MB / 1.148 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.7187, allocations: 40.2 kB / 1.148 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.7189, allocations: 490.2 kB / 1.149 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.719, allocations: 117.4 kB / 1.149 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.719, allocations: 11.39 kB / 1.149 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.122e-05/0.7191, allocations: 328 kB / 1.149 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.7194, allocations: 211.8 kB / 1.149 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.7199, allocations: 0.5224 MB / 1.15 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.7206, allocations: 0.6263 MB / 1.15 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7206, allocations: 7.25 kB / 1.15 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001037/0.7216, allocations: 0.7258 MB / 1.151 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-05/0.7217, allocations: 275.2 kB / 1.151 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7217, allocations: 6.094 kB / 1.151 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.7218, allocations: 12.91 kB / 1.151 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.7223, allocations: 118.5 kB / 1.152 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.7223, allocations: 10.38 kB / 1.152 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008316/0.7231, allocations: 91.61 kB / 1.152 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.7232, allocations: 28.52 kB / 1.152 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.951e-06/0.7232, allocations: 3 kB / 1.152 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007799/0.724, allocations: 0.5872 MB / 1.152 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.724, allocations: 3.125 kB / 1.152 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.724, allocations: 9.375 kB / 1.152 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.7244, allocations: 117.5 kB / 1.152 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7244, allocations: 8.156 kB / 1.152 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007826/0.7252, allocations: 94.47 kB / 1.152 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.7253, allocations: 23.25 kB / 1.152 GB, free: 2.215 MB / 0.7448 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004694/0.7258, allocations: 471.4 kB / 1.153 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.7259, allocations: 98.47 kB / 1.153 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008164/0.7267, allocations: 0.5531 MB / 1.154 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.7267, allocations: 6.859 kB / 1.154 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7267, allocations: 1.031 kB / 1.154 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7267, allocations: 2.906 kB / 1.154 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.7285, allocations: 1.511 MB / 1.155 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7286, allocations: 0.5 kB / 1.155 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.7289, allocations: 79.09 kB / 1.155 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.7289, allocations: 7.312 kB / 1.155 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.7289, allocations: 11.72 kB / 1.155 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.7289, allocations: 11.5 kB / 1.155 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7289, allocations: 3.406 kB / 1.155 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.7297, allocations: 0.6584 MB / 1.156 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.73, allocations: 237.8 kB / 1.156 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.7301, allocations: 8.219 kB / 1.156 GB, free: 360 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.7307, allocations: 69.92 kB / 1.156 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.7308, allocations: 37.2 kB / 1.156 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.7308, allocations: 13.17 kB / 1.156 GB, free: 332 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007837/0.7316, allocations: 0.8111 MB / 1.157 GB, free: 32 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7316, allocations: 0 / 1.157 GB, free: 32 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001007/0.7326, allocations: 422.3 kB / 1.157 GB, free: 15.98 MB / 0.7605 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003938/0.733, allocations: 183.2 kB / 1.158 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.7343, allocations: 0.8786 MB / 1.158 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7343, allocations: 3.125 kB / 1.158 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.7347, allocations: 246.1 kB / 1.159 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/0.7379, allocations: 0.6313 MB / 1.159 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.7404, allocations: 1.979 MB / 1.161 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.741, allocations: 1.181 MB / 1.162 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001169/0.7422, allocations: 443.3 kB / 1.163 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.7424, allocations: 77.09 kB / 1.163 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of SimCode: time 7.21e-07/0.7424, allocations: 3.938 kB / 1.163 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of Templates: time 0.03295/0.7753, allocations: 18.95 MB / 1.181 GB, free: 12.16 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)