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.0006589/0.0006589, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008423/0.001501, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9376/0.9376, allocations: 177.2 MB / 188.2 MB, free: 4.484 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1545/1.092, allocations: 53.65 MB / 241.9 MB, free: 2.734 MB / 234.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.0007681/0.0007681, allocations: 135.5 kB / 242.7 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009935/0.001762, allocations: 486.5 kB / 243.2 MB, free: 1.422 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4731/0.4731, allocations: 89.07 MB / 333 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05105/0.5241, allocations: 30.21 MB / 363.2 MB, free: 3.18 MB / 346.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.02528/0.02528, allocations: 4.798 MB / 368.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003079/0.02836, allocations: 1.926 MB / 370.7 MB, free: 11.89 MB / 362.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.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.094e-06/2.094e-06, allocations: 4 kB / 372 MB, free: 10.6 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.266e-05, allocations: 2.312 kB / 372 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.002755/0.002767, allocations: 3.466 MB / 375.5 MB, free: 7.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.004745, allocations: 1.956 MB / 377.4 MB, free: 5.148 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.004879, allocations: 4 kB / 377.4 MB, free: 5.145 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.005511, allocations: 0.676 MB / 378.1 MB, free: 4.465 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.005834, allocations: 293.8 kB / 378.4 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.006354, allocations: 370.8 kB / 378.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.006843, allocations: 0.8069 MB / 379.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.00719, allocations: 321.8 kB / 379.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.007666, allocations: 0.6086 MB / 380.5 MB, free: 2.059 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.00791, allocations: 287.1 kB / 380.8 MB, free: 1.777 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.007975, allocations: 64 kB / 380.8 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.008319, allocations: 307.5 kB / 381.1 MB, free: 1.414 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.008388, allocations: 99.62 kB / 381.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.00853, allocations: 183.6 kB / 381.4 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.009042, allocations: 0.6501 MB / 382 MB, free: 496 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.009055, allocations: 0 / 382 MB, free: 496 kB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.009055, allocations: 0 / 382 MB, free: 496 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.00907, allocations: 0 / 382 MB, free: 496 kB / 362.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.00122/0.01029, allocations: 1.197 MB / 383.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.01032, allocations: 11.98 kB / 383.3 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.01072, allocations: 201.9 kB / 383.5 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.01107, allocations: 350.3 kB / 383.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.01109, allocations: 37.31 kB / 383.8 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.01114, allocations: 40.38 kB / 383.9 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.01149, allocations: 0.5831 MB / 384.5 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.0115, allocations: 4.172 kB / 384.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.01152, allocations: 12.38 kB / 384.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.01153, allocations: 19.88 kB / 384.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.01168, allocations: 114.8 kB / 384.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009801/0.01266, allocations: 0.8506 MB / 385.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.01291, allocations: 203.6 kB / 385.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.01301, allocations: 88.8 kB / 385.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.01304, allocations: 8 kB / 385.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.01306, allocations: 42.5 kB / 385.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.513e-06/0.01306, allocations: 4 kB / 385.8 MB, free: 12.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009035/0.01396, allocations: 0.6417 MB / 386.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.01399, allocations: 59.16 kB / 386.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.01429, allocations: 475.2 kB / 387 MB, free: 11.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.01431, allocations: 33.7 kB / 387 MB, free: 11.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.0144, allocations: 210.1 kB / 387.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.01448, allocations: 170.5 kB / 387.4 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.01456, allocations: 90.14 kB / 387.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.01466, allocations: 378.6 kB / 387.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.01472, allocations: 44.97 kB / 387.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.01489, allocations: 413.5 kB / 388.3 MB, free: 9.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.01521, allocations: 287.4 kB / 388.5 MB, free: 9.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01521, allocations: 0 / 388.5 MB, free: 9.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002995/0.01551, allocations: 283.2 kB / 388.8 MB, free: 9.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01552, allocations: 4 kB / 388.8 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01553, allocations: 0 / 388.8 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.016, allocations: 195 kB / 389 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.01619, allocations: 86.31 kB / 389.1 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003508/0.01654, allocations: 0.646 MB / 389.7 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.0167, allocations: 19.92 kB / 389.8 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.01671, allocations: 8 kB / 389.8 MB, free: 8.285 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.0001135/0.01682, allocations: 145.8 kB / 389.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.01688, allocations: 51.94 kB / 390 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.01731, allocations: 325.4 kB / 390.3 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01732, allocations: 4 kB / 390.3 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01732, allocations: 7.938 kB / 390.3 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.01733, allocations: 3.984 kB / 390.3 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009354/0.01827, allocations: 0.6328 MB / 390.9 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01827, allocations: 0 / 390.9 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.0186, allocations: 167.6 kB / 391.1 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.01867, allocations: 55.55 kB / 391.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.0189, allocations: 100.8 kB / 391.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.01892, allocations: 8 kB / 391.3 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.02054, allocations: 3.889 MB / 395.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.02054, allocations: 3.984 kB / 395.2 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.02098, allocations: 475.6 kB / 395.6 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.02103, allocations: 19.95 kB / 395.6 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.0212, allocations: 15.98 kB / 395.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.02124, allocations: 40.38 kB / 395.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.02125, allocations: 7.984 kB / 395.7 MB, free: 2.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.02142, allocations: 240.4 kB / 395.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02142, allocations: 0 / 395.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.02176, allocations: 183.8 kB / 396.1 MB, free: 1.602 MB / 378.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.0002223/0.02198, allocations: 151.1 kB / 396.3 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.02237, allocations: 252.8 kB / 396.5 MB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.02238, allocations: 12 kB / 396.5 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.02276, allocations: 324.5 kB / 396.8 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.02328, allocations: 214.1 kB / 397 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.02802, allocations: 1.086 MB / 398.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.554e-05/0.02811, allocations: 134.4 kB / 398.3 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.02834, allocations: 92.92 kB / 398.4 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.02874, allocations: 245.1 kB / 398.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.02874, allocations: 0 / 398.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of Templates: time 0.01498/0.04373, allocations: 13.62 MB / 412.2 MB, free: 1.656 MB / 394.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.307863642461598]