Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000751/0.000751, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008184/0.000818, allocations: 175.9 kB / 16.92 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6628/0.6628, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 11.98 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1575, allocations: 77.53 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4145/0.5721, allocations: 157.3 MB / 0.7135 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.5749, allocations: 1.761 MB / 0.7153 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.5752, allocations: 11.94 kB / 0.7153 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005115/0.5757, allocations: 131.2 kB / 0.7154 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.5768, allocations: 0.498 MB / 0.7159 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.5777, allocations: 357.2 kB / 0.7162 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003203/0.5809, allocations: 3.464 MB / 0.7196 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000941/0.5818, allocations: 0.7412 MB / 0.7203 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.5833, allocations: 0.9025 MB / 0.7212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008298/0.5841, allocations: 0.7194 MB / 0.7219 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.263e-05/0.5842, allocations: 36 kB / 0.7219 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.5855, allocations: 0.8029 MB / 0.7227 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.5857, allocations: 282.9 kB / 0.723 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.5863, allocations: 0.5301 MB / 0.7235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.5876, allocations: 1.359 MB / 0.7248 GB, free: 14.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5876, allocations: 7.984 kB / 0.7249 GB, free: 14.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5876, allocations: 0 / 0.7249 GB, free: 14.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.5876, allocations: 0 / 0.7249 GB, free: 14.08 MB / 0.545 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.001837/0.5895, allocations: 1.265 MB / 0.7261 GB, free: 12.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.5895, allocations: 11.97 kB / 0.7261 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007048/0.5902, allocations: 186.5 kB / 0.7263 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.5913, allocations: 0.7982 MB / 0.7271 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.5913, allocations: 49 kB / 0.7271 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-05/0.5914, allocations: 60 kB / 0.7272 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.5926, allocations: 0.8043 MB / 0.7279 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5926, allocations: 3.938 kB / 0.7279 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.032e-05/0.5927, allocations: 20 kB / 0.728 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.5927, allocations: 12 kB / 0.728 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009032/0.5936, allocations: 0.55 MB / 0.7285 GB, free: 10.13 MB / 0.545 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.003757/0.5974, allocations: 4.599 MB / 0.733 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.5981, allocations: 426.2 kB / 0.7334 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/0.5985, allocations: 249.2 kB / 0.7337 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.5988, allocations: 198.2 kB / 0.7338 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/0.5993, allocations: 297.1 kB / 0.7341 GB, free: 3.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.5993, allocations: 4 kB / 0.7341 GB, free: 3.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001328/0.6006, allocations: 0.6484 MB / 0.7348 GB, free: 3.281 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.6007, allocations: 85.05 kB / 0.7348 GB, free: 3.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.602, allocations: 1.114 MB / 0.7359 GB, free: 2.047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.602, allocations: 33.7 kB / 0.736 GB, free: 2.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.6024, allocations: 496.1 kB / 0.7364 GB, free: 1.516 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/0.6025, allocations: 106.5 kB / 0.7365 GB, free: 1.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.105e-05/0.6026, allocations: 41.7 kB / 0.7366 GB, free: 1.363 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6027, allocations: 333.9 kB / 0.7369 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.6031, allocations: 208.7 kB / 0.7371 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/0.6037, allocations: 0.5219 MB / 0.7376 GB, free: 176 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008856/0.6046, allocations: 0.6517 MB / 0.7382 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6046, allocations: 0 / 0.7382 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001202/0.6058, allocations: 0.7317 MB / 0.739 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.606, allocations: 271.1 kB / 0.7392 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.606, allocations: 11.98 kB / 0.7392 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.606, allocations: 8 kB / 0.7392 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.6078, allocations: 353 kB / 0.7396 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.6112, allocations: 6.079 MB / 0.7455 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008401/0.6121, allocations: 103.6 kB / 0.7456 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.6121, allocations: 23.98 kB / 0.7456 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.6121, allocations: 9.938 kB / 0.7456 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009171/0.6131, allocations: 0.5442 MB / 0.7462 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.6131, allocations: 15.94 kB / 0.7462 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.6131, allocations: 11.94 kB / 0.7462 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.6136, allocations: 152.3 kB / 0.7463 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.6137, allocations: 8 kB / 0.7463 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/0.6143, allocations: 95.55 kB / 0.7464 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.6143, allocations: 24 kB / 0.7465 GB, free: 6.688 MB / 0.5606 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000542/0.6149, allocations: 468.7 kB / 0.7469 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.615, allocations: 106.8 kB / 0.747 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000909/0.6159, allocations: 0.4988 MB / 0.7475 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.616, allocations: 4 kB / 0.7475 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.616, allocations: 0 / 0.7475 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.616, allocations: 11.98 kB / 0.7475 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.6179, allocations: 1.387 MB / 0.7489 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6179, allocations: 3.984 kB / 0.7489 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.6185, allocations: 147.8 kB / 0.749 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.6185, allocations: 0 / 0.749 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.6185, allocations: 8.219 kB / 0.749 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.6213, allocations: 6.04 MB / 0.7549 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6213, allocations: 0 / 0.7549 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.6222, allocations: 0.6101 MB / 0.7555 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.6225, allocations: 223.8 kB / 0.7557 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.6227, allocations: 8 kB / 0.7557 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.6231, allocations: 55.8 kB / 0.7558 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.6232, allocations: 27.91 kB / 0.7558 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.6232, allocations: 15.98 kB / 0.7558 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009677/0.6242, allocations: 0.7875 MB / 0.7566 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6242, allocations: 0 / 0.7566 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001056/0.6253, allocations: 403.4 kB / 0.757 GB, free: 11.52 MB / 0.5762 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003577/0.6257, allocations: 184.1 kB / 0.7572 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003016/0.6287, allocations: 1.104 MB / 0.7582 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6287, allocations: 1.375 kB / 0.7582 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000804/0.6295, allocations: 304.1 kB / 0.7585 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.6318, allocations: 454.6 kB / 0.759 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.6346, allocations: 2.106 MB / 0.761 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/0.6353, allocations: 1.184 MB / 0.7622 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009767/0.6363, allocations: 383.6 kB / 0.7625 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.6365, allocations: 63.42 kB / 0.7626 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.6365, allocations: 0 / 0.7626 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of Templates: time 0.02845/0.6649, allocations: 17.19 MB / 0.7794 GB, free: 4.684 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)