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.002475/0.002475, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.599/1.599, allocations: 177.1 MB / 199.4 MB, free: 5.961 MB / 186.7 MB " [Timeout remaining time 178] 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.002929/0.002929, allocations: 156.7 kB / 256 MB, free: 13.36 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.4714/0.4714, allocations: 80.25 MB / 392.6 MB, free: 2.43 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.03855/0.03855, allocations: 4.785 MB / 480.6 MB, free: 4.453 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 2.023e-06/2.023e-06, allocations: 0 / 0.6457 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.509e-05, allocations: 2.938 kB / 0.6457 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.BranchingPipes): time 0.00398/0.004016, allocations: 3.193 MB / 0.6488 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002863/0.006879, allocations: 1.837 MB / 0.6506 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.007164, allocations: 7.938 kB / 0.6506 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.008228, allocations: 0.6196 MB / 0.6512 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000599/0.008827, allocations: 309.1 kB / 0.6515 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.009716, allocations: 372.6 kB / 0.6518 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005919/0.01031, allocations: 0.8202 MB / 0.6526 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.01078, allocations: 352.8 kB / 0.653 GB, free: 99.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004311/0.01121, allocations: 450.7 kB / 0.6534 GB, free: 99.32 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.01153, allocations: 291.1 kB / 0.6537 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-05/0.01162, allocations: 64 kB / 0.6537 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.01205, allocations: 311.4 kB / 0.654 GB, free: 98.67 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.01214, allocations: 155.3 kB / 0.6542 GB, free: 98.52 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.01233, allocations: 243.2 kB / 0.6544 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000717/0.01305, allocations: 0.8763 MB / 0.6553 GB, free: 97.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.01305, allocations: 0 / 0.6553 GB, free: 97.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/0.01305, allocations: 0 / 0.6553 GB, free: 97.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.01306, allocations: 0 / 0.6553 GB, free: 97.4 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.001714/0.01478, allocations: 1.091 MB / 0.6563 GB, free: 96.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.01481, allocations: 8.031 kB / 0.6563 GB, free: 96.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.01544, allocations: 124.4 kB / 0.6565 GB, free: 96.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.01598, allocations: 433.6 kB / 0.6569 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.01601, allocations: 29.38 kB / 0.6569 GB, free: 95.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.01607, allocations: 40.33 kB / 0.6569 GB, free: 95.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.01666, allocations: 0.6808 MB / 0.6576 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.01668, allocations: 192 / 0.6576 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.01671, allocations: 16.38 kB / 0.6576 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.01672, allocations: 11.94 kB / 0.6576 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.01712, allocations: 283.8 kB / 0.6579 GB, free: 94.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.01882, allocations: 1.201 MB / 0.6591 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.01936, allocations: 343.5 kB / 0.6594 GB, free: 92.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.01963, allocations: 160.8 kB / 0.6596 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.01966, allocations: 4 kB / 0.6596 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.01969, allocations: 50.48 kB / 0.6596 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=44): time 1.322e-06/0.01969, allocations: 0 / 0.6596 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.001827/0.02152, allocations: 1.099 MB / 0.6607 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.02161, allocations: 320.4 kB / 0.661 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.02216, allocations: 0.5771 MB / 0.6616 GB, free: 90.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.02219, allocations: 33.7 kB / 0.6616 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.02234, allocations: 280.9 kB / 0.6619 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.02241, allocations: 166.6 kB / 0.662 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.02252, allocations: 86.17 kB / 0.6621 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.02262, allocations: 374.8 kB / 0.6625 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.0228, allocations: 120.9 kB / 0.6626 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.0231, allocations: 497.6 kB / 0.663 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.02588, allocations: 0.8239 MB / 0.6638 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02588, allocations: 0 / 0.6638 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008785/0.02676, allocations: 497.9 kB / 0.6643 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.02678, allocations: 8.031 kB / 0.6643 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.0268, allocations: 12 kB / 0.6643 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000932/0.02773, allocations: 220.6 kB / 0.6646 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.02797, allocations: 71.89 kB / 0.6646 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006263/0.0286, allocations: 0.7818 MB / 0.6654 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.02905, allocations: 15.98 kB / 0.6654 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.02908, allocations: 20 kB / 0.6654 GB, free: 86.47 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.000257/0.02933, allocations: 174.4 kB / 0.6656 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.02942, allocations: 67.58 kB / 0.6656 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.03028, allocations: 0.5082 MB / 0.6661 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.03029, allocations: 8 kB / 0.6662 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.03029, allocations: 0 / 0.6662 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.0303, allocations: 3.984 kB / 0.6662 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.03176, allocations: 0.9945 MB / 0.6671 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.03176, allocations: 3.938 kB / 0.6671 GB, free: 84.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.03233, allocations: 132 kB / 0.6673 GB, free: 84.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/0.03267, allocations: 80.77 kB / 0.6673 GB, free: 84.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.03269, allocations: 8 kB / 0.6673 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.03494, allocations: 4.253 MB / 0.6715 GB, free: 79.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.03494, allocations: 3.938 kB / 0.6715 GB, free: 79.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.03595, allocations: 0.7677 MB / 0.6722 GB, free: 79.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.03608, allocations: 75.62 kB / 0.6723 GB, free: 79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.03615, allocations: 16.05 kB / 0.6723 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.03653, allocations: 12.19 kB / 0.6723 GB, free: 78.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.03659, allocations: 48.41 kB / 0.6724 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.03661, allocations: 20 kB / 0.6724 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004095/0.03702, allocations: 434.8 kB / 0.6728 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.03702, allocations: 0 / 0.6728 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005627/0.03758, allocations: 183.8 kB / 0.673 GB, free: 78.3 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.0003336/0.03792, allocations: 169.9 kB / 0.6732 GB, free: 78.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008008/0.03872, allocations: 372.7 kB / 0.6735 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.03872, allocations: 4 kB / 0.6735 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.03946, allocations: 365.7 kB / 0.6739 GB, free: 77.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/0.04011, allocations: 156.2 kB / 0.674 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.04141, allocations: 1.159 MB / 0.6752 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.04157, allocations: 288.8 kB / 0.6754 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.04185, allocations: 84.89 kB / 0.6755 GB, free: 75.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.042, allocations: 56.47 kB / 0.6756 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.042, allocations: 4 kB / 0.6756 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.01524/0.05724, allocations: 11.9 MB / 0.6872 GB, free: 63.95 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: 6.985871959943324]