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.001147/0.001147, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.001299/0.001299, allocations: 177.3 kB / 15.95 MB, free: 216 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.369/1.369, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.713/1.713, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005263/0.0005264, allocations: 13.16 kB / 0.6735 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2663, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5569/0.8232, allocations: 135.7 MB / 0.9196 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003555/0.8268, allocations: 3.097 MB / 0.9227 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.8272, allocations: 17.36 kB / 0.9227 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.8279, allocations: 179 kB / 0.9228 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.8294, allocations: 499.3 kB / 0.9233 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.8308, allocations: 458.1 kB / 0.9238 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.8325, allocations: 1.506 MB / 0.9252 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008249/0.8333, allocations: 0.6996 MB / 0.9259 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009738/0.8343, allocations: 0.7022 MB / 0.9266 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/0.8348, allocations: 493.4 kB / 0.9271 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.8349, allocations: 35.41 kB / 0.9271 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000922/0.8358, allocations: 416.3 kB / 0.9275 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.8361, allocations: 253.9 kB / 0.9277 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.8365, allocations: 235.3 kB / 0.928 GB, free: 21.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.8375, allocations: 0.9723 MB / 0.9289 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.8376, allocations: 2.938 kB / 0.9289 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8376, allocations: 0 / 0.9289 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.8376, allocations: 0 / 0.9289 GB, free: 21.42 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.001983/0.8396, allocations: 1.285 MB / 0.9302 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.8396, allocations: 9.5 kB / 0.9302 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007071/0.8403, allocations: 190.4 kB / 0.9304 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.8418, allocations: 0.798 MB / 0.9311 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.8418, allocations: 45.41 kB / 0.9312 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.8419, allocations: 57.95 kB / 0.9312 GB, free: 20.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.8431, allocations: 0.7917 MB / 0.932 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.8432, allocations: 5.125 kB / 0.932 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/0.8432, allocations: 23.19 kB / 0.932 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.8432, allocations: 13.5 kB / 0.9321 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.8443, allocations: 0.5428 MB / 0.9326 GB, free: 19.99 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.004487/0.8488, allocations: 4.604 MB / 0.9371 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008456/0.8496, allocations: 436.8 kB / 0.9375 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.95e-05/0.8497, allocations: 14.41 kB / 0.9375 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005795/0.8503, allocations: 305.3 kB / 0.9378 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.8503, allocations: 0 / 0.9378 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.004219/0.8545, allocations: 1.334 MB / 0.9391 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.8546, allocations: 110.1 kB / 0.9392 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.856, allocations: 1.116 MB / 0.9403 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.8561, allocations: 37.03 kB / 0.9403 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.8564, allocations: 496.8 kB / 0.9408 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/0.8565, allocations: 103.3 kB / 0.9409 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.8565, allocations: 7.5 kB / 0.9409 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8567, allocations: 326.2 kB / 0.9412 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.857, allocations: 189.8 kB / 0.9414 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.8575, allocations: 0.495 MB / 0.9419 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.858, allocations: 300.2 kB / 0.9422 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.858, allocations: 1.219 kB / 0.9422 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001984/0.86, allocations: 0.9819 MB / 0.9431 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007589/0.8607, allocations: 2.132 MB / 0.9452 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.8608, allocations: 6.25 kB / 0.9452 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.862, allocations: 341.9 kB / 0.9456 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.8623, allocations: 64.61 kB / 0.9456 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009292/0.8632, allocations: 1.012 MB / 0.9466 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007774/0.864, allocations: 110.1 kB / 0.9467 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.8641, allocations: 31.75 kB / 0.9467 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.8641, allocations: 4.312 kB / 0.9467 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/0.8654, allocations: 0.7381 MB / 0.9475 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8654, allocations: 5.656 kB / 0.9475 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/0.8659, allocations: 216.4 kB / 0.9477 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.8661, allocations: 58.77 kB / 0.9477 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.8695, allocations: 3.18 MB / 0.9508 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.8702, allocations: 100.4 kB / 0.9509 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.8703, allocations: 22.06 kB / 0.951 GB, free: 10.27 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.0006602/0.8709, allocations: 469.6 kB / 0.9514 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.871, allocations: 102.9 kB / 0.9515 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.8722, allocations: 0.6907 MB / 0.9522 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.8722, allocations: 3.656 kB / 0.9522 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.8722, allocations: 1.656 kB / 0.9522 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.8722, allocations: 3.094 kB / 0.9522 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.8737, allocations: 1.11 MB / 0.9533 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.8737, allocations: 4.438 kB / 0.9533 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.8738, allocations: 20.97 kB / 0.9533 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.8743, allocations: 231 kB / 0.9535 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.8743, allocations: 8.469 kB / 0.9535 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008003/0.8751, allocations: 0.98 MB / 0.9545 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8751, allocations: 1.438 kB / 0.9545 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.8762, allocations: 0.8676 MB / 0.9553 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.8766, allocations: 218.7 kB / 0.9555 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.8767, allocations: 15.22 kB / 0.9555 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.8771, allocations: 62.41 kB / 0.9556 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.248e-05/0.8772, allocations: 28.89 kB / 0.9556 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.8772, allocations: 13.16 kB / 0.9556 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009048/0.8782, allocations: 0.7873 MB / 0.9564 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8782, allocations: 0 / 0.9564 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001228/0.8794, allocations: 451.2 kB / 0.9568 GB, free: 8.254 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.0003623/0.8798, allocations: 181.8 kB / 0.957 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.8815, allocations: 1.059 MB / 0.9581 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8815, allocations: 0 / 0.9581 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.8819, allocations: 238.8 kB / 0.9583 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.8836, allocations: 455.6 kB / 0.9587 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.8859, allocations: 1.973 MB / 0.9606 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.8865, allocations: 1.207 MB / 0.9618 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008103/0.8873, allocations: 324.4 kB / 0.9621 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.8874, allocations: 58.84 kB / 0.9622 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of SimCode: time 1.793e-06/0.8874, allocations: 0 / 0.9622 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of Templates: time 0.02846/0.9159, allocations: 18.36 MB / 0.9801 GB, free: 14.39 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: