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.001425/0.001425, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.9573/0.9573, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.001262/0.001262, allocations: 155.9 kB / 256.7 MB, free: 13.34 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.3084/0.3084, allocations: 80.26 MB / 393.4 MB, free: 2.438 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.02122/0.02122, allocations: 4.8 MB / 481.4 MB, free: 4.387 MB / 394.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.162e-06/1.162e-06, allocations: 0 / 0.6456 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.436e-05, allocations: 2.281 kB / 0.6456 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.002184/0.002198, allocations: 3.18 MB / 0.6488 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.004019, allocations: 1.838 MB / 0.6505 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.004204, allocations: 0 / 0.6505 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.004834, allocations: 0.6314 MB / 0.6512 GB, free: 102 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.005173, allocations: 303.2 kB / 0.6515 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.005715, allocations: 377 kB / 0.6518 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.006118, allocations: 0.8211 MB / 0.6526 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.00649, allocations: 356.8 kB / 0.653 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.006791, allocations: 447.3 kB / 0.6534 GB, free: 99.72 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.006995, allocations: 295.6 kB / 0.6537 GB, free: 99.43 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.614e-05/0.007061, allocations: 64 kB / 0.6537 GB, free: 99.37 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.007349, allocations: 300.2 kB / 0.654 GB, free: 99.08 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.007412, allocations: 164 kB / 0.6542 GB, free: 98.92 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.007538, allocations: 235.3 kB / 0.6544 GB, free: 98.69 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.008048, allocations: 0.8876 MB / 0.6553 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.00805, allocations: 0 / 0.6553 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.92e-07/0.008051, allocations: 0 / 0.6553 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.008061, allocations: 0 / 0.6553 GB, free: 97.8 MB / 0.5105 GB 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.001062/0.009123, allocations: 1.093 MB / 0.6563 GB, free: 96.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.009153, allocations: 12.03 kB / 0.6563 GB, free: 96.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.0095, allocations: 120.4 kB / 0.6565 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.009898, allocations: 433.6 kB / 0.6569 GB, free: 96.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.009918, allocations: 29.38 kB / 0.6569 GB, free: 96.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.009966, allocations: 44.27 kB / 0.6569 GB, free: 96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.01037, allocations: 0.6847 MB / 0.6576 GB, free: 95.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01038, allocations: 192 / 0.6576 GB, free: 95.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.01041, allocations: 16.38 kB / 0.6576 GB, free: 95.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.01041, allocations: 11.94 kB / 0.6576 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.01071, allocations: 287.8 kB / 0.6579 GB, free: 94.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01188, allocations: 1.189 MB / 0.6591 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.01228, allocations: 348.8 kB / 0.6594 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.01246, allocations: 160.8 kB / 0.6596 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.01248, allocations: 4 kB / 0.6596 GB, free: 93.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.01249, allocations: 42.56 kB / 0.6596 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.0125, allocations: 0 / 0.6596 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.001222/0.01372, allocations: 1.088 MB / 0.6607 GB, free: 91.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.01376, allocations: 328.4 kB / 0.661 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.01414, allocations: 0.5771 MB / 0.6615 GB, free: 91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.01416, allocations: 41.69 kB / 0.6616 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.01425, allocations: 280.9 kB / 0.6618 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.0143, allocations: 158.6 kB / 0.662 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.01437, allocations: 90.17 kB / 0.6621 GB, free: 90.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.577e-05/0.01441, allocations: 370.8 kB / 0.6624 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.01454, allocations: 117 kB / 0.6625 GB, free: 89.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.01473, allocations: 497.6 kB / 0.663 GB, free: 89.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.01624, allocations: 0.8278 MB / 0.6638 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01624, allocations: 7.938 kB / 0.6638 GB, free: 88.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004904/0.01673, allocations: 497.9 kB / 0.6643 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.01674, allocations: 7.938 kB / 0.6643 GB, free: 88.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.01674, allocations: 96 / 0.6643 GB, free: 88.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.01721, allocations: 232.6 kB / 0.6645 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01735, allocations: 63.91 kB / 0.6646 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004046/0.01775, allocations: 0.7849 MB / 0.6654 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.01793, allocations: 19.94 kB / 0.6654 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.01795, allocations: 16.05 kB / 0.6654 GB, free: 86.87 MB / 0.5105 GB 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.0001408/0.01809, allocations: 178.4 kB / 0.6656 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.01814, allocations: 63.62 kB / 0.6656 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.01867, allocations: 0.5082 MB / 0.6661 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01867, allocations: 4 kB / 0.6661 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01868, allocations: 4 kB / 0.6661 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.01868, allocations: 0 / 0.6661 GB, free: 86.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/0.01962, allocations: 0.9945 MB / 0.6671 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01962, allocations: 3.938 kB / 0.6671 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.01991, allocations: 135.8 kB / 0.6672 GB, free: 84.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/0.02009, allocations: 84.81 kB / 0.6673 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.0201, allocations: 11.98 kB / 0.6673 GB, free: 84.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.02139, allocations: 4.241 MB / 0.6715 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.02139, allocations: 7.875 kB / 0.6715 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.02209, allocations: 0.764 MB / 0.6722 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.02216, allocations: 75.59 kB / 0.6723 GB, free: 79.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.0222, allocations: 15.98 kB / 0.6723 GB, free: 79.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.02239, allocations: 16 kB / 0.6723 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.02242, allocations: 36.42 kB / 0.6724 GB, free: 79.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.02244, allocations: 16 kB / 0.6724 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002738/0.02271, allocations: 426.8 kB / 0.6728 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.02271, allocations: 0 / 0.6728 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003489/0.02306, allocations: 191.7 kB / 0.673 GB, free: 78.72 MB / 0.5105 GB 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.0002103/0.02327, allocations: 171.1 kB / 0.6731 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005055/0.02377, allocations: 372.8 kB / 0.6735 GB, free: 78.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.02378, allocations: 0 / 0.6735 GB, free: 78.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.0242, allocations: 369.7 kB / 0.6738 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.0246, allocations: 156.9 kB / 0.674 GB, free: 77.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009164/0.02551, allocations: 1.164 MB / 0.6751 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.02562, allocations: 276.2 kB / 0.6754 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/0.02572, allocations: 56.48 kB / 0.6754 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.02572, allocations: 0 / 0.6754 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.007302/0.03302, allocations: 13.19 MB / 0.6883 GB, free: 62.97 MB / 0.5105 GB " [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 > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.376712272875011]