Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 95.72 kB / 15.68 MB, free: 488 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.0009998/0.0009999, allocations: 176.4 kB / 16.57 MB, free: 6.391 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.334/1.334, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6627/0.6627, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 13.25 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1348, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.4107/0.5455, allocations: 140.4 MB / 0.694 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005137/0.5507, allocations: 3.595 MB / 0.6975 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.5512, allocations: 15.88 kB / 0.6975 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000819/0.552, allocations: 238.9 kB / 0.6977 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.554, allocations: 0.7021 MB / 0.6984 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.5555, allocations: 492.2 kB / 0.6989 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.5576, allocations: 1.649 MB / 0.7005 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002756/0.5604, allocations: 2.321 MB / 0.7028 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.562, allocations: 0.8566 MB / 0.7036 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008071/0.5628, allocations: 0.6031 MB / 0.7042 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.563, allocations: 48 kB / 0.7043 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009928/0.564, allocations: 455.3 kB / 0.7047 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.5643, allocations: 307 kB / 0.705 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.5645, allocations: 249 kB / 0.7052 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.5656, allocations: 1.13 MB / 0.7063 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.5657, allocations: 0 / 0.7063 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5657, allocations: 0 / 0.7063 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.5657, allocations: 0 / 0.7063 GB, free: 0.8516 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.0026/0.5683, allocations: 1.501 MB / 0.7078 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5683, allocations: 12.03 kB / 0.7078 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.5692, allocations: 194.4 kB / 0.708 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.5708, allocations: 0.8795 MB / 0.7088 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.5709, allocations: 49.27 kB / 0.7089 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.571, allocations: 64 kB / 0.709 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.5724, allocations: 0.987 MB / 0.7099 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.5724, allocations: 3.938 kB / 0.7099 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.5725, allocations: 24 kB / 0.7099 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.5725, allocations: 19.97 kB / 0.71 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.5738, allocations: 0.7999 MB / 0.7107 GB, free: 12.13 MB / 0.5294 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.004589/0.5784, allocations: 4.809 MB / 0.7154 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.5808, allocations: 4.036 MB / 0.7194 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.476e-05/0.5809, allocations: 16.27 kB / 0.7194 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005424/0.5814, allocations: 337.9 kB / 0.7197 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002801/0.5817, allocations: 35.69 kB / 0.7198 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.5817, allocations: 0 / 0.7198 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.005198/0.5869, allocations: 1.671 MB / 0.7214 GB, free: 16 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.587, allocations: 114.8 kB / 0.7215 GB, free: 15.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.5884, allocations: 1.185 MB / 0.7226 GB, free: 14.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.5884, allocations: 41.7 kB / 0.7227 GB, free: 14.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/0.5888, allocations: 0.5044 MB / 0.7232 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.589, allocations: 130.3 kB / 0.7233 GB, free: 14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.589, allocations: 4 kB / 0.7233 GB, free: 13.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5891, allocations: 326 kB / 0.7236 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.5895, allocations: 209 kB / 0.7238 GB, free: 13.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.59, allocations: 0.5366 MB / 0.7243 GB, free: 12.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.5905, allocations: 317.5 kB / 0.7246 GB, free: 12.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.5905, allocations: 0 / 0.7246 GB, free: 12.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002286/0.5928, allocations: 1.083 MB / 0.7257 GB, free: 11.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006845/0.5935, allocations: 2.14 MB / 0.7278 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5935, allocations: 8 kB / 0.7278 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.5951, allocations: 452.6 kB / 0.7282 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.5954, allocations: 72.36 kB / 0.7283 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.5968, allocations: 1.118 MB / 0.7294 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/0.5978, allocations: 107.7 kB / 0.7295 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.5979, allocations: 27.98 kB / 0.7295 GB, free: 7.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.5979, allocations: 4 kB / 0.7295 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/0.5993, allocations: 0.8098 MB / 0.7303 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5993, allocations: 4 kB / 0.7303 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/0.5999, allocations: 268.4 kB / 0.7306 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.6003, allocations: 71.83 kB / 0.7306 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.6041, allocations: 3.196 MB / 0.7338 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.6051, allocations: 99.8 kB / 0.7339 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.6051, allocations: 24 kB / 0.7339 GB, free: 2.668 MB / 0.545 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005371/0.6057, allocations: 484.5 kB / 0.7343 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.6058, allocations: 110.7 kB / 0.7345 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.6072, allocations: 0.7864 MB / 0.7352 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.6072, allocations: 8 kB / 0.7352 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6072, allocations: 3.984 kB / 0.7352 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6072, allocations: 3.938 kB / 0.7352 GB, free: 1.258 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 postOpt removeSimpleEquations (simulation): time 0.002949/0.6102, allocations: 2.242 MB / 0.7374 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6102, allocations: 4 kB / 0.7374 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.6104, allocations: 47.89 kB / 0.7375 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/0.6109, allocations: 236.2 kB / 0.7377 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.611, allocations: 19.92 kB / 0.7377 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009223/0.6119, allocations: 0.9384 MB / 0.7386 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6119, allocations: 4 kB / 0.7386 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.6134, allocations: 0.9799 MB / 0.7396 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/0.6138, allocations: 231.7 kB / 0.7398 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.614, allocations: 8 kB / 0.7398 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.6147, allocations: 79.75 kB / 0.7399 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.6148, allocations: 35.84 kB / 0.7399 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.6148, allocations: 20 kB / 0.74 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009641/0.6158, allocations: 0.8289 MB / 0.7408 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6158, allocations: 0 / 0.7408 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001375/0.6172, allocations: 0.5071 MB / 0.7413 GB, free: 10.82 MB / 0.5606 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004073/0.6176, allocations: 188.3 kB / 0.7414 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.62, allocations: 1.287 MB / 0.7427 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.62, allocations: 0 / 0.7427 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000648/0.6207, allocations: 320.2 kB / 0.743 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/0.6239, allocations: 0.6558 MB / 0.7436 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.6274, allocations: 2.214 MB / 0.7458 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008192/0.6282, allocations: 1.24 MB / 0.747 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001098/0.6293, allocations: 324.6 kB / 0.7473 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.6295, allocations: 67.44 kB / 0.7474 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.6295, allocations: 0 / 0.7474 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of Templates: time 0.03097/0.6605, allocations: 20.79 MB / 0.7677 GB, free: 15.89 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)