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.0006228/0.0006228, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008435/0.001466, allocations: 440 kB / 10.41 MB, free: 284 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.967/0.967, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1527/1.12, allocations: 53.64 MB / 242 MB, free: 2.629 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.0007954/0.0007954, allocations: 155.1 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001807, allocations: 478.7 kB / 243.4 MB, free: 1.285 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.455/0.455, allocations: 89.19 MB / 333.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04982/0.5048, allocations: 30.22 MB / 363.5 MB, free: 3.059 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.03203/0.03203, allocations: 4.794 MB / 369.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005094/0.03712, allocations: 1.924 MB / 371 MB, free: 11.77 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.114e-06/2.114e-06, allocations: 0 / 372.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.744e-05, allocations: 3.406 kB / 372.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.004986/0.005014, allocations: 3.488 MB / 375.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003841/0.008855, allocations: 1.957 MB / 377.8 MB, free: 5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.009169, allocations: 4 kB / 377.8 MB, free: 4.996 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.01031, allocations: 0.6722 MB / 378.5 MB, free: 4.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.01094, allocations: 297.8 kB / 378.7 MB, free: 4.027 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009601/0.0119, allocations: 358.9 kB / 379.1 MB, free: 3.676 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008461/0.01275, allocations: 0.8185 MB / 379.9 MB, free: 2.855 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005087/0.01326, allocations: 321.7 kB / 380.2 MB, free: 2.535 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007684/0.01402, allocations: 0.6125 MB / 380.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.01443, allocations: 287.1 kB / 381.1 MB, free: 1.625 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.596e-05/0.01453, allocations: 64 kB / 381.2 MB, free: 1.562 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.01509, allocations: 291.6 kB / 381.5 MB, free: 1.277 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.01521, allocations: 111.5 kB / 381.6 MB, free: 1.168 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.01543, allocations: 175.6 kB / 381.8 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.01624, allocations: 0.6578 MB / 382.4 MB, free: 344 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.01625, allocations: 0 / 382.4 MB, free: 344 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01625, allocations: 3.938 kB / 382.4 MB, free: 340 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.01627, allocations: 0 / 382.4 MB, free: 340 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.001848/0.01812, allocations: 1.197 MB / 383.6 MB, free: 15.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.01815, allocations: 12.03 kB / 383.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.01881, allocations: 197.9 kB / 383.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/0.01937, allocations: 350.4 kB / 384.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.01939, allocations: 29.38 kB / 384.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.01954, allocations: 40.38 kB / 384.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.02007, allocations: 0.587 MB / 384.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.02009, allocations: 4.125 kB / 384.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.02013, allocations: 16.38 kB / 384.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.02014, allocations: 15.94 kB / 384.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.02038, allocations: 114.9 kB / 385 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.02201, allocations: 0.8389 MB / 385.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.02243, allocations: 203.6 kB / 386 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.02261, allocations: 88.8 kB / 386.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.02264, allocations: 8 kB / 386.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.02268, allocations: 46.55 kB / 386.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 4.929e-06/0.02269, allocations: 3.984 kB / 386.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001841/0.02453, allocations: 0.7223 MB / 386.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.02457, allocations: 59.41 kB / 386.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.02507, allocations: 467.2 kB / 387.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.02511, allocations: 37.7 kB / 387.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.02525, allocations: 206.1 kB / 387.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.0255, allocations: 178.4 kB / 387.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.02562, allocations: 82.14 kB / 387.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.02576, allocations: 386.6 kB / 388.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.02587, allocations: 44.97 kB / 388.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.02615, allocations: 413.6 kB / 388.7 MB, free: 9.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.0267, allocations: 297.3 kB / 389 MB, free: 9.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.0267, allocations: 0 / 389 MB, free: 9.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005566/0.02726, allocations: 271.3 kB / 389.3 MB, free: 9.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.02729, allocations: 16 kB / 389.3 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.02729, allocations: 0 / 389.3 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008769/0.02817, allocations: 204.4 kB / 389.5 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.0285, allocations: 81.91 kB / 389.5 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006348/0.02914, allocations: 0.6528 MB / 390.2 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.02947, allocations: 16 kB / 390.2 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.02949, allocations: 11.98 kB / 390.2 MB, free: 8.043 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.0001931/0.02969, allocations: 141.8 kB / 390.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.02979, allocations: 51.95 kB / 390.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006606/0.03045, allocations: 317.4 kB / 390.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.03046, allocations: 7.984 kB / 390.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.03046, allocations: 0 / 390.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.03047, allocations: 4 kB / 390.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.03171, allocations: 0.6366 MB / 391.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.03171, allocations: 4 kB / 391.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.03207, allocations: 163.8 kB / 391.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.03214, allocations: 51.61 kB / 391.6 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/0.03239, allocations: 104.8 kB / 391.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.03241, allocations: 12 kB / 391.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.03437, allocations: 3.877 MB / 395.6 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.03437, allocations: 0 / 395.6 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.03484, allocations: 483.4 kB / 396.1 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.03489, allocations: 20.02 kB / 396.1 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.03506, allocations: 19.94 kB / 396.1 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.03511, allocations: 36.42 kB / 396.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.03512, allocations: 8 kB / 396.1 MB, free: 1.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.03532, allocations: 240.3 kB / 396.4 MB, free: 1.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03532, allocations: 0 / 396.4 MB, free: 1.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004215/0.03574, allocations: 183.8 kB / 396.6 MB, free: 1.379 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.0002827/0.03602, allocations: 164 kB / 396.7 MB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.03644, allocations: 249.4 kB / 397 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.03645, allocations: 8 kB / 397 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.03688, allocations: 349.6 kB / 397.3 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/0.03774, allocations: 1.713 MB / 399 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.04249, allocations: 1.082 MB / 400.1 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.749e-05/0.04257, allocations: 134.5 kB / 400.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.0428, allocations: 89.08 kB / 400.3 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.04318, allocations: 261.1 kB / 400.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.04318, allocations: 0 / 400.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of Templates: time 0.01635/0.05953, allocations: 13.89 MB / 414.5 MB, free: 15.29 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.437563758343458]