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.001041/0.001041, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.053/1.053, allocations: 177.2 MB / 200 MB, free: 5.539 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.001492/0.001492, allocations: 156.6 kB / 256.6 MB, free: 12.97 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.2985/0.2985, allocations: 80.24 MB / 393.4 MB, free: 2.156 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.02253/0.02253, allocations: 4.804 MB / 481.5 MB, free: 4.148 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.853e-06/1.853e-06, allocations: 0 / 0.5674 GB, free: 460 kB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.757e-05, allocations: 6.25 kB / 0.5674 GB, free: 452 kB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.003843/0.003881, allocations: 3.437 MB / 0.5708 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.007089, allocations: 1.914 MB / 0.5726 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.007423, allocations: 7.938 kB / 0.5726 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.008504, allocations: 0.6645 MB / 0.5733 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.009071, allocations: 301.8 kB / 0.5736 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.0102, allocations: 382.8 kB / 0.5739 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008046/0.011, allocations: 0.8127 MB / 0.5747 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005424/0.01154, allocations: 353.1 kB / 0.5751 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.01203, allocations: 454.8 kB / 0.5755 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.01234, allocations: 287.1 kB / 0.5758 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.01242, allocations: 64 kB / 0.5758 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.0129, allocations: 311.4 kB / 0.5761 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.013, allocations: 155.3 kB / 0.5763 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.01319, allocations: 239.3 kB / 0.5765 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.01402, allocations: 0.7124 MB / 0.5772 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.01402, allocations: 4 kB / 0.5772 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01403, allocations: 0 / 0.5772 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.01404, allocations: 0 / 0.5772 GB, free: 6.336 MB / 0.4948 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.001649/0.01569, allocations: 1.202 MB / 0.5784 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.01575, allocations: 12.03 kB / 0.5784 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.01629, allocations: 140.4 kB / 0.5785 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.0169, allocations: 445 kB / 0.579 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.01693, allocations: 29.38 kB / 0.579 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.017, allocations: 40.38 kB / 0.579 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.01783, allocations: 0.6386 MB / 0.5796 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.01785, allocations: 4.172 kB / 0.5796 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.01789, allocations: 16.38 kB / 0.5797 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.01791, allocations: 11.94 kB / 0.5797 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.01818, allocations: 161.8 kB / 0.5798 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.0201, allocations: 1.268 MB / 0.5811 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.02062, allocations: 249.1 kB / 0.5813 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.02086, allocations: 115.6 kB / 0.5814 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.02089, allocations: 12 kB / 0.5814 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.02093, allocations: 41.39 kB / 0.5815 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 3.527e-06/0.02093, allocations: 0 / 0.5815 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.001754/0.02269, allocations: 0.8798 MB / 0.5823 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.02283, allocations: 324.4 kB / 0.5826 GB, free: 388 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.02345, allocations: 0.569 MB / 0.5832 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.02349, allocations: 37.7 kB / 0.5832 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.02371, allocations: 331.6 kB / 0.5835 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.02382, allocations: 170.5 kB / 0.5837 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.02395, allocations: 95.77 kB / 0.5838 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.02413, allocations: 0.5391 MB / 0.5843 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.02428, allocations: 72.94 kB / 0.5844 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.02459, allocations: 466.4 kB / 0.5848 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.02525, allocations: 359.2 kB / 0.5852 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.02525, allocations: 0 / 0.5852 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007135/0.02597, allocations: 389 kB / 0.5856 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.02599, allocations: 13.97 kB / 0.5856 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.026, allocations: 4.062 kB / 0.5856 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008366/0.02684, allocations: 191.4 kB / 0.5857 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.02705, allocations: 79.88 kB / 0.5858 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.0282, allocations: 0.9585 MB / 0.5868 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.0285, allocations: 19.98 kB / 0.5868 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.02853, allocations: 16 kB / 0.5868 GB, free: 11.89 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.0002659/0.0288, allocations: 184.4 kB / 0.587 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.02892, allocations: 79.62 kB / 0.587 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007866/0.0297, allocations: 415.3 kB / 0.5874 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.02971, allocations: 4 kB / 0.5874 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.02972, allocations: 0 / 0.5874 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.02972, allocations: 3.984 kB / 0.5875 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.03115, allocations: 0.9422 MB / 0.5884 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.03115, allocations: 3.938 kB / 0.5884 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.03157, allocations: 136 kB / 0.5885 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/0.03194, allocations: 103.5 kB / 0.5886 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.03197, allocations: 11.98 kB / 0.5886 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003587/0.03555, allocations: 5.796 MB / 0.5943 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.03556, allocations: 3.938 kB / 0.5943 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/0.03653, allocations: 0.6464 MB / 0.5949 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.03667, allocations: 71.53 kB / 0.595 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.03673, allocations: 16 kB / 0.595 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.037, allocations: 16 kB / 0.595 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.03707, allocations: 36.42 kB / 0.595 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.03709, allocations: 16 kB / 0.5951 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004218/0.03751, allocations: 410.7 kB / 0.5955 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.03751, allocations: 4.031 kB / 0.5955 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006733/0.03819, allocations: 183.8 kB / 0.5956 GB, free: 2.375 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.0003757/0.03856, allocations: 166.3 kB / 0.5958 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.0393, allocations: 299.6 kB / 0.5961 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.03931, allocations: 4.062 kB / 0.5961 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.03994, allocations: 397.6 kB / 0.5965 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006796/0.04062, allocations: 174.5 kB / 0.5966 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.04264, allocations: 1.141 MB / 0.5977 GB, free: 136 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1794/0.222, allocations: 138.1 kB / 0.5979 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004845/0.2225, allocations: 86.86 kB / 0.598 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.2227, allocations: 63.78 kB / 0.598 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.434e-06/0.2227, allocations: 0 / 0.598 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.01939/0.242, allocations: 12.01 MB / 0.6097 GB, free: 165.3 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.BranchingPipes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.396165467333049]