Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.701/1.701, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.001091/0.001091, allocations: 180.6 kB / 371.2 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 1.43/1.43, allocations: 205.4 MB / 0.6298 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.0008665/0.0008665, allocations: 92.95 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.000389, allocations: 16.25 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.614/0.8276, allocations: 146.7 MB / 1.122 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005046/0.8327, allocations: 3.355 MB / 1.125 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.8332, allocations: 16.44 kB / 1.125 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.8338, allocations: 110.9 kB / 1.125 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.8354, allocations: 391.8 kB / 1.126 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.8368, allocations: 369.9 kB / 1.126 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003383/0.8402, allocations: 3.038 MB / 1.129 GB, free: 380 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.8414, allocations: 0.7426 MB / 1.13 GB, free: 216 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.8433, allocations: 0.8757 MB / 1.131 GB, free: 12 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.8446, allocations: 0.7231 MB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.8448, allocations: 36.59 kB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.8463, allocations: 0.562 MB / 1.132 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.8465, allocations: 273.6 kB / 1.132 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.8468, allocations: 239 kB / 1.132 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.8479, allocations: 1.019 MB / 1.133 GB, free: 15.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8479, allocations: 6.375 kB / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8479, allocations: 0 / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.8479, allocations: 0 / 1.133 GB, free: 15.75 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001948/0.8499, allocations: 1.292 MB / 1.135 GB, free: 14.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.8499, allocations: 8.625 kB / 1.135 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.8506, allocations: 189.9 kB / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.8519, allocations: 0.843 MB / 1.136 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.852, allocations: 42.56 kB / 1.136 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8e-05/0.8521, allocations: 59.72 kB / 1.136 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.8533, allocations: 0.79 MB / 1.137 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.8533, allocations: 5.125 kB / 1.137 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.8534, allocations: 23.75 kB / 1.137 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.8534, allocations: 12.53 kB / 1.137 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.8543, allocations: 0.545 MB / 1.137 GB, free: 14.22 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.004136/0.8584, allocations: 4.609 MB / 1.142 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.8592, allocations: 425.5 kB / 1.142 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.8596, allocations: 250.2 kB / 1.142 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/0.86, allocations: 194.3 kB / 1.142 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/0.8606, allocations: 304.2 kB / 1.143 GB, free: 10.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.475e-06/0.8606, allocations: 0 / 1.143 GB, free: 10.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.004783/0.8654, allocations: 1.366 MB / 1.144 GB, free: 9.734 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.8655, allocations: 81.48 kB / 1.144 GB, free: 9.641 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.8678, allocations: 1.118 MB / 1.145 GB, free: 9.281 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-05/0.8679, allocations: 37.02 kB / 1.145 GB, free: 9.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.8684, allocations: 498 kB / 1.146 GB, free: 9.027 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.8685, allocations: 111.4 kB / 1.146 GB, free: 8.949 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.8685, allocations: 8.969 kB / 1.146 GB, free: 8.949 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.8687, allocations: 322.1 kB / 1.146 GB, free: 8.641 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.869, allocations: 184.9 kB / 1.146 GB, free: 8.602 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.8697, allocations: 0.4994 MB / 1.147 GB, free: 8.176 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/0.8706, allocations: 0.5904 MB / 1.147 GB, free: 7.848 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8706, allocations: 1.219 kB / 1.147 GB, free: 7.848 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002324/0.8729, allocations: 0.9896 MB / 1.148 GB, free: 7.461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.8731, allocations: 279.4 kB / 1.149 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.8731, allocations: 5.062 kB / 1.149 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.8744, allocations: 336.1 kB / 1.149 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.8747, allocations: 70.03 kB / 1.149 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.8757, allocations: 1.013 MB / 1.15 GB, free: 6.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008143/0.8765, allocations: 108.8 kB / 1.15 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.8766, allocations: 22.22 kB / 1.15 GB, free: 6.312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.8766, allocations: 4.688 kB / 1.15 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00139/0.878, allocations: 0.7311 MB / 1.151 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.878, allocations: 5.781 kB / 1.151 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/0.8785, allocations: 217.8 kB / 1.151 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.8788, allocations: 63.25 kB / 1.151 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.8824, allocations: 3.105 MB / 1.154 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.8832, allocations: 100.6 kB / 1.154 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.8833, allocations: 23.09 kB / 1.154 GB, free: 4.074 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_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 (34): * Single equations (assignments): 32 * 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.0006645/0.8839, allocations: 478.9 kB / 1.155 GB, free: 3.797 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.8841, allocations: 98.16 kB / 1.155 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.8854, allocations: 0.7218 MB / 1.156 GB, free: 3.492 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.8854, allocations: 3.75 kB / 1.156 GB, free: 3.492 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.8855, allocations: 0 / 1.156 GB, free: 3.492 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8855, allocations: 5.25 kB / 1.156 GB, free: 3.488 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.8879, allocations: 1.611 MB / 1.157 GB, free: 2.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8879, allocations: 1.281 kB / 1.157 GB, free: 2.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.8881, allocations: 25.05 kB / 1.157 GB, free: 2.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/0.8886, allocations: 228.4 kB / 1.157 GB, free: 2.617 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.8886, allocations: 23.14 kB / 1.157 GB, free: 2.605 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009209/0.8895, allocations: 0.9747 MB / 1.158 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8895, allocations: 6.875 kB / 1.158 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.8908, allocations: 0.8324 MB / 1.159 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.8911, allocations: 230.6 kB / 1.159 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.8912, allocations: 6.75 kB / 1.159 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.8917, allocations: 59.3 kB / 1.159 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.8918, allocations: 39.3 kB / 1.16 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.8919, allocations: 12.56 kB / 1.16 GB, free: 1.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001055/0.8929, allocations: 0.7851 MB / 1.16 GB, free: 1.078 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8929, allocations: 0 / 1.16 GB, free: 1.078 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001405/0.8944, allocations: 455.4 kB / 1.161 GB, free: 1.043 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_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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003899/0.8948, allocations: 172.6 kB / 1.161 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.8965, allocations: 1.061 MB / 1.162 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.8965, allocations: 2.812 kB / 1.162 GB, free: 480 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.897, allocations: 244 kB / 1.162 GB, free: 416 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.8992, allocations: 453.1 kB / 1.163 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.902, allocations: 1.984 MB / 1.165 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.9027, allocations: 1.189 MB / 1.166 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009004/0.9036, allocations: 319 kB / 1.166 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.9037, allocations: 56.72 kB / 1.166 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.9037, allocations: 0 / 1.166 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.02819/0.9319, allocations: 18.37 MB / 1.184 GB, free: 3.078 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)