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.0008632/0.0008632, allocations: 80.81 kB / 20.8 MB, free: 3.656 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 0.9715/0.9715, allocations: 177.1 MB / 201.2 MB, free: 5.645 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.001555/0.001555, allocations: 156.6 kB / 257.9 MB, free: 12.94 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.4788/0.4788, allocations: 80.24 MB / 341.4 MB, free: 9.613 MB / 314.7 MB " [Timeout remaining time 179] 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.03707/0.03707, allocations: 4.796 MB / 376.2 MB, free: 7.105 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 2.335e-06/2.335e-06, allocations: 0 / 396 MB, free: 3.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.866e-05, allocations: 9.547 kB / 396 MB, free: 3.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.005303/0.005332, allocations: 3.456 MB / 399.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.00936, allocations: 1.947 MB / 401.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004917/0.009852, allocations: 7.938 kB / 401.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.01116, allocations: 0.6605 MB / 402 MB, free: 13.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008326/0.01199, allocations: 297.8 kB / 402.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.01321, allocations: 366.9 kB / 402.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.01423, allocations: 0.8274 MB / 403.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.01492, allocations: 377.4 kB / 403.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006715/0.01559, allocations: 454.7 kB / 404.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.01605, allocations: 287.1 kB / 404.6 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.01617, allocations: 68 kB / 404.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.01686, allocations: 307.6 kB / 405 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.017, allocations: 163.2 kB / 405.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.01725, allocations: 235.3 kB / 405.4 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.01831, allocations: 0.724 MB / 406.1 MB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.01832, allocations: 0 / 406.1 MB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.01832, allocations: 0 / 406.1 MB, free: 9.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.01833, allocations: 0 / 406.1 MB, free: 9.188 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.00177/0.0201, allocations: 1.059 MB / 407.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.02014, allocations: 8.031 kB / 407.2 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000609/0.02075, allocations: 124.8 kB / 407.3 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.02134, allocations: 350.3 kB / 407.6 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.02137, allocations: 29.38 kB / 407.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.02144, allocations: 48.34 kB / 407.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.02197, allocations: 0.5908 MB / 408.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.02198, allocations: 192 / 408.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.02201, allocations: 12.38 kB / 408.3 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.02203, allocations: 15.94 kB / 408.3 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.02224, allocations: 114.9 kB / 408.4 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.02381, allocations: 0.8381 MB / 409.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.02421, allocations: 203.6 kB / 409.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.02439, allocations: 104 kB / 409.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.02442, allocations: 4.719 kB / 409.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.02446, allocations: 42.55 kB / 409.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.146e-06/0.02446, allocations: 0 / 409.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001404/0.02587, allocations: 0.6371 MB / 410.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.02601, allocations: 332.4 kB / 410.6 MB, free: 4.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.0265, allocations: 467.2 kB / 411 MB, free: 3.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.02653, allocations: 37.7 kB / 411.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.02668, allocations: 210.1 kB / 411.3 MB, free: 3.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.02679, allocations: 162.5 kB / 411.4 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.02692, allocations: 94.12 kB / 411.5 MB, free: 3.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.02709, allocations: 374.6 kB / 411.9 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.535e-05/0.02719, allocations: 44.97 kB / 411.9 MB, free: 2.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.0275, allocations: 413.6 kB / 412.3 MB, free: 2.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.02805, allocations: 298.5 kB / 412.6 MB, free: 2.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.02805, allocations: 0 / 412.6 MB, free: 2.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005251/0.02857, allocations: 271.1 kB / 412.9 MB, free: 1.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.0286, allocations: 8 kB / 412.9 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.0286, allocations: 0 / 412.9 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008028/0.02941, allocations: 192.6 kB / 413.1 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.02968, allocations: 79.75 kB / 413.2 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005698/0.03025, allocations: 0.6498 MB / 413.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.03054, allocations: 15.98 kB / 413.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.03056, allocations: 8 kB / 413.8 MB, free: 0.9141 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.0001842/0.03075, allocations: 149.6 kB / 414 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.03083, allocations: 51.94 kB / 414 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005968/0.03143, allocations: 325.4 kB / 414.4 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.03144, allocations: 11.97 kB / 414.4 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.03144, allocations: 4 kB / 414.4 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.03145, allocations: 3.984 kB / 414.4 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.03268, allocations: 0.625 MB / 415 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.03268, allocations: 0 / 415 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.03322, allocations: 159.9 kB / 415.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/0.0336, allocations: 92.7 kB / 415.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.03363, allocations: 11.98 kB / 415.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/0.03626, allocations: 3.888 MB / 419.1 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.03626, allocations: 4 kB / 419.1 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.037, allocations: 471.5 kB / 419.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.03712, allocations: 59.5 kB / 419.7 MB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.03719, allocations: 12 kB / 419.7 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.03748, allocations: 19.98 kB / 419.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.03754, allocations: 32.44 kB / 419.7 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.03756, allocations: 15.98 kB / 419.7 MB, free: 10.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004469/0.03801, allocations: 236.5 kB / 420 MB, free: 10.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03801, allocations: 4.031 kB / 420 MB, free: 10.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000678/0.03869, allocations: 179.9 kB / 420.2 MB, free: 10.25 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.0003397/0.03903, allocations: 160 kB / 420.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006198/0.03965, allocations: 244.9 kB / 420.6 MB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.03966, allocations: 8.125 kB / 420.6 MB, free: 9.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.04053, allocations: 315.6 kB / 420.9 MB, free: 9.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.04118, allocations: 184.7 kB / 421 MB, free: 9.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.04268, allocations: 1.085 MB / 422.1 MB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.04277, allocations: 134.4 kB / 422.3 MB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000244/0.04301, allocations: 88.92 kB / 422.4 MB, free: 7.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.04337, allocations: 249.1 kB / 422.6 MB, free: 7.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/0.04337, allocations: 4 kB / 422.6 MB, free: 7.727 MB / 394.7 MB Notification: Performance of Templates: time 0.01603/0.05941, allocations: 13.03 MB / 435.6 MB, free: 10.89 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.7934766691178083]