Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.BranchingPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009298/0.0009298, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.013/1.013, allocations: 177.2 MB / 200.3 MB, free: 5.371 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 156.6 kB / 257 MB, free: 12.81 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4066/0.4066, allocations: 80.25 MB / 340.5 MB, free: 9.57 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.04629/0.04629, allocations: 4.787 MB / 375.3 MB, free: 7.16 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHPL.Examples.BranchingPipes,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.BranchingPipes") translateModel(OpenHPL.Examples.BranchingPipes,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.BranchingPipes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 394.9 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.174e-05, allocations: 2.312 kB / 394.9 MB, free: 3.543 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.004608/0.00463, allocations: 3.42 MB / 398.4 MB, free: 104 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003687/0.008317, allocations: 1.951 MB / 400.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.008631, allocations: 4 kB / 400.3 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.009873, allocations: 0.6644 MB / 401 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007468/0.01062, allocations: 301.8 kB / 401.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.01174, allocations: 374.9 kB / 401.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.01282, allocations: 0.8274 MB / 402.5 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007438/0.01356, allocations: 369.4 kB / 402.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007343/0.0143, allocations: 458.7 kB / 403.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005057/0.0148, allocations: 291 kB / 403.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.01493, allocations: 60 kB / 403.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006152/0.01554, allocations: 307.5 kB / 403.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.01568, allocations: 159.3 kB / 404.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.01595, allocations: 239.3 kB / 404.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.01699, allocations: 0.7201 MB / 405 MB, free: 9.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01699, allocations: 0 / 405 MB, free: 9.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01699, allocations: 0 / 405 MB, free: 9.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.01701, allocations: 4 kB / 405 MB, free: 9.391 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001857/0.01887, allocations: 1.058 MB / 406.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.01891, allocations: 8.031 kB / 406.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006571/0.01956, allocations: 116.8 kB / 406.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.0202, allocations: 354.4 kB / 406.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.02023, allocations: 29.38 kB / 406.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.02031, allocations: 44.38 kB / 406.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.0209, allocations: 0.5908 MB / 407.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.02092, allocations: 4.125 kB / 407.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.02096, allocations: 16.38 kB / 407.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.02097, allocations: 11.94 kB / 407.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.0215, allocations: 118.8 kB / 407.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.02318, allocations: 0.8343 MB / 408.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.02361, allocations: 203.6 kB / 408.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.02379, allocations: 88.8 kB / 408.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.02383, allocations: 8.719 kB / 408.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.02386, allocations: 38.56 kB / 408.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.436e-06/0.02386, allocations: 4 kB / 408.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001474/0.02534, allocations: 0.6534 MB / 409.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.02547, allocations: 312.4 kB / 409.5 MB, free: 4.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.026, allocations: 475.2 kB / 410 MB, free: 4.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.02604, allocations: 37.7 kB / 410 MB, free: 4.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.0262, allocations: 214.1 kB / 410.2 MB, free: 3.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.02633, allocations: 170.5 kB / 410.4 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.02647, allocations: 86.14 kB / 410.5 MB, free: 3.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.02663, allocations: 374.6 kB / 410.8 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.02673, allocations: 40.98 kB / 410.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.02703, allocations: 413.6 kB / 411.3 MB, free: 2.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.02759, allocations: 298.5 kB / 411.6 MB, free: 2.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.02759, allocations: 0 / 411.6 MB, free: 2.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005445/0.02814, allocations: 279.1 kB / 411.8 MB, free: 2.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.02815, allocations: 4 kB / 411.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.02816, allocations: 0 / 411.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008345/0.029, allocations: 192.6 kB / 412 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.02923, allocations: 67.89 kB / 412.1 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005564/0.02979, allocations: 0.6449 MB / 412.7 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.03007, allocations: 16 kB / 412.8 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.0301, allocations: 15.98 kB / 412.8 MB, free: 1.129 MB / 378.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.branch1.mdot = 0.0 $DER.mainPipeOut.mdot = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.03029, allocations: 145.7 kB / 412.9 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.03039, allocations: 47.95 kB / 413 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.03107, allocations: 329.3 kB / 413.3 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.03108, allocations: 8 kB / 413.3 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.03108, allocations: 0 / 413.3 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.03109, allocations: 0 / 413.3 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.03253, allocations: 0.6289 MB / 413.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.03253, allocations: 0 / 413.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.03304, allocations: 135.9 kB / 414 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/0.03345, allocations: 100.8 kB / 414.1 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.03349, allocations: 23.86 kB / 414.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/0.03655, allocations: 3.865 MB / 418 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.03655, allocations: 3.938 kB / 418 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007528/0.0373, allocations: 475.5 kB / 418.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.03742, allocations: 51.58 kB / 418.6 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.03751, allocations: 16 kB / 418.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.0378, allocations: 16.02 kB / 418.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.03787, allocations: 44.38 kB / 418.6 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.03789, allocations: 11.98 kB / 418.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.03821, allocations: 236.4 kB / 418.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.03821, allocations: 3.938 kB / 418.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007112/0.03893, allocations: 179.9 kB / 419.1 MB, free: 10.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (reservoir.m,reservoir1.m,branch2.mdot,mainPipeOut.mdot) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003663/0.03929, allocations: 144.1 kB / 419.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006917/0.03998, allocations: 248.9 kB / 419.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/0.04, allocations: 7.938 kB / 419.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.04062, allocations: 323.9 kB / 419.8 MB, free: 9.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.04129, allocations: 182 kB / 419.9 MB, free: 9.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.04339, allocations: 1.085 MB / 421 MB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.0435, allocations: 134.4 kB / 421.2 MB, free: 8.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003483/0.04385, allocations: 84.91 kB / 421.2 MB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008622/0.04471, allocations: 249.2 kB / 421.5 MB, free: 7.988 MB / 394.7 MB Notification: Performance of SimCode: time 1.153e-06/0.04471, allocations: 0 / 421.5 MB, free: 7.988 MB / 394.7 MB Notification: Performance of Templates: time 0.023/0.06772, allocations: 12.87 MB / 434.4 MB, free: 11.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.BranchingPipes.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.BranchingPipes.pipe ; mkfifo OpenHPL_OpenHPL.Examples.BranchingPipes.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.BranchingPipes.pipe >> ../files/OpenHPL_OpenHPL.Examples.BranchingPipes.sim & ./OpenHPL_OpenHPL.Examples.BranchingPipes -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6111368662677705]