Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007019/0.0007019, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007938/0.0007938, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000533/0.0005331, allocations: 15.47 kB / 0.6737 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2001, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5595/0.7597, allocations: 146.7 MB / 0.9306 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.7637, allocations: 3.351 MB / 0.9339 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.7642, allocations: 10.88 kB / 0.9339 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.7647, allocations: 108.1 kB / 0.934 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.7658, allocations: 397.8 kB / 0.9344 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.7669, allocations: 376.2 kB / 0.9347 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0027/0.7696, allocations: 2.996 MB / 0.9376 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009132/0.7706, allocations: 0.6924 MB / 0.9383 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.7723, allocations: 0.8663 MB / 0.9392 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.7733, allocations: 0.7133 MB / 0.9399 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.487e-05/0.7734, allocations: 33.78 kB / 0.9399 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.7748, allocations: 0.5519 MB / 0.9404 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.7751, allocations: 283.4 kB / 0.9407 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005384/0.7757, allocations: 235 kB / 0.9409 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.7768, allocations: 1.019 MB / 0.9419 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7769, allocations: 0.6875 kB / 0.9419 GB, free: 21.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7769, allocations: 4 kB / 0.9419 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.7769, allocations: 2.5 kB / 0.9419 GB, free: 21.24 MB / 0.7325 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.002198/0.7791, allocations: 1.301 MB / 0.9432 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.7791, allocations: 9.344 kB / 0.9432 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007717/0.7799, allocations: 182.2 kB / 0.9434 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.7812, allocations: 0.8055 MB / 0.9442 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.7812, allocations: 40.97 kB / 0.9442 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.7813, allocations: 61.56 kB / 0.9443 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.7824, allocations: 0.7993 MB / 0.945 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.7824, allocations: 4.016 kB / 0.945 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.7825, allocations: 21.06 kB / 0.9451 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.7825, allocations: 13.44 kB / 0.9451 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.7833, allocations: 0.5443 MB / 0.9456 GB, free: 19.76 MB / 0.7325 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.003433/0.7868, allocations: 4.603 MB / 0.9501 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/0.7874, allocations: 431.6 kB / 0.9505 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.7878, allocations: 249 kB / 0.9508 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.788, allocations: 200.6 kB / 0.9509 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004415/0.7885, allocations: 301 kB / 0.9512 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.7885, allocations: 1.062 kB / 0.9512 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.003429/0.7919, allocations: 1.344 MB / 0.9525 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.792, allocations: 80.42 kB / 0.9526 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.7933, allocations: 1.121 MB / 0.9537 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.7934, allocations: 34.67 kB / 0.9537 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.7937, allocations: 494.2 kB / 0.9542 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.7938, allocations: 113.8 kB / 0.9543 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.7938, allocations: 7.844 kB / 0.9543 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.7939, allocations: 327.1 kB / 0.9546 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.7942, allocations: 186.8 kB / 0.9548 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.7947, allocations: 0.4995 MB / 0.9553 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.7951, allocations: 294.5 kB / 0.9556 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.7951, allocations: 2.156 kB / 0.9556 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001945/0.7971, allocations: 0.985 MB / 0.9566 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.7972, allocations: 269.9 kB / 0.9568 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.7972, allocations: 4.75 kB / 0.9568 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.7984, allocations: 347.6 kB / 0.9572 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.7987, allocations: 59.61 kB / 0.9572 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009296/0.7996, allocations: 1.011 MB / 0.9582 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008532/0.8005, allocations: 102.2 kB / 0.9583 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.8005, allocations: 31.77 kB / 0.9583 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.8005, allocations: 4.25 kB / 0.9583 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/0.8018, allocations: 0.7361 MB / 0.959 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.8018, allocations: 5.5 kB / 0.9591 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.8023, allocations: 214.7 kB / 0.9593 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.8025, allocations: 66.44 kB / 0.9593 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.8058, allocations: 3.116 MB / 0.9624 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/0.8065, allocations: 96.28 kB / 0.9625 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.8066, allocations: 29.41 kB / 0.9625 GB, free: 11.6 MB / 0.7325 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.0005999/0.8072, allocations: 467 kB / 0.9629 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.8073, allocations: 98.47 kB / 0.963 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.8084, allocations: 0.7252 MB / 0.9637 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8084, allocations: 3.375 kB / 0.9637 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.8085, allocations: 0 / 0.9637 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.8085, allocations: 2.25 kB / 0.9637 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.8105, allocations: 1.625 MB / 0.9653 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8105, allocations: 3 kB / 0.9653 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.8106, allocations: 23.48 kB / 0.9653 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000367/0.8109, allocations: 219.5 kB / 0.9656 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.811, allocations: 14.03 kB / 0.9656 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006971/0.8117, allocations: 0.9729 MB / 0.9665 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8117, allocations: 3.375 kB / 0.9665 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.8127, allocations: 0.8554 MB / 0.9674 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.813, allocations: 222.3 kB / 0.9676 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/0.8131, allocations: 9.469 kB / 0.9676 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.8135, allocations: 52.66 kB / 0.9676 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.8136, allocations: 28.75 kB / 0.9677 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.8136, allocations: 13.95 kB / 0.9677 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008605/0.8145, allocations: 0.7846 MB / 0.9684 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8145, allocations: 1.438 kB / 0.9684 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001249/0.8157, allocations: 455.1 kB / 0.9689 GB, free: 9.516 MB / 0.7325 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.0003647/0.8161, allocations: 181.5 kB / 0.969 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.8177, allocations: 1.061 MB / 0.9701 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8177, allocations: 0 / 0.9701 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.8182, allocations: 239 kB / 0.9703 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.8199, allocations: 456.2 kB / 0.9707 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.8222, allocations: 1.972 MB / 0.9727 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.8228, allocations: 1.193 MB / 0.9738 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007754/0.8236, allocations: 323.6 kB / 0.9741 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.8237, allocations: 55.91 kB / 0.9742 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.8237, allocations: 0 / 0.9742 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of Templates: time 0.02829/0.852, allocations: 18.37 MB / 0.9921 GB, free: 13.77 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) Environment - environmentSimulation: