Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 191.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 105.8 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 54.92 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2677, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1397/0.4075, allocations: 159.4 MB / 1.374 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005083/0.4126, allocations: 3.638 MB / 1.377 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.413, allocations: 7.938 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.4136, allocations: 147.1 kB / 1.377 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.415, allocations: 0.4977 MB / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.4161, allocations: 384 kB / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003309/0.4194, allocations: 3.506 MB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.4205, allocations: 0.7625 MB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.4221, allocations: 0.9337 MB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.423, allocations: 0.7311 MB / 1.384 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.324e-05/0.4231, allocations: 40 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.4246, allocations: 0.8029 MB / 1.385 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.4249, allocations: 286.9 kB / 1.385 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0006191/0.4255, allocations: 0.5167 MB / 1.386 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.427, allocations: 1.378 MB / 1.387 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.427, allocations: 0 / 1.387 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.735e-06/0.427, allocations: 0 / 1.387 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.427, allocations: 3.938 kB / 1.387 GB, free: 7.59 MB / 0.8855 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.002314/0.4293, allocations: 1.455 MB / 1.388 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4294, allocations: 11.98 kB / 1.388 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/0.4301, allocations: 198.4 kB / 1.389 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.4314, allocations: 0.8022 MB / 1.389 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.4315, allocations: 41 kB / 1.389 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.4315, allocations: 60 kB / 1.39 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4326, allocations: 0.7849 MB / 1.39 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.4327, allocations: 7.938 kB / 1.39 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.4327, allocations: 23.94 kB / 1.39 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.4327, allocations: 16 kB / 1.39 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008622/0.4336, allocations: 0.5344 MB / 1.391 GB, free: 3.465 MB / 0.8855 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.004057/0.4377, allocations: 4.587 MB / 1.395 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.4384, allocations: 414.8 kB / 1.396 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.4388, allocations: 249.3 kB / 1.396 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.4391, allocations: 194.2 kB / 1.396 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.4396, allocations: 294.9 kB / 1.396 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.4396, allocations: 0 / 1.396 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31): time 0.003792/0.4434, allocations: 1.328 MB / 1.398 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.4435, allocations: 81.11 kB / 1.398 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.4447, allocations: 1.118 MB / 1.399 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.4448, allocations: 41.7 kB / 1.399 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.4452, allocations: 492.1 kB / 1.399 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4453, allocations: 110.5 kB / 1.4 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.4455, allocations: 110 kB / 1.4 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4456, allocations: 322 kB / 1.4 GB, free: 9.633 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.446, allocations: 214.4 kB / 1.4 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.4467, allocations: 0.5177 MB / 1.401 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.4475, allocations: 0.6313 MB / 1.401 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4475, allocations: 7.938 kB / 1.401 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002199/0.4497, allocations: 1.037 MB / 1.402 GB, free: 6.996 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.4498, allocations: 33.7 kB / 1.402 GB, free: 6.957 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4498, allocations: 4 kB / 1.402 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.4512, allocations: 378.3 kB / 1.403 GB, free: 6.582 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.4514, allocations: 59.91 kB / 1.403 GB, free: 6.523 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009959/0.4524, allocations: 1.01 MB / 1.404 GB, free: 5.488 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/0.4532, allocations: 99.52 kB / 1.404 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.4532, allocations: 24 kB / 1.404 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007318/0.454, allocations: 0.4975 MB / 1.404 GB, free: 4.867 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005395/0.4545, allocations: 491.3 kB / 1.405 GB, free: 4.254 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007122/0.4552, allocations: 0.5528 MB / 1.405 GB, free: 3.621 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.1e-06/0.4553, allocations: 0 / 1.405 GB, free: 3.621 MB / 0.9011 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001499/0.4568, allocations: 0.8339 MB / 1.406 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.4568, allocations: 33.7 kB / 1.406 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4568, allocations: 7.938 kB / 1.406 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.4573, allocations: 214.1 kB / 1.406 GB, free: 2.512 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.4575, allocations: 59.91 kB / 1.406 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/0.4615, allocations: 3.067 MB / 1.409 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000851/0.4624, allocations: 84.05 kB / 1.41 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/0.4625, allocations: 27.98 kB / 1.41 GB, free: 15.12 MB / 0.9167 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.4628, allocations: 217.9 kB / 1.41 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.463, allocations: 98.78 kB / 1.41 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.4645, allocations: 0.7178 MB / 1.411 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4645, allocations: 4 kB / 1.411 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4645, allocations: 0 / 1.411 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4645, allocations: 96 / 1.411 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.4674, allocations: 1.607 MB / 1.412 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.4675, allocations: 7.984 kB / 1.412 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4676, allocations: 27.92 kB / 1.412 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/0.4681, allocations: 222.2 kB / 1.412 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.4681, allocations: 12.16 kB / 1.412 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009479/0.4691, allocations: 0.9776 MB / 1.413 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.4691, allocations: 4.031 kB / 1.413 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.4712, allocations: 1.781 MB / 1.415 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/0.4717, allocations: 219.7 kB / 1.415 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.4719, allocations: 15.92 kB / 1.415 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.4724, allocations: 47.86 kB / 1.415 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.4725, allocations: 31.91 kB / 1.415 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.4726, allocations: 16 kB / 1.415 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001087/0.4737, allocations: 0.7955 MB / 1.416 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4737, allocations: 0 / 1.416 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001583/0.4753, allocations: 439.5 kB / 1.417 GB, free: 7.668 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004493/0.4757, allocations: 161.3 kB / 1.417 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.4777, allocations: 1.064 MB / 1.418 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.4778, allocations: 0 / 1.418 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.4783, allocations: 246.9 kB / 1.418 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.4805, allocations: 460.4 kB / 1.418 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.4838, allocations: 2.282 MB / 1.421 GB, free: 3.375 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/0.4848, allocations: 1.193 MB / 1.422 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001068/0.4859, allocations: 303.9 kB / 1.422 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.4861, allocations: 63.42 kB / 1.422 GB, free: 1.789 MB / 0.9167 GB Notification: Performance of SimCode: time 9.12e-07/0.4861, allocations: 4 kB / 1.422 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of Templates: time 0.4889/0.975, allocations: 19.47 MB / 1.441 GB, free: 200 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)