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.001058/0.001058, allocations: 107.9 kB / 16.38 MB, free: 6.48 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.001013/0.001013, allocations: 193.4 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.747/1.747, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001429/0.001429, allocations: 72.47 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1843, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4784/0.6627, allocations: 161.6 MB / 0.9426 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00481/0.6675, allocations: 3.608 MB / 0.9462 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.6679, allocations: 15.81 kB / 0.9462 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.6685, allocations: 162.9 kB / 0.9463 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.6699, allocations: 0.5289 MB / 0.9468 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.6712, allocations: 437.2 kB / 0.9473 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002909/0.6741, allocations: 2.541 MB / 0.9497 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.6755, allocations: 0.9444 MB / 0.9507 GB, free: 204 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.6773, allocations: 1.028 MB / 0.9517 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.6784, allocations: 0.7078 MB / 0.9524 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.6786, allocations: 56 kB / 0.9524 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.68, allocations: 0.7406 MB / 0.9531 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.6804, allocations: 302.9 kB / 0.9534 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009422/0.6813, allocations: 0.5479 MB / 0.954 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.6831, allocations: 1.396 MB / 0.9553 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6831, allocations: 0 / 0.9553 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6831, allocations: 0 / 0.9553 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.691e-05/0.6832, allocations: 0.8438 kB / 0.9553 GB, free: 11.41 MB / 0.7481 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.002464/0.6856, allocations: 1.456 MB / 0.9567 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.6857, allocations: 8.031 kB / 0.9567 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/0.6865, allocations: 194.4 kB / 0.9569 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.6877, allocations: 0.8491 MB / 0.9578 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.6878, allocations: 49 kB / 0.9578 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.6878, allocations: 56 kB / 0.9579 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.689, allocations: 0.7849 MB / 0.9586 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.689, allocations: 11.94 kB / 0.9586 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/0.6891, allocations: 21.41 kB / 0.9587 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.6891, allocations: 16 kB / 0.9587 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.69, allocations: 0.5305 MB / 0.9592 GB, free: 7.25 MB / 0.7481 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.003612/0.6936, allocations: 4.583 MB / 0.9637 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.6943, allocations: 426.2 kB / 0.9641 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.6947, allocations: 240.7 kB / 0.9643 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.695, allocations: 194.2 kB / 0.9645 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/0.6955, allocations: 307.1 kB / 0.9648 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.6955, allocations: 0 / 0.9648 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.003904/0.6994, allocations: 1.309 MB / 0.9661 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.6995, allocations: 81.11 kB / 0.9661 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.7008, allocations: 1.118 MB / 0.9672 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.7008, allocations: 37.7 kB / 0.9673 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.7012, allocations: 488.3 kB / 0.9677 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.7013, allocations: 114.4 kB / 0.9678 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.7014, allocations: 110 kB / 0.9679 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.7015, allocations: 330 kB / 0.9683 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.7019, allocations: 210.4 kB / 0.9685 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.7025, allocations: 0.5174 MB / 0.969 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008678/0.7034, allocations: 0.6352 MB / 0.9696 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7034, allocations: 4 kB / 0.9696 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002204/0.7056, allocations: 1.041 MB / 0.9706 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.7057, allocations: 41.62 kB / 0.9706 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.7057, allocations: 4 kB / 0.9707 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.7071, allocations: 363.1 kB / 0.971 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.7073, allocations: 59.91 kB / 0.9711 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009474/0.7083, allocations: 1.005 MB / 0.972 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/0.7089, allocations: 79.42 kB / 0.9721 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.7089, allocations: 24.22 kB / 0.9721 GB, free: 9.258 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006395/0.7096, allocations: 0.4928 MB / 0.9726 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005207/0.7101, allocations: 0.4889 MB / 0.9731 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007213/0.7108, allocations: 0.5652 MB / 0.9736 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.504e-06/0.7109, allocations: 0 / 0.9736 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001464/0.7123, allocations: 0.8264 MB / 0.9745 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.7124, allocations: 33.7 kB / 0.9745 GB, free: 6.613 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7124, allocations: 4 kB / 0.9745 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00051/0.7129, allocations: 213.6 kB / 0.9747 GB, free: 6.398 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.7131, allocations: 63.78 kB / 0.9748 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/0.7167, allocations: 3.342 MB / 0.978 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.7173, allocations: 65.12 kB / 0.9781 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.7173, allocations: 20 kB / 0.9781 GB, free: 2.754 MB / 0.7637 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.0001576/0.7175, allocations: 220.2 kB / 0.9783 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.7176, allocations: 102.7 kB / 0.9784 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.7189, allocations: 0.7047 MB / 0.9791 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.7189, allocations: 0 / 0.9791 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.7189, allocations: 7.984 kB / 0.9791 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.7192, allocations: 212.7 kB / 0.9793 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.7193, allocations: 8 kB / 0.9793 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.7197, allocations: 19.97 kB / 0.9793 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.7198, allocations: 47.88 kB / 0.9794 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001396/0.7212, allocations: 0.7973 MB / 0.9802 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001147/0.7223, allocations: 0.9295 MB / 0.9811 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003133/0.7227, allocations: 183.8 kB / 0.9812 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008981/0.7236, allocations: 0.7877 MB / 0.982 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of Backend: time 3.4e-07/0.7236, allocations: 0 / 0.982 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.726, allocations: 1.158 MB / 0.9831 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of SimCode: time 0.003597/0.7296, allocations: 2.646 MB / 0.9857 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of Templates: time 0.03001/0.7596, allocations: 20.46 MB / 1.006 GB, free: 6.672 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (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)