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.0008828/0.0008828, allocations: 92.22 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 0.9342/0.9342, allocations: 177.1 MB / 200 MB, free: 5.848 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.001271/0.001271, allocations: 160.7 kB / 256.6 MB, free: 13.14 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.2987/0.2987, allocations: 80.23 MB / 393.4 MB, free: 3.227 MB / 362.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.03744/0.03744, allocations: 4.803 MB / 481.5 MB, free: 71.79 MB / 410.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.014e-06/2.014e-06, allocations: 0 / 0.5674 GB, free: 4.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.583e-05, allocations: 5.828 kB / 0.5674 GB, free: 4.137 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.003596/0.003622, allocations: 3.437 MB / 0.5707 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.006169, allocations: 1.929 MB / 0.5726 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.006338, allocations: 4 kB / 0.5726 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008795/0.007217, allocations: 0.6645 MB / 0.5733 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.007604, allocations: 301.8 kB / 0.5736 GB, free: 13.76 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.008241, allocations: 367 kB / 0.5739 GB, free: 13.4 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005764/0.008817, allocations: 0.8319 MB / 0.5747 GB, free: 12.57 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.009316, allocations: 348.8 kB / 0.5751 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.009754, allocations: 462.7 kB / 0.5755 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.01004, allocations: 287.1 kB / 0.5758 GB, free: 11.48 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.399e-05/0.01011, allocations: 68 kB / 0.5758 GB, free: 11.42 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.01047, allocations: 303.5 kB / 0.5761 GB, free: 11.12 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.955e-05/0.01057, allocations: 159.2 kB / 0.5763 GB, free: 10.96 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.01074, allocations: 239.2 kB / 0.5765 GB, free: 10.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.01133, allocations: 0.7046 MB / 0.5772 GB, free: 10.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.01134, allocations: 7.984 kB / 0.5772 GB, free: 10.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.01134, allocations: 0 / 0.5772 GB, free: 10.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.01135, allocations: 0 / 0.5772 GB, free: 10.02 MB / 458.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.001284/0.01263, allocations: 1.195 MB / 0.5784 GB, free: 8.758 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.01267, allocations: 12.03 kB / 0.5784 GB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.01308, allocations: 140.4 kB / 0.5785 GB, free: 8.609 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.01354, allocations: 445 kB / 0.5789 GB, free: 8.145 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.01357, allocations: 29.38 kB / 0.579 GB, free: 8.113 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.01362, allocations: 44.38 kB / 0.579 GB, free: 8.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.01409, allocations: 0.6346 MB / 0.5796 GB, free: 7.312 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.0141, allocations: 192 / 0.5796 GB, free: 7.312 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.01414, allocations: 16.38 kB / 0.5796 GB, free: 7.297 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.01415, allocations: 11.94 kB / 0.5797 GB, free: 7.285 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.0144, allocations: 173.8 kB / 0.5798 GB, free: 7.117 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.01574, allocations: 1.264 MB / 0.5811 GB, free: 5.809 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.01613, allocations: 254.7 kB / 0.5813 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.01631, allocations: 123.6 kB / 0.5814 GB, free: 5.426 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.01633, allocations: 15.92 kB / 0.5814 GB, free: 5.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.01636, allocations: 41.39 kB / 0.5815 GB, free: 5.359 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 1.804e-06/0.01636, allocations: 0 / 0.5815 GB, free: 5.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.001331/0.01769, allocations: 0.8798 MB / 0.5823 GB, free: 4.438 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.01779, allocations: 320.4 kB / 0.5826 GB, free: 4.051 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.01823, allocations: 0.5728 MB / 0.5832 GB, free: 3.461 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.01825, allocations: 37.7 kB / 0.5832 GB, free: 3.418 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.01841, allocations: 331.6 kB / 0.5835 GB, free: 3.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/0.01849, allocations: 162.6 kB / 0.5837 GB, free: 2.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.01858, allocations: 95.8 kB / 0.5838 GB, free: 2.828 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.01872, allocations: 0.543 MB / 0.5843 GB, free: 2.273 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.01883, allocations: 64.95 kB / 0.5844 GB, free: 2.211 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.01908, allocations: 470.3 kB / 0.5848 GB, free: 1.633 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/0.01955, allocations: 355.2 kB / 0.5852 GB, free: 1.277 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01956, allocations: 3.938 kB / 0.5852 GB, free: 1.273 MB / 458.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004873/0.02004, allocations: 388.8 kB / 0.5855 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.02007, allocations: 14.28 kB / 0.5856 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.02007, allocations: 0 / 0.5856 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.02062, allocations: 195.5 kB / 0.5857 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.02076, allocations: 67.91 kB / 0.5858 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005303/0.02129, allocations: 0.9668 MB / 0.5868 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.02146, allocations: 12 kB / 0.5868 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.02148, allocations: 20.02 kB / 0.5868 GB, free: 15.58 MB / 474.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.0001475/0.02162, allocations: 188.5 kB / 0.587 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/0.0217, allocations: 75.62 kB / 0.587 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/0.02222, allocations: 415.2 kB / 0.5874 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.02223, allocations: 8 kB / 0.5874 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.02224, allocations: 4 kB / 0.5874 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.02224, allocations: 0 / 0.5874 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.02323, allocations: 0.9344 MB / 0.5884 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02324, allocations: 7.875 kB / 0.5884 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.02355, allocations: 131.9 kB / 0.5885 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/0.02381, allocations: 99.61 kB / 0.5886 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.02383, allocations: 20 kB / 0.5886 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.02615, allocations: 5.8 MB / 0.5943 GB, free: 7.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.02616, allocations: 7.875 kB / 0.5943 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.02682, allocations: 0.6386 MB / 0.5949 GB, free: 6.797 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.0269, allocations: 71.55 kB / 0.595 GB, free: 6.727 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.02695, allocations: 20.06 kB / 0.595 GB, free: 6.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.02714, allocations: 19.98 kB / 0.595 GB, free: 6.688 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.02719, allocations: 36.38 kB / 0.595 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.02721, allocations: 15.98 kB / 0.5951 GB, free: 6.637 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003001/0.02751, allocations: 406.7 kB / 0.5954 GB, free: 6.242 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02751, allocations: 0 / 0.5954 GB, free: 6.242 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.0279, allocations: 183.8 kB / 0.5956 GB, free: 6.062 MB / 474.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.0002851/0.02818, allocations: 170.4 kB / 0.5958 GB, free: 5.887 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005353/0.02872, allocations: 299.6 kB / 0.5961 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02872, allocations: 0 / 0.5961 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.0292, allocations: 405.8 kB / 0.5965 GB, free: 5.176 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.02964, allocations: 164 kB / 0.5966 GB, free: 5.016 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.03114, allocations: 1.168 MB / 0.5978 GB, free: 3.797 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.307e-05/0.03122, allocations: 138.1 kB / 0.5979 GB, free: 3.637 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.03142, allocations: 80.91 kB / 0.598 GB, free: 3.559 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.03155, allocations: 68.47 kB / 0.598 GB, free: 3.492 MB / 474.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03155, allocations: 0 / 0.598 GB, free: 3.492 MB / 474.7 MB Notification: Performance of Templates: time 0.01445/0.046, allocations: 12.82 MB / 0.6105 GB, free: 6.895 MB / 490.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: 4.071056673768908]