Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.335/2.335, allocations: 391.2 MB / 407 MB, free: 10.84 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.001253/0.001253, allocations: 189.4 kB / 499.1 MB, free: 4.633 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.481/1.481, allocations: 222.9 MB / 0.7948 GB, free: 15.75 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.001216/0.001215, allocations: 113.9 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001033, allocations: 56.72 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2423, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1441/0.3864, allocations: 159.3 MB / 1.374 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.003855/0.3903, allocations: 1.777 MB / 1.375 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/0.3909, allocations: 11.94 kB / 1.375 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.3916, allocations: 135.2 kB / 1.376 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.3931, allocations: 0.4902 MB / 1.376 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3943, allocations: 354.2 kB / 1.376 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00364/0.3979, allocations: 3.491 MB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.3991, allocations: 0.7664 MB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.4009, allocations: 0.922 MB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.4021, allocations: 0.7389 MB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.4022, allocations: 36 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.4041, allocations: 0.8068 MB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000484/0.4046, allocations: 282.9 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.4057, allocations: 0.5089 MB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.4078, allocations: 1.382 MB / 1.385 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4079, allocations: 3.938 kB / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4079, allocations: 0 / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.937e-05/0.4079, allocations: 0 / 1.385 GB, free: 9.551 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002672/0.4106, allocations: 1.455 MB / 1.387 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4107, allocations: 15.97 kB / 1.387 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007372/0.4114, allocations: 182.5 kB / 1.387 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.4127, allocations: 0.8021 MB / 1.388 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.4128, allocations: 45 kB / 1.388 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.4129, allocations: 60 kB / 1.388 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.4139, allocations: 0.7894 MB / 1.388 GB, free: 6.008 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.414, allocations: 3.938 kB / 1.388 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.414, allocations: 27.98 kB / 1.388 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.414, allocations: 12 kB / 1.388 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.4149, allocations: 0.5305 MB / 1.389 GB, free: 5.438 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.003762/0.4186, allocations: 4.587 MB / 1.393 GB, free: 476 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.4193, allocations: 422.8 kB / 1.394 GB, free: 44 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.4197, allocations: 247.3 kB / 1.394 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.42, allocations: 194.1 kB / 1.394 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004516/0.4205, allocations: 291 kB / 1.395 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/0.4205, allocations: 0 / 1.395 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31): time 0.001259/0.4217, allocations: 0.6291 MB / 1.395 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.4218, allocations: 85.11 kB / 1.395 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.423, allocations: 1.121 MB / 1.396 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.4231, allocations: 33.7 kB / 1.396 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.4235, allocations: 492.1 kB / 1.397 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.4236, allocations: 110.5 kB / 1.397 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.4238, allocations: 113.9 kB / 1.397 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4239, allocations: 329.9 kB / 1.397 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.4242, allocations: 218.4 kB / 1.398 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.4248, allocations: 0.5135 MB / 1.398 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/0.4256, allocations: 0.643 MB / 1.399 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4257, allocations: 0 / 1.399 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001095/0.4268, allocations: 0.7162 MB / 1.399 GB, free: 10 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.4268, allocations: 33.7 kB / 1.399 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4268, allocations: 8 kB / 1.399 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4268, allocations: 8.281 kB / 1.399 GB, free: 9.945 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.4272, allocations: 112.4 kB / 1.4 GB, free: 9.836 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4273, allocations: 11.94 kB / 1.4 GB, free: 9.824 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006374/0.4279, allocations: 99.47 kB / 1.4 GB, free: 9.727 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.428, allocations: 35.86 kB / 1.4 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000621/0.4286, allocations: 0.4939 MB / 1.4 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004978/0.4291, allocations: 489.9 kB / 1.401 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006883/0.4298, allocations: 0.5528 MB / 1.401 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.4298, allocations: 0 / 1.401 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009597/0.4308, allocations: 0.6503 MB / 1.402 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.4308, allocations: 33.7 kB / 1.402 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4308, allocations: 8.062 kB / 1.402 GB, free: 7.238 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.4309, allocations: 8 kB / 1.402 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.4312, allocations: 103.8 kB / 1.402 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4312, allocations: 12.05 kB / 1.402 GB, free: 7.117 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/0.4318, allocations: 91.94 kB / 1.402 GB, free: 7.027 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.4319, allocations: 20 kB / 1.402 GB, free: 7.008 MB / 0.9011 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.4321, allocations: 220.7 kB / 1.402 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.4322, allocations: 106.8 kB / 1.402 GB, free: 6.68 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008639/0.4331, allocations: 491 kB / 1.403 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.4331, allocations: 4 kB / 1.403 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4331, allocations: 0 / 1.403 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4331, allocations: 3.984 kB / 1.403 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.435, allocations: 1.384 MB / 1.404 GB, free: 4.723 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.435, allocations: 12.14 kB / 1.404 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.4352, allocations: 59.91 kB / 1.404 GB, free: 4.652 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4353, allocations: 7.984 kB / 1.404 GB, free: 4.645 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.4353, allocations: 8 kB / 1.404 GB, free: 4.637 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.4353, allocations: 7.938 kB / 1.404 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4353, allocations: 0 / 1.404 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.4367, allocations: 1.554 MB / 1.406 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.4371, allocations: 211.9 kB / 1.406 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/0.4372, allocations: 8 kB / 1.406 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.4376, allocations: 43.86 kB / 1.406 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.4377, allocations: 39.84 kB / 1.406 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.4377, allocations: 11.98 kB / 1.406 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008742/0.4386, allocations: 0.7875 MB / 1.407 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4386, allocations: 0 / 1.407 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001165/0.4398, allocations: 415.4 kB / 1.407 GB, free: 1.465 MB / 0.9011 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003536/0.4401, allocations: 172 kB / 1.407 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.4413, allocations: 0.8196 MB / 1.408 GB, free: 468 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4414, allocations: 0 / 1.408 GB, free: 468 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.4417, allocations: 203.6 kB / 1.408 GB, free: 264 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.4437, allocations: 443.2 kB / 1.409 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.4464, allocations: 2.279 MB / 1.411 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.4471, allocations: 1.185 MB / 1.412 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001028/0.4481, allocations: 423.6 kB / 1.413 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.4483, allocations: 75.42 kB / 1.413 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.4483, allocations: 3.938 kB / 1.413 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of Templates: time 0.4699/0.9182, allocations: 16.9 MB / 1.429 GB, free: 198.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)